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