]> git.pld-linux.org Git - packages/sprunge.git/commitdiff
- initial auto/th/sprunge-0.1-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 25 Sep 2013 17:44:14 +0000 (19:44 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 25 Sep 2013 17:44:14 +0000 (19:44 +0200)
sprunge.spec [new file with mode: 0644]

diff --git a/sprunge.spec b/sprunge.spec
new file mode 100644 (file)
index 0000000..73ad815
--- /dev/null
@@ -0,0 +1,33 @@
+Summary:       Command line Pastebin-like
+Name:          sprunge
+Version:       0.1
+Release:       1
+License:       GPL
+Group:         Applications
+URL:           http://sprunge.us/
+Requires:      curl
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+command line pastebin.
+
+%prep
+%setup -q -c -T
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+cat << 'EOF' > $RPM_BUILD_ROOT%{_bindir}/sprunge
+%{_bindir}/curl -F 'sprunge=<-' http://sprunge.us
+EOF
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/sprunge
This page took 0.081143 seconds and 4 git commands to generate.