packages: fpaste/fpaste.spec (NEW)=?UTF-8?Q?=20?=- new; from fedora
glen
glen at pld-linux.org
Sun Feb 26 20:48:22 CET 2012
Author: glen Date: Sun Feb 26 19:48:22 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- new; from fedora
---- Files affected:
packages/fpaste:
fpaste.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/fpaste/fpaste.spec
diff -u /dev/null packages/fpaste/fpaste.spec:1.1
--- /dev/null Sun Feb 26 20:48:22 2012
+++ packages/fpaste/fpaste.spec Sun Feb 26 20:48:17 2012
@@ -0,0 +1,51 @@
+# $Revision$, $Date$
+Summary: A simple tool for pasting info onto fpaste.org
+Name: fpaste
+Version: 0.3.7.1
+Release: 1
+License: GPL v3+
+Group: Applications/Networking
+URL: https://fedorahosted.org/fpaste/
+Source0: https://fedorahosted.org/released/fpaste/%{name}-%{version}.tar.bz2
+# Source0-md5: 53201ed0fdd1b9f325c43178adcd8878
+BuildRequires: sed >= 4.0
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+It is often useful to be able to easily paste text to the Fedora
+Pastebin at <http://fpaste.org> and this simple script will do that
+and return the resulting URL so that people may examine the output.
+This can hopefully help folks who are for some reason stuck without X,
+working remotely, or any other reason they may be unable to paste
+something into the pastebin
+
+%prep
+%setup -q
+
+%{__sed} -i -e '1s,^#!.*python,#!%{__python},' %{name}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+%{__make} install \
+ BINDIR=$RPM_BUILD_ROOT%{_bindir} \
+ MANDIR=$RPM_BUILD_ROOT%{_mandir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG README TODO
+%attr(755,root,root) %{_bindir}/%{name}
+%{_mandir}/man1/%{name}.1*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2012/02/26 19:48:17 glen
+- new; from fedora
================================================================
More information about the pld-cvs-commit
mailing list