]> git.pld-linux.org Git - packages/fedora-packager.git/blob - fedora-packager.spec
- pyfedpkg imports koji
[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.2
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 Requires:       koji
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 Set of utilities useful for a Fedora packager in setting up their
30 environment.
31
32 %package -n fedpkg
33 Summary:        Fedora utility for working with dist-git
34 Group:          Applications/Databases
35 Requires:       curl
36 Requires:       fedora-packager = %{version}-%{release}
37 Requires:       python-argparse
38 Requires:       python-git >= 0.2.0
39 Requires:       python-kitchen
40
41 %description -n fedpkg
42 Provides the fedpkg command for working with dist-git.
43
44 %prep
45 %setup -q
46
47 %build
48 %configure
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %py_postclean
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc TODO AUTHORS ChangeLog
64 %attr(755,root,root) %{_bindir}/*
65 %exclude %{_bindir}/fedpkg
66 %{py_sitescriptdir}/fedora_cert
67
68 %files -n fedpkg
69 %defattr(644,root,root,755)
70 %doc COPYING TODO AUTHORS ChangeLog
71 %attr(755,root,root) %{_bindir}/fedpkg
72 %{py_sitescriptdir}/pyfedpkg
This page took 0.07495 seconds and 3 git commands to generate.