]> git.pld-linux.org Git - packages/fedora-packager.git/blob - fedora-packager.spec
eeae393263cf89f709dd83711700a479c05a2ef6
[packages/fedora-packager.git] / fedora-packager.spec
1 Summary:        Tools for setting up a Fedora maintainer environment
2 Name:           fedora-packager
3 Version:        0.5.1.1
4 Release:        0.1
5 License:        GPL v2+
6 Group:          X11/Applications
7 URL:            https://fedorahosted.org/fedora-packager
8 Source0:        https://fedorahosted.org/releases/f/e/fedora-packager/%{name}-%{version}.tar.bz2
9 BuildRequires:  python-devel
10 BuildRequires:  rpmbuild(macros) >= 1.219
11 #Requires:      bodhi-client
12 Requires:       curl
13 #Requires:      koji
14 #Requires:      mock
15 Requires:       openssh-clients
16 Requires:       python-offtrac
17 Requires:       python-pyOpenSSL
18 Requires:       python-pycurl
19 #Requires:      redhat-rpm-config
20 Requires:       rpm-build
21 #Requires:      rpmdevtools
22 #Requires:      rpmlint
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Set of utilities useful for a Fedora packager in setting up their
28 environment.
29
30 %package -n fedpkg
31 Summary:        Fedora utility for working with dist-git
32 Group:          Applications/Databases
33 Requires:       curl
34 Requires:       fedora-packager = %{version}-%{release}
35 Requires:       python-argparse
36 Requires:       python-git >= 0.2.0
37 Requires:       python-kitchen
38
39 %description -n fedpkg
40 Provides the fedpkg command for working with dist-git.
41
42 %prep
43 %setup -q
44
45 %build
46 %configure
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %py_postclean
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc TODO AUTHORS ChangeLog
62 %attr(755,root,root) %{_bindir}/*
63 %exclude %{_bindir}/fedpkg
64 %{py_sitescriptdir}/fedora_cert
65
66 %files -n fedpkg
67 %defattr(644,root,root,755)
68 %doc COPYING TODO AUTHORS ChangeLog
69 %attr(755,root,root) %{_bindir}/fedpkg
70 %{py_sitescriptdir}/pyfedpkg
This page took 0.048193 seconds and 2 git commands to generate.