]> git.pld-linux.org Git - packages/freshmeat-submit.git/blob - freshmeat-submit.spec
6499d357bd9e4b15682817ae7f98c77d4fe08212
[packages/freshmeat-submit.git] / freshmeat-submit.spec
1 %include        /usr/lib/rpm/macros.python
2 Summary:        Submit release information to freshmeat.net
3 Name:           freshmeat-submit
4 Version:        1.4
5 Release:        0.1
6 License:        GPL
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
11 Requires:       python
12 URL:            http://www.catb.org/~esr/freshmeat-submit/
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
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.
21
22 %prep
23 %setup -q
24
25 %install
26 rm -rf $RPM_BUILD_ROOT
27 rm -rf "$RPM_BUILD_ROOT"
28 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
29
30 install freshmeat-submit $RPM_BUILD_ROOT%{_bindir}
31 install freshmeat-submit.1 $RPM_BUILD_ROOT%{_mandir}/man1
32
33 %clean
34 rm -rf $RPM_BUILD_ROOT
35
36 %files
37 %defattr(644,root,root,755)
38 %attr(755,root,root) %{_bindir}/*
39 %{_mandir}/man1/*.1*
This page took 0.212038 seconds and 2 git commands to generate.