Summary(pt_BR): Gerenciador de pacotes RPM
Name: rpm
Version: 4.0.2
-Release: 63
+Release: 72
License: GPL
Group: Base
Source0: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/%{name}-%{version}.tar.gz
Source12: %{name}-non-english-man-pages.tar.bz2
Source13: %{name}-macros.python
Source14: %{name}-groups-po.awk
+Source15: %{name}-compress-doc
Patch0: %{name}-rpmrc.patch
Patch1: %{name}-macros.patch
Patch2: %{name}-arch.patch
Patch33: %{name}-perlprov-perl5.6.patch
Patch34: %{name}-ac25x.patch
Patch35: %{name}-signverify-fix.patch
+Patch36: %{name}-compress-doc.patch
Patch37: %{name}-short_circuit.patch
Patch38: %{name}-section_test.patch
URL: http://www.rpm.org/
BuildRequires: db1-devel >= 1.85
BuildRequires: db3-devel >= 3.1.17-9
BuildRequires: gettext-devel >= 0.10.38-3
-BuildRequires: python-devel >= 2.2
-BuildRequires: python-modules >= 2.2
+BuildRequires: libtool
+BuildRequires: patch >= 2.2
BuildRequires: python-devel >= 2.2.1
BuildRequires: python-modules >= 2.2.1
BuildRequires: zlib-devel >= 1.1.4
%patch32 -p1
%patch33 -p1
+%patch34 -p1
%patch35 -p1
%patch36 -p1
%patch37 -p1
awk -f %{SOURCE14} %{SOURCE1}
cd popt
-autoconf
-automake -a -c -f
+rm -f missing
+libtoolize --force --copy
aclocal
autoheader
-automake -a -c -f
+%{__autoconf}
%{__automake}
cd ..
rm -f missing
libtoolize --force --copy
-autoconf
+gettextize --copy --force
aclocal
autoupdate
autoheader || :
%{__autoconf}
-automake -a -c -f
+# ugly workaround for automake
sed -e 's#cpio.c $(DBLIBOBJS) depends.c#cpio.c depends.c#g' \
lib/Makefile.am > lib/Makefile.am.new
mv -f lib/Makefile.am.new lib/Makefile.am
install %{SOURCE1} doc/manual/groups
install %{SOURCE3} $RPM_BUILD_ROOT%{_libdir}/rpm/install-build-tree
+install %{SOURCE4} $RPM_BUILD_ROOT%{_libdir}/rpm/find-rpm-provides
install %{SOURCE8} $RPM_BUILD_ROOT%{_libdir}/rpm/find-spec-bcond
install %{SOURCE10} $RPM_BUILD_ROOT%{_libdir}/rpm/find-provides
install %{SOURCE11} $RPM_BUILD_ROOT%{_libdir}/rpm/find-requires
%dir /var/lib/rpm
%dir %{_libdir}/rpm
-%{_libdir}/rpm/macros.python
%doc %attr(755,root,root) %{_libdir}/rpm/convertrpmrc.sh
%{_libdir}/rpm/rpmrc
%attr(755,root,root) %{_libdir}/rpm/find-spec-bcond
%attr(755,root,root) %{_libdir}/rpm/find-lang.sh
%attr(755,root,root) %{_libdir}/rpm/mkinstalldirs
+%attr(755,root,root) %{_libdir}/rpm/config.*
%attr(755,root,root) %{_libdir}/rpm/getpo.sh
%attr(755,root,root) %{_libdir}/rpm/install-build-tree
%attr(755,root,root) %{_libdir}/rpm/brp-*