1 Summary: The Red Hat package management system.
6 Group: System Environment/Base
7 Source: ftp://ftp.rpm.org/pub/rpm/dist/rpm-2.5.x/rpm-%{version}.tar.gz
9 BuildRoot: /var/tmp/rpm-%{version}-root
10 Conflicts: patch < 2.5
13 The Red Hat Package Manager (RPM) is a powerful command line driven
14 package management system capable of installing, uninstalling,
15 verifying, querying, and updating software packages. Each software
16 package consists of an archive of files along with information about
17 the package like its version, a description, etc.
20 Summary: Development files for applications which will manipulate RPM packages.
21 Group: Development/Libraries
24 This package contains the RPM C library and header files. These
25 development files will simplify the process of writing programs
26 which manipulate RPM packages and databases and are intended to make
27 it easier to create graphical package managers or any other tools
28 that need an intimate knowledge of RPM packages in order to function.
30 This package should be installed if you want to develop programs that
31 will manipulate RPM packages and databases.
37 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --disable-shared
41 rm -rf $RPM_BUILD_ROOT
42 mkdir -p $RPM_BUILD_ROOT/usr/lib
44 mkdir -p $RPM_BUILD_ROOT/usr/src/redhat/SOURCES
45 mkdir -p $RPM_BUILD_ROOT/usr/src/redhat/SPECS
46 mkdir -p $RPM_BUILD_ROOT/usr/src/redhat/SRPMS
47 mkdir -p $RPM_BUILD_ROOT/usr/src/redhat/BUILD
48 mkdir -p $RPM_BUILD_ROOT/usr/src/redhat/RPMS/${RPM_ARCH}
49 mkdir -p $RPM_BUILD_ROOT/usr/src/redhat/RPMS/noarch
51 make DESTDIR="$RPM_BUILD_ROOT" install
54 rm -rf $RPM_BUILD_ROOT
61 %doc RPM-PGP-KEY CHANGES GROUPS
67 /usr/man/man8/rpm2cpio.8
72 %dir /usr/src/redhat/BUILD
73 %dir /usr/src/redhat/SPECS
74 %dir /usr/src/redhat/SOURCES
75 %dir /usr/src/redhat/SRPMS
76 %dir /usr/src/redhat/RPMS
77 /usr/src/redhat/RPMS/*
78 /usr/share/locale/*/LC_MESSAGES/rpm.mo