Summary: Scripts for managing .spec files and building RPM packages Summary(de.UTF-8): Scripts fürs Bauen binärer RPM-Pakete Summary(pl.UTF-8): Skrypty pomocnicze do zarządznia plikami .spec i budowania RPM-ów Summary(pt_BR.UTF-8): Scripts e programas executáveis usados para construir pacotes Summary(ru.UTF-8): Скрипты и утилиты, необходимые для сборки пакетов Summary(uk.UTF-8): Скрипти та утиліти, необхідні для побудови пакетів Name: rpm-build-tools Version: 4.10 Release: 2 License: GPL Group: Applications/File Source0: builder.sh Source1: shrc.sh Source2: bash-prompt.sh Source3: dropin Source4: relup.sh Source5: sort-pkgs Source6: check-shebang.py Source7: rediff-patches.py BuildRequires: sed >= 4.0 Requires: gawk >= 3.1.7 Requires: git-core >= 1.7 Requires: grep Requires: less Requires: openssh-clients Requires: perl-base Requires: python3 Requires: python3 Requires: python3-modules Requires: python3-rpm Requires: rpm-build Requires: rpmbuild(macros) >= 1.651 Requires: sed >= 4.0 Requires: time Requires: util-linux Requires: wget Suggests: adapter Suggests: pldnotify Suggests: rpm-specdump >= 0.3 Suggests: schedtool Suggests: vim-syntax-spec Conflicts: mktemp < 1.6 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _libdir %{_prefix}/lib %description Scripts for managing .spec files and building RPM packages. %description -l de.UTF-8 Scripts fürs Bauen RPM-Pakete. %description -l pl.UTF-8 Skrypty pomocnicze do zarządzania plikami .spec i do budowania RPM-ów. %description -l pt_BR.UTF-8 Este pacote contém scripts e programas executáveis que são usados para construir pacotes usando o RPM. %description -l ru.UTF-8 Различные вспомогательные скрипты и исполняемые программы, которые используются для сборки RPM'ов. %description -l uk.UTF-8 Різноманітні допоміжні скрипти та утиліти, які використовуються для побудови RPM'ів. %prep %setup -qcT cp -p %{SOURCE0} . %{__sed} -i -e '/^VERSION=/s,\([^/]\+\)/.*",\1-RELEASE",' builder.sh %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},/etc/shrc.d} install -p builder.sh $RPM_BUILD_ROOT%{_bindir}/builder install -p %{SOURCE3} $RPM_BUILD_ROOT%{_bindir} install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/shrc.d/rpm-build.sh install -p %{SOURCE2} $RPM_BUILD_ROOT%{_libdir}/bash-prompt.sh install -p %{SOURCE4} $RPM_BUILD_ROOT%{_bindir}/relup install -p %{SOURCE5} $RPM_BUILD_ROOT%{_bindir}/sort-pkgs install -p %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/check-shebang install -p %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/rediff-patches %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/builder %attr(755,root,root) %{_bindir}/check-shebang %attr(755,root,root) %{_bindir}/dropin %attr(755,root,root) %{_bindir}/rediff-patches %attr(755,root,root) %{_bindir}/relup %attr(755,root,root) %{_bindir}/sort-pkgs %config(noreplace) %verify(not md5 mtime size) /etc/shrc.d/rpm-build.sh %{_libdir}/bash-prompt.sh