[packages/sprunge] - initial
    arekm 
    arekm at pld-linux.org
       
    Wed Sep 25 19:44:25 CEST 2013
    
    
  
commit b2c7e219da7fb96dc5d3dc900a1506b71fa70e41
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Sep 25 19:44:14 2013 +0200
    - initial
 sprunge.spec | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
---
diff --git a/sprunge.spec b/sprunge.spec
new file mode 100644
index 0000000..73ad815
--- /dev/null
+++ b/sprunge.spec
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sprunge.git/commitdiff/b2c7e219da7fb96dc5d3dc900a1506b71fa70e41
    
    
More information about the pld-cvs-commit
mailing list