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