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