]>
Commit | Line | Data |
---|---|---|
5b67e087 ER |
1 | Summary: Tools for setting up a Fedora maintainer environment |
2 | Name: fedora-packager | |
460dedd0 | 3 | Version: 0.5.5.0 |
897bd78a | 4 | Release: 0.1 |
5b67e087 ER |
5 | License: GPL v2+ |
6 | Group: X11/Applications | |
7 | URL: https://fedorahosted.org/fedora-packager | |
460dedd0 ER |
8 | #Source0: https://fedorahosted.org/releases/f/e/fedora-packager/%{name}-%{version}.tar.bz2 |
9 | Source0: %{name}-%{version}.tar.bz2 | |
10 | # Source0-md5: e04d594924d3b960d4a4eb1367c203b8 | |
5b67e087 | 11 | BuildRequires: python-devel |
32c0c039 | 12 | BuildRequires: python-modules |
13 | BuildRequires: rpm-pythonprov | |
5b67e087 ER |
14 | BuildRequires: rpmbuild(macros) >= 1.219 |
15 | #Requires: bodhi-client | |
16 | Requires: curl | |
32c0c039 | 17 | Requires: koji |
5b67e087 ER |
18 | #Requires: mock |
19 | Requires: openssh-clients | |
20 | Requires: python-offtrac | |
21 | Requires: python-pyOpenSSL | |
22 | Requires: python-pycurl | |
23 | #Requires: redhat-rpm-config | |
24 | Requires: rpm-build | |
25 | #Requires: rpmdevtools | |
26 | #Requires: rpmlint | |
27 | BuildArch: noarch | |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
29 | ||
30 | %description | |
31 | Set of utilities useful for a Fedora packager in setting up their | |
32 | environment. | |
33 | ||
34 | %package -n fedpkg | |
35 | Summary: Fedora utility for working with dist-git | |
36 | Group: Applications/Databases | |
37 | Requires: curl | |
460dedd0 | 38 | Requires: git-core |
5b67e087 ER |
39 | Requires: python-argparse |
40 | Requires: python-git >= 0.2.0 | |
41 | Requires: python-kitchen | |
460dedd0 | 42 | Requires: rpm-build |
5b67e087 ER |
43 | |
44 | %description -n fedpkg | |
45 | Provides the fedpkg command for working with dist-git. | |
46 | ||
897bd78a ER |
47 | %package -n bash-completion-fedpkg |
48 | Summary: bash-completion for fedpkg | |
49 | Summary(pl.UTF-8): bashowe uzupełnianie nazw dla fedpkg | |
50 | Group: Applications/Shells | |
897bd78a | 51 | Requires: bash-completion |
32c0c039 | 52 | Requires: fedpkg = %{version}-%{release} |
897bd78a ER |
53 | |
54 | %description -n bash-completion-fedpkg | |
55 | bash-completion for fedpkg. | |
56 | ||
57 | %description -n bash-completion-fedpkg -l pl.UTF-8 | |
58 | bashowe uzupełnianie nazw dla fedpkg. | |
59 | ||
5b67e087 ER |
60 | %prep |
61 | %setup -q | |
62 | ||
63 | %build | |
64 | %configure | |
65 | %{__make} | |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | %{__make} install \ | |
70 | DESTDIR=$RPM_BUILD_ROOT | |
71 | ||
72 | %py_postclean | |
73 | ||
897bd78a ER |
74 | mv $RPM_BUILD_ROOT/etc/bash_completion.d/fedpkg{.bash,} |
75 | ||
5b67e087 ER |
76 | %clean |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %files | |
80 | %defattr(644,root,root,755) | |
81 | %doc TODO AUTHORS ChangeLog | |
82 | %attr(755,root,root) %{_bindir}/* | |
60352790 | 83 | %attr(755,root,root) %{_sbindir}/fedora-burn-yubikey |
5b67e087 | 84 | %exclude %{_bindir}/fedpkg |
d269086d | 85 | # R: fedora.client.fas2 |
5b67e087 ER |
86 | %{py_sitescriptdir}/fedora_cert |
87 | ||
88 | %files -n fedpkg | |
89 | %defattr(644,root,root,755) | |
5b67e087 | 90 | %attr(755,root,root) %{_bindir}/fedpkg |
460dedd0 | 91 | %{_mandir}/man1/fedpkg.1* |
5b67e087 | 92 | %{py_sitescriptdir}/pyfedpkg |
897bd78a ER |
93 | |
94 | %files -n bash-completion-fedpkg | |
95 | %defattr(644,root,root,755) | |
96 | /etc/bash_completion.d/* |