1 %include /usr/lib/rpm/macros.python
2 Summary: Submit release information to freshmeat.net
7 Group: Applications/System
8 Source0: http://www.catb.org/~esr/freshmeat-submit/%{name}-%{version}.tar.gz
9 # Source0-md5: ab45def4807f8ee8da9d877eb3175f90
10 BuildRequires: rpm-pythonprov
12 URL: http://www.catb.org/~esr/freshmeat-submit/
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 freshmeat-submit is a script that supports remote submission of
17 release updates to Freshmeat via its XML-RPC interface. It is intended
18 for use in project release scripts. It reads the metadata from an
19 RFC-2822-like message on standard input, possibly with overrides by
20 command-line switches.
26 rm -rf $RPM_BUILD_ROOT
27 rm -rf "$RPM_BUILD_ROOT"
28 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
30 install freshmeat-submit $RPM_BUILD_ROOT%{_bindir}
31 install freshmeat-submit.1 $RPM_BUILD_ROOT%{_mandir}/man1
34 rm -rf $RPM_BUILD_ROOT
37 %defattr(644,root,root,755)
38 %attr(755,root,root) %{_bindir}/*