]> git.pld-linux.org Git - packages/fpaste.git/blob - fpaste.spec
- new; from fedora
[packages/fpaste.git] / fpaste.spec
1 Summary:        A simple tool for pasting info onto fpaste.org
2 Name:           fpaste
3 Version:        0.3.7.1
4 Release:        1
5 License:        GPL v3+
6 Group:          Applications/Networking
7 URL:            https://fedorahosted.org/fpaste/
8 Source0:        https://fedorahosted.org/released/fpaste/%{name}-%{version}.tar.bz2
9 # Source0-md5:  53201ed0fdd1b9f325c43178adcd8878
10 BuildRequires:  sed >= 4.0
11 BuildArch:      noarch
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 It is often useful to be able to easily paste text to the Fedora
16 Pastebin at <http://fpaste.org> and this simple script will do that
17 and return the resulting URL so that people may examine the output.
18 This can hopefully help folks who are for some reason stuck without X,
19 working remotely, or any other reason they may be unable to paste
20 something into the pastebin
21
22 %prep
23 %setup -q
24
25 %{__sed} -i -e '1s,^#!.*python,#!%{__python},' %{name}
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT%{_bindir}
30 %{__make} install \
31         BINDIR=$RPM_BUILD_ROOT%{_bindir} \
32         MANDIR=$RPM_BUILD_ROOT%{_mandir}
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %doc CHANGELOG README TODO
40 %attr(755,root,root) %{_bindir}/%{name}
41 %{_mandir}/man1/%{name}.1*
This page took 0.065047 seconds and 3 git commands to generate.