]> git.pld-linux.org Git - packages/fedora-packager.git/blob - fedora-packager.spec
- 0.5.1.4, add bash-completion
[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.4
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:  33f5944d3468413058b035dedac4588f
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 %package -n bash-completion-fedpkg
45 Summary:        bash-completion for fedpkg
46 Summary(pl.UTF-8):      bashowe uzupełnianie nazw dla fedpkg
47 Group:          Applications/Shells
48 Requires:       fedpkg = %{version}-%{release}
49 Requires:       bash-completion
50
51 %description -n bash-completion-fedpkg
52 bash-completion for fedpkg.
53
54 %description -n bash-completion-fedpkg -l pl.UTF-8
55 bashowe uzupełnianie nazw dla fedpkg.
56
57 %prep
58 %setup -q
59
60 %build
61 %configure
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 %py_postclean
70
71 mv $RPM_BUILD_ROOT/etc/bash_completion.d/fedpkg{.bash,}
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755)
78 %doc TODO AUTHORS ChangeLog
79 %attr(755,root,root) %{_bindir}/*
80 %exclude %{_bindir}/fedpkg
81 %{py_sitescriptdir}/fedora_cert
82
83 %files -n fedpkg
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_bindir}/fedpkg
86 %{py_sitescriptdir}/pyfedpkg
87
88 %files -n bash-completion-fedpkg
89 %defattr(644,root,root,755)
90 /etc/bash_completion.d/*
This page took 0.046078 seconds and 4 git commands to generate.