]> git.pld-linux.org Git - packages/fedora-packager.git/blob - fedora-packager.spec
da8a50c140de14a03fd4bcb94da4c5c4d6258bd3
[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.5.0
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:        %{name}-%{version}.tar.bz2
10 # Source0-md5:  e04d594924d3b960d4a4eb1367c203b8
11 BuildRequires:  python-devel
12 BuildRequires:  python-modules
13 BuildRequires:  rpm-pythonprov
14 BuildRequires:  rpmbuild(macros) >= 1.219
15 #Requires:      bodhi-client
16 Requires:       curl
17 Requires:       koji
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
38 Requires:       git-core
39 Requires:       python-argparse
40 Requires:       python-git >= 0.2.0
41 Requires:       python-kitchen
42 Requires:       rpm-build
43
44 %description -n fedpkg
45 Provides the fedpkg command for working with dist-git.
46
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
51 Requires:       bash-completion
52 Requires:       fedpkg = %{version}-%{release}
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
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
74 mv $RPM_BUILD_ROOT/etc/bash_completion.d/fedpkg{.bash,}
75
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}/*
83 %attr(755,root,root) %{_sbindir}/fedora-burn-yubikey
84 %exclude %{_bindir}/fedpkg
85 # R: fedora.client.fas2
86 %{py_sitescriptdir}/fedora_cert
87
88 %files -n fedpkg
89 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_bindir}/fedpkg
91 %{_mandir}/man1/fedpkg.1*
92 %{py_sitescriptdir}/pyfedpkg
93
94 %files -n bash-completion-fedpkg
95 %defattr(644,root,root,755)
96 /etc/bash_completion.d/*
This page took 0.035269 seconds and 3 git commands to generate.