1 Summary: Red Hat Package Manager
5 Group: Utilities/System
6 Source: ftp://ftp.rpm.org/pub/rpm/dist/rpm-2.5.x/%{name}-%{version}.tar.gz
9 BuildRoot: /tmp/%{name}-%{version}-root
10 Conflicts: patch < 2.5
12 %define pyrequires_eq() Requires: %1 >= %py_ver %1 < %(echo `python -c "import sys; import string; ver=sys.version[:3].split('.'); ver[1]=str(int(ver[1])+1); print string.join(ver, '.')"`)
13 RPM is a powerful package manager, which can be used to build, install,
14 query, verify, update, and uninstall individual software packages. A
15 package consists of an archive of files, and package information, including
16 name, version, and description.
17 packages. A package consists of an archive of files, and package
19 Summary: Header files and libraries for programs that manipulate rpm packages
20 Group: Development/Libraries
21 Requires: %{name} = %{version}
25 The RPM packaging system includes a C library that makes it easy to
26 manipulate RPM packages and databases. It is intended to ease the
27 creation of graphical package managers and other tools that need
28 construir pacotes usando o RPM.
31 install %{SOURCE13} macros.python.in
32 mv -f perl.prov perl.prov.in)
33 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
38 install -d $RPM_BUILD_ROOT/{var/lib/rpm,usr/src/rpm/{SOURCES,SPECS,RPMS/{$RPM_ARCH,noarch},SRPMS,BUILD}}
39 make installprefix="$RPM_BUILD_ROOT" install
40 pkgbindir="%{_bindir}"
42 rm -rf $RPM_BUILD_ROOT
48 %defattr(644, root, root, 755)
49 %doc RPM-PGP-KEY CHANGES groups docs/*
50 %attr(755, root, root) /bin/rpm
51 %attr(755, root, root) /usr/bin/*
53 %attr(755, root, root) /usr/lib/rpm/find-*
54 %attr(755, root, root) /usr/lib/rpm/freshen.sh
55 %attr(755, root, root) /usr/lib/rpm/mkinstalldirs
58 %attr(644, root, man) /usr/man/man8/*
59 %attr(700, root, root) %dir /var/lib/rpm
61 %lang(de) /usr/share/locale/de/LC_MESSAGES/rpm.mo
62 %lang(fi) /usr/share/locale/fi/LC_MESSAGES/rpm.mo
63 %lang(fr) /usr/share/locale/fr/LC_MESSAGES/rpm.mo
64 %lang(pt) /usr/share/locale/pt*/LC_MESSAGES/rpm.mo
65 %lang(sv) /usr/share/locale/sv/LC_MESSAGES/rpm.mo
66 %lang(tr) /usr/share/locale/tr/LC_MESSAGES/rpm.mo
67 %lang(ru) %{_mandir}/ru/man8/rpm.8*
68 %attr(755,root,root) %{_libdir}/rpm/rpmi
69 %defattr(644, root, root, 755)
74 * Tue Sep 15 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
76 - /usr/src/redhat changed to /usr/src/rpm.
78 * Sun Aug 30 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
81 - added -q %setup parameter,
82 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
83 - added using %%{name} and %%{version} in Source,
84 - added %lang macros for /usr/share/locale/*/LC_MESSAGES/rpm.mo files,
85 - added %attr and %defattr macros in %files (allow build package from
87 Revision 1.79 2000/02/17 03:42:17 kloczek
89 - added "Conflicts: /usr/bin/id" and rebuilded in enviroment with id in