]> git.pld-linux.org Git - packages/fpaste.git/commitdiff
- new; from fedora master auto/th/fpaste-0_3_7_1-1
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 26 Feb 2012 19:48:17 +0000 (19:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fpaste.spec -> 1.1

fpaste.spec [new file with mode: 0644]

diff --git a/fpaste.spec b/fpaste.spec
new file mode 100644 (file)
index 0000000..e2ac208
--- /dev/null
@@ -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 <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*
This page took 0.038598 seconds and 4 git commands to generate.