From 29fb9f392bcdbbbe77ea38596a5fd4cf0c49afce Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 26 Feb 2012 19:48:17 +0000 Subject: [PATCH] - new; from fedora Changed files: fpaste.spec -> 1.1 --- fpaste.spec | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 fpaste.spec diff --git a/fpaste.spec b/fpaste.spec new file mode 100644 index 0000000..e2ac208 --- /dev/null +++ b/fpaste.spec @@ -0,0 +1,41 @@ +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 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* -- 2.44.0