- 4.10, package more tools
[packages/rpm-build-tools.git] / rpm-build-tools.spec
CommitLineData
99f0f11c
ER
1Summary: Scripts for managing .spec files and building RPM packages
2Summary(de.UTF-8): Scripts fürs Bauen binärer RPM-Pakete
3Summary(pl.UTF-8): Skrypty pomocnicze do zarządznia plikami .spec i budowania RPM-ów
4Summary(pt_BR.UTF-8): Scripts e programas executáveis usados para construir pacotes
5Summary(ru.UTF-8): Скрипты и утилиты, необходимые для сборки пакетов
6Summary(uk.UTF-8): Скрипти та утиліти, необхідні для побудови пакетів
99f0f11c 7Name: rpm-build-tools
1fd85958
JR
8Version: 4.10
9Release: 1
99f0f11c 10License: GPL
5d7e6e0f 11Group: Applications/File
42cf77ef 12Source0: builder.sh
e993db8c
JR
13Source1: shrc.sh
14Source2: bash-prompt.sh
15Source3: dropin
1fd85958
JR
16Source4: relup.sh
17Source5: sort-pkgs
18Source6: check-shebang.py
19Source7: rediff-patches.py
a3c330f5 20BuildRequires: sed >= 4.0
8344a2ee 21Requires: gawk >= 3.1.7
8bb9552a 22Requires: git-core >= 1.7
1b64f36f 23Requires: grep
c9371e59 24Requires: less
cdea1b16 25Requires: openssh-clients
1769dfce 26Requires: perl-base
1fd85958
JR
27Requires: python3
28Requires: python3
29Requires: python3-modules
30Requires: python3-rpm
5d7e6e0f 31Requires: rpm-build
ada86dc3 32Requires: rpmbuild(macros) >= 1.651
1c6d9711 33Requires: sed >= 4.0
1e555cc8 34Requires: time
407fbe93 35Requires: util-linux
99f0f11c 36Requires: wget
4ec6d58b 37Suggests: adapter
76f8930f 38Suggests: pldnotify
2baccdd4 39Suggests: rpm-specdump >= 0.3
1c6d9711 40Suggests: schedtool
4eef590b 41Suggests: vim-syntax-spec
a6be0480 42Conflicts: mktemp < 1.6
99f0f11c
ER
43BuildArch: noarch
44BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45
9bfc64c3
ER
46%define _libdir %{_prefix}/lib
47
99f0f11c
ER
48%description
49Scripts for managing .spec files and building RPM packages.
50
51%description -l de.UTF-8
52Scripts fürs Bauen RPM-Pakete.
53
54%description -l pl.UTF-8
55Skrypty pomocnicze do zarządzania plikami .spec i do budowania RPM-ów.
56
57%description -l pt_BR.UTF-8
58Este pacote contém scripts e programas executáveis que são usados para
59construir pacotes usando o RPM.
60
61%description -l ru.UTF-8
62Различные вспомогательные скрипты и исполняемые программы, которые
63используются для сборки RPM'ов.
64
65%description -l uk.UTF-8
66Різноманітні допоміжні скрипти та утиліти, які використовуються для
67побудови RPM'ів.
68
69%prep
70%setup -qcT
4ec6d58b 71cp -p %{SOURCE0} .
a3c330f5 72
4ec6d58b 73%{__sed} -i -e '/^VERSION=/s,\([^/]\+\)/.*",\1-RELEASE",' builder.sh
99f0f11c
ER
74
75%install
76rm -rf $RPM_BUILD_ROOT
12d950d2 77install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},/etc/shrc.d}
f0c7fe53 78install -p builder.sh $RPM_BUILD_ROOT%{_bindir}/builder
e993db8c
JR
79install -p %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}
80install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/shrc.d/rpm-build.sh
81install -p %{SOURCE2} $RPM_BUILD_ROOT%{_libdir}/bash-prompt.sh
99f0f11c 82
1fd85958
JR
83install -p %{SOURCE4} $RPM_BUILD_ROOT%{_bindir}/relup
84install -p %{SOURCE5} $RPM_BUILD_ROOT%{_bindir}/sort-pkgs
85install -p %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/check-shebang
86install -p %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/rediff-patches
87
99f0f11c
ER
88%clean
89rm -rf $RPM_BUILD_ROOT
90
91%files
92%defattr(644,root,root,755)
cdea1b16 93%attr(755,root,root) %{_bindir}/builder
1fd85958 94%attr(755,root,root) %{_bindir}/check-shebang
cdea1b16 95%attr(755,root,root) %{_bindir}/dropin
1fd85958
JR
96%attr(755,root,root) %{_bindir}/rediff-patches
97%attr(755,root,root) %{_bindir}/relup
98%attr(755,root,root) %{_bindir}/sort-pkgs
71e53097 99%config(noreplace) %verify(not md5 mtime size) /etc/shrc.d/rpm-build.sh
9d0d2184 100%{_libdir}/bash-prompt.sh
This page took 0.220816 seconds and 4 git commands to generate.