]> git.pld-linux.org Git - packages/sprunge.git/blame - sprunge.spec
generate shebang dep
[packages/sprunge.git] / sprunge.spec
CommitLineData
b2c7e219
AM
1Summary: Command line Pastebin-like
2Name: sprunge
3Version: 0.1
e39ec5d5 4Release: 3
b2c7e219 5License: GPL
e39ec5d5 6Group: Applications/Networking
b2c7e219
AM
7URL: http://sprunge.us/
8Requires: curl
9BuildArch: noarch
10BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12%description
13command line pastebin.
14
15%prep
16%setup -q -c -T
17
18%build
19
20%install
21rm -rf $RPM_BUILD_ROOT
22install -d $RPM_BUILD_ROOT%{_bindir}
23
e39ec5d5
ER
24cat << 'EOF' > $RPM_BUILD_ROOT%{_bindir}/%{name}
25#!/bin/sh
1431df48 26exec %{_bindir}/curl -F 'sprunge=<-' http://sprunge.us
b2c7e219 27EOF
e39ec5d5 28chmod +x $RPM_BUILD_ROOT%{_bindir}/*
b2c7e219
AM
29
30%clean
31rm -rf $RPM_BUILD_ROOT
32
33%files
34%defattr(644,root,root,755)
35%attr(755,root,root) %{_bindir}/sprunge
This page took 0.059102 seconds and 4 git commands to generate.