cvsdist edd8e6
%define	with_python_subpackage	1%{nil}
cvsdist 02edfd
%define	with_python_version	2.2%{nil}
cvsdist edd8e6
%define	with_bzip2		1%{nil}
cvsdist edd8e6
%define	with_apidocs		1%{nil}
cvsdist 921826
cvsdist 1bdb86
# XXX legacy requires './' payload prefix to be omitted from rpm packages.
cvsdist 1bdb86
%define	_noPayloadPrefix	1
cvsdist 1bdb86
cvsdist 1bdb86
%define	__prefix	/usr
cvsdist 02edfd
%{?!_lib: %define _lib lib}
cvsdist a37c64
%{expand: %%define __share %(if [ -d %{__prefix}/share/man ]; then echo /share ; else echo %%{nil} ; fi)}
cvsdist 1bdb86
cvsdist 02edfd
%define __bindir	%{__prefix}/bin
cvsdist 02edfd
%define __includedir	%{__prefix}/include
cvsdist 02edfd
%define __libdir	%{__prefix}/%{_lib}
cvsdist 02edfd
%define __mandir	%{__prefix}%{__share}/man
cvsdist 02edfd
cvsdist b1db19
Summary: The RPM package management system.
cvsdist 1bdb86
Name: rpm
cvsdist 103d42
%define version 4.2.1
cvsdist 1bdb86
Version: %{version}
cvsdist a37c64
%{expand: %%define rpm_version %{version}}
cvsdist 1f8e0d
Release: 0.30.1
cvsdist 1bdb86
Group: System Environment/Base
cvsdist a37c64
Source: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/rpm-%{rpm_version}.tar.gz
cvsdist 1f8e0d
Patch: rpm-4.2.1-0.30-psmworks.patch
cvsdist 1bdb86
Copyright: GPL
cvsdist 1bdb86
Conflicts: patch < 2.5
cvsdist 1bdb86
%ifos linux
cvsdist 1e642b
Prereq: fileutils shadow-utils
cvsdist 9eb5b2
%endif
cvsdist 103d42
Requires: popt = 1.8.1
cvsdist 02edfd
Obsoletes: rpm-perl < %{version}
cvsdist 9eb5b2
cvsdist 1f8e0d
BuildRequires: libtool automake autoconf
cvsdist 1f8e0d
cvsdist 02edfd
# XXX necessary only to drag in /usr/lib/libelf.a, otherwise internal elfutils.
cvsdist 02edfd
BuildRequires: elfutils-libelf
cvsdist 9eb5b2
cvsdist b60fd6
BuildRequires: zlib-devel
cvsdist 02edfd
cvsdist 103d42
BuildRequires: beecrypt-devel >= 0:3.0.0-2
cvsdist 103d42
Requires: beecrypt >= 0:3.0.0-2
cvsdist 103d42
cvsdist 9eb5b2
# XXX Red Hat 5.2 has not bzip2 or python
cvsdist 9eb5b2
%if %{with_bzip2}
cvsdist 1bdb86
BuildRequires: bzip2 >= 0.9.0c-2
cvsdist 9eb5b2
%endif
cvsdist 9eb5b2
%if %{with_python_subpackage}
cvsdist 7474a3
BuildRequires: python-devel >= %{with_python_version}
cvsdist 1bdb86
%endif
cvsdist 9eb5b2
cvsdist 1bdb86
BuildRoot: %{_tmppath}/%{name}-root
cvsdist 1bdb86
cvsdist 1bdb86
%description
cvsdist 73bf5c
The RPM Package Manager (RPM) is a powerful command line driven
cvsdist 1bdb86
package management system capable of installing, uninstalling,
cvsdist b1db19
verifying, querying, and updating software packages. Each software
cvsdist 1bdb86
package consists of an archive of files along with information about
cvsdist 1bdb86
the package like its version, a description, etc.
cvsdist 1bdb86
cvsdist 1bdb86
%package devel
cvsdist 02edfd
Summary:  Development files for manipulating RPM packages.
cvsdist 1bdb86
Group: Development/Libraries
cvsdist 02edfd
Requires: rpm = %{rpm_version}
cvsdist 1bdb86
cvsdist 1bdb86
%description devel
cvsdist b1db19
This package contains the RPM C library and header files. These
cvsdist b1db19
development files will simplify the process of writing programs that
cvsdist 1bdb86
manipulate RPM packages and databases. These files are intended to
cvsdist 1bdb86
simplify the process of creating graphical package managers or any
cvsdist 1bdb86
other tools that need an intimate knowledge of RPM packages in order
cvsdist 1bdb86
to function.
cvsdist 1bdb86
cvsdist 1bdb86
This package should be installed if you want to develop programs that
cvsdist 1bdb86
will manipulate RPM packages and databases.
cvsdist 1bdb86
cvsdist 1bdb86
%package build
cvsdist 1bdb86
Summary: Scripts and executable programs used to build packages.
cvsdist 1bdb86
Group: Development/Tools
cvsdist 02edfd
Requires: rpm = %{rpm_version}, patch >= 2.5, file
cvsdist 1e642b
Provides: rpmbuild(VendorConfig) = 4.1-1
cvsdist 1bdb86
cvsdist 1bdb86
%description build
cvsdist b1db19
The rpm-build package contains the scripts and executable programs
cvsdist b1db19
that are used to build packages using the RPM Package Manager.
cvsdist 1bdb86
cvsdist a37c64
%if %{with_python_subpackage}
cvsdist a37c64
%package python
cvsdist a37c64
Summary: Python bindings for apps which will manipulate RPM packages.
cvsdist a37c64
Group: Development/Libraries
cvsdist a37c64
Requires: rpm = %{rpm_version}
cvsdist 7474a3
Requires: python >= %{with_python_version}
cvsdist 02edfd
Requires: elfutils >= 0.55
cvsdist a37c64
cvsdist a37c64
%description python
cvsdist b1db19
The rpm-python package contains a module that permits applications
cvsdist a37c64
written in the Python programming language to use the interface
cvsdist 02edfd
supplied by RPM Package Manager libraries.
cvsdist a37c64
cvsdist a37c64
This package should be installed if you want to develop Python
cvsdist a37c64
programs that will manipulate RPM packages and databases.
cvsdist b1db19
%endif
cvsdist b60fd6
cvsdist 1bdb86
%package -n popt
cvsdist 1bdb86
Summary: A C library for parsing command line parameters.
cvsdist 1bdb86
Group: Development/Libraries
cvsdist 103d42
Version: 1.8.1
cvsdist 1bdb86
cvsdist 1bdb86
%description -n popt
cvsdist b1db19
Popt is a C library for parsing command line parameters. Popt was
cvsdist 1bdb86
heavily influenced by the getopt() and getopt_long() functions, but it
cvsdist b1db19
improves on them by allowing more powerful argument expansion. Popt
cvsdist 1bdb86
can parse arbitrary argv[] style arrays and automatically set
cvsdist b1db19
variables based on command line arguments. Popt allows command line
cvsdist 1bdb86
arguments to be aliased via configuration files and includes utility
cvsdist 1bdb86
functions for parsing arbitrary strings into argv[] arrays using
cvsdist 1bdb86
shell-like rules.
cvsdist 1bdb86
cvsdist 1bdb86
%prep
cvsdist 1bdb86
%setup -q
cvsdist 1f8e0d
%patch -p1
cvsdist 1f8e0d
cd db/dist
cvsdist 1f8e0d
./s_config
cvsdist 1bdb86
cvsdist 1bdb86
%build
cvsdist 4370f6
cvsdist 02edfd
# XXX rpm needs functioning nptl for configure tests
cvsdist 1e642b
unset LD_ASSUME_KERNEL || :
cvsdist 02edfd
cvsdist 02edfd
%if %{with_python_subpackage}
cvsdist 02edfd
WITH_PYTHON="--with-python=%{with_python_version}"
cvsdist 1bdb86
%else
cvsdist 02edfd
WITH_PYTHON="--without-python"
cvsdist 1bdb86
%endif
cvsdist 1bdb86
cvsdist 02edfd
%ifos linux
cvsdist 02edfd
%ifarch x86_64 s390 s390x 
cvsdist 02edfd
CFLAGS="$RPM_OPT_FLAGS -fPIC"; export CFLAGS
cvsdist 02edfd
%else
cvsdist 02edfd
CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
cvsdist 02edfd
%endif
cvsdist 1f8e0d
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{__prefix} --sysconfdir=/etc \
cvsdist 02edfd
	--localstatedir=/var --infodir='${prefix}%{__share}/info' \
cvsdist 02edfd
	--mandir='${prefix}%{__share}/man' \
cvsdist 1e642b
	$WITH_PYTHON --without-javaglue
cvsdist 02edfd
%else
cvsdist 1f8e0d
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{__prefix} $WITH_PYTHON \
cvsdist 02edfd
	--without-javaglue
cvsdist 87eb98
%endif
cvsdist 87eb98
cvsdist 1e642b
# XXX hack out O_DIRECT support in db4 for now.
cvsdist 1e642b
perl -pi -e 's/#define HAVE_O_DIRECT 1/#undef HAVE_O_DIRECT/' db3/db_config.h
cvsdist 1e642b
cvsdist 591588
make
cvsdist 1bdb86
cvsdist 1bdb86
%install
cvsdist 02edfd
# XXX rpm needs functioning nptl for configure tests
cvsdist 1e642b
unset LD_ASSUME_KERNEL || :
cvsdist 02edfd
cvsdist 1bdb86
rm -rf $RPM_BUILD_ROOT
cvsdist 1bdb86
cvsdist 1f8e0d
make MKINSTALLDIRS=`pwd`/mkinstalldirs DESTDIR="$RPM_BUILD_ROOT" install
cvsdist 9eb5b2
cvsdist 4370f6
%ifos linux
cvsdist 4370f6
cvsdist 4370f6
# Save list of packages through cron
cvsdist 4370f6
mkdir -p ${RPM_BUILD_ROOT}/etc/cron.daily
cvsdist 4370f6
install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}/etc/cron.daily/rpm
cvsdist 4370f6
cvsdist 4370f6
mkdir -p ${RPM_BUILD_ROOT}/etc/logrotate.d
cvsdist 4ac4c0
install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}/etc/logrotate.d/rpm
cvsdist 4370f6
cvsdist 1bdb86
mkdir -p $RPM_BUILD_ROOT/etc/rpm
cvsdist 1bdb86
cvsdist 02edfd
mkdir -p $RPM_BUILD_ROOT/var/spool/repackage
cvsdist 4370f6
mkdir -p $RPM_BUILD_ROOT/var/lib/rpm
cvsdist 4370f6
for dbi in \
cvsdist 02edfd
	Basenames Conflictname Dirnames Group Installtid Name Packages \
cvsdist 02edfd
	Providename Provideversion Requirename Requireversion Triggername \
cvsdist 02edfd
	Filemd5s Pubkeys Sha1header Sigmd5 \
cvsdist e6bcc6
	__db.001 __db.002 __db.003 __db.004 __db.005 __db.006 __db.007 \
cvsdist 921826
	__db.008 __db.009
cvsdist 4370f6
do
cvsdist 4370f6
    touch $RPM_BUILD_ROOT/var/lib/rpm/$dbi
cvsdist 4370f6
done
cvsdist 4370f6
cvsdist 4370f6
%endif
cvsdist 4370f6
cvsdist 9eb5b2
%if %{with_apidocs}
cvsdist 9eb5b2
gzip -9n apidocs/man/man*/* || :
cvsdist 9eb5b2
%endif
cvsdist 9eb5b2
cvsdist 02edfd
# Get rid of unpackaged files
cvsdist 1bdb86
{ cd $RPM_BUILD_ROOT
cvsdist 02edfd
  rm -rf .%{__includedir}/beecrypt
cvsdist 02edfd
  rm -f .%{__libdir}/libbeecrypt.{a,la,so.2.2.0}
cvsdist 02edfd
  rm -f .%{__prefix}/lib/rpm/{Specfile.pm,cpanflute,cpanflute2,rpmdiff,rpmdiff.cgi,sql.prov,sql.req,tcl.req}
cvsdist 02edfd
  rm -rf .%{__mandir}/{fr,ko}
cvsdist 1f8e0d
  rm -rf .%{__libdir}/python*/site-packages/rpmmodule.*a
cvsdist 1bdb86
}
cvsdist 1bdb86
cvsdist 1bdb86
%clean
cvsdist 1bdb86
rm -rf $RPM_BUILD_ROOT
cvsdist 1bdb86
cvsdist 9eb5b2
%pre
cvsdist 4370f6
%ifos linux
cvsdist 02edfd
if [ -f /var/lib/rpm/packages.rpm ]; then
cvsdist 4370f6
    echo "
cvsdist 02edfd
You have (unsupported)
cvsdist 4370f6
	/var/lib/rpm/packages.rpm	db1 format installed package headers
cvsdist 02edfd
Please install rpm-4.0.4 first, and do
cvsdist 02edfd
	rpm --rebuilddb
cvsdist 02edfd
to convert your database from db1 to db3 format.
cvsdist 4370f6
"
cvsdist 103d42
    exit 1
cvsdist 9eb5b2
fi
cvsdist 4370f6
/usr/sbin/groupadd -g 37 rpm				> /dev/null 2>&1
cvsdist 103d42
/usr/sbin/useradd  -r -d /var/lib/rpm -u 37 -g 37 rpm -s /sbin/nologin	> /dev/null 2>&1
cvsdist 4370f6
%endif
cvsdist 9eb5b2
exit 0
cvsdist 9eb5b2
cvsdist 1bdb86
%post
cvsdist 1bdb86
%ifos linux
cvsdist 9eb5b2
/sbin/ldconfig
cvsdist 02edfd
/bin/chown rpm.rpm /var/lib/rpm/[A-Z]*
cvsdist 4370f6
%endif
cvsdist 4370f6
exit 0
cvsdist 1bdb86
cvsdist 9eb5b2
%ifos linux
cvsdist 4370f6
%postun
cvsdist 4370f6
/sbin/ldconfig
cvsdist 75a4b0
if [ $1 = 0 ]; then
cvsdist 4370f6
    /usr/sbin/userdel rpm
cvsdist 4370f6
    /usr/sbin/groupdel rpm
cvsdist 4370f6
fi
cvsdist 02edfd
exit 0
cvsdist 1bdb86
cvsdist 1bdb86
%post devel -p /sbin/ldconfig
cvsdist 1bdb86
%postun devel -p /sbin/ldconfig
cvsdist 1bdb86
cvsdist 1bdb86
%post -n popt -p /sbin/ldconfig
cvsdist 1bdb86
%postun -n popt -p /sbin/ldconfig
cvsdist 1bdb86
%endif
cvsdist 1bdb86
cvsdist 9eb5b2
%if %{with_python_subpackage}
cvsdist 1bdb86
%post python -p /sbin/ldconfig
cvsdist 1bdb86
%postun python -p /sbin/ldconfig
cvsdist 1bdb86
%endif
cvsdist 1bdb86
cvsdist 4370f6
%define	rpmattr		%attr(0755, rpm, rpm)
cvsdist 4370f6
cvsdist 1bdb86
%files
cvsdist 1bdb86
%defattr(-,root,root)
cvsdist 02edfd
%doc RPM-PGP-KEY RPM-GPG-KEY BETA-GPG-KEY CHANGES GROUPS doc/manual/[a-z]*
cvsdist 02edfd
# XXX comment these lines out if building with rpm that knows not %pubkey attr
cvsdist 02edfd
%pubkey RPM-PGP-KEY
cvsdist 02edfd
%pubkey RPM-GPG-KEY
cvsdist 02edfd
%pubkey BETA-GPG-KEY
cvsdist 4370f6
%attr(0755, rpm, rpm)	/bin/rpm
cvsdist 4370f6
cvsdist 4370f6
%ifos linux
cvsdist 4370f6
%config(noreplace,missingok)	/etc/cron.daily/rpm
cvsdist 4370f6
%config(noreplace,missingok)	/etc/logrotate.d/rpm
cvsdist 4370f6
%dir				/etc/rpm
cvsdist 02edfd
#%config(noreplace,missingok)	/etc/rpm/macros.*
cvsdist 4370f6
%attr(0755, rpm, rpm)	%dir /var/lib/rpm
cvsdist 02edfd
%attr(0755, rpm, rpm)	%dir /var/spool/repackage
cvsdist 4370f6
cvsdist 4370f6
%define	rpmdbattr %attr(0644, rpm, rpm) %verify(not md5 size mtime) %ghost %config(missingok,noreplace)
cvsdist 02edfd
%rpmdbattr	/var/lib/rpm/*
cvsdist 4370f6
%endif
cvsdist 4370f6
cvsdist 02edfd
%rpmattr	%{__bindir}/rpm2cpio
cvsdist 02edfd
%rpmattr	%{__bindir}/gendiff
cvsdist 02edfd
%rpmattr	%{__bindir}/rpmdb
cvsdist 02edfd
#%rpmattr	%{__bindir}/rpm[eiu]
cvsdist 02edfd
%rpmattr	%{__bindir}/rpmsign
cvsdist 02edfd
%rpmattr	%{__bindir}/rpmquery
cvsdist 02edfd
%rpmattr	%{__bindir}/rpmverify
cvsdist 4370f6
cvsdist 02edfd
%{__libdir}/librpm-4.2.so
cvsdist 02edfd
%{__libdir}/librpmdb-4.2.so
cvsdist 02edfd
%{__libdir}/librpmio-4.2.so
cvsdist 02edfd
%{__libdir}/librpmbuild-4.2.so
cvsdist 1bdb86
cvsdist 591588
%attr(0755, rpm, rpm)	%dir %{__prefix}/lib/rpm
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/config.guess
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/config.sub
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/convertrpmrc.sh
cvsdist 4370f6
%attr(0644, rpm, rpm)	%{__prefix}/lib/rpm/macros
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/mkinstalldirs
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/rpm.*
cvsdist 0bfa40
%rpmattr	%{__prefix}/lib/rpm/rpm2cpio.sh
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/rpm[deiukqv]
cvsdist 02edfd
%rpmattr	%{__prefix}/lib/rpm/tgpg
cvsdist 4370f6
%attr(0644, rpm, rpm)	%{__prefix}/lib/rpm/rpmpopt*
cvsdist 4370f6
%attr(0644, rpm, rpm)	%{__prefix}/lib/rpm/rpmrc
cvsdist 4370f6
cvsdist 4370f6
%ifarch i386 i486 i586 i686 athlon
cvsdist 4370f6
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/i[3456]86*
cvsdist 698b80
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/athlon*
cvsdist 1bdb86
%endif
cvsdist 73bf5c
%ifarch alpha alphaev5 alphaev56 alphapca56 alphaev6 alphaev67
cvsdist 4370f6
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/alpha*
cvsdist 1bdb86
%endif
cvsdist 73bf5c
%ifarch sparc sparcv9 sparc64
cvsdist 4370f6
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/sparc*
cvsdist 1bdb86
%endif
cvsdist 1bdb86
%ifarch ia64
cvsdist 4370f6
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/ia64*
cvsdist 1bdb86
%endif
cvsdist 02edfd
%ifarch powerpc ppc ppciseries ppcpseries ppcmac ppc64
cvsdist 4370f6
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/ppc*
cvsdist 4370f6
%endif
cvsdist 4370f6
%ifarch s390 s390x
cvsdist 4370f6
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/s390*
cvsdist 1bdb86
%endif
cvsdist 9eb5b2
%ifarch armv3l armv4l
cvsdist 4370f6
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/armv[34][lb]*
cvsdist 9eb5b2
%endif
cvsdist bf4650
%ifarch mips mipsel
cvsdist 73bf5c
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/mips*
cvsdist 73bf5c
%endif
cvsdist 02edfd
%ifarch x86_64
cvsdist 02edfd
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/x86_64*
cvsdist 02edfd
%endif
cvsdist 4370f6
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/noarch*
cvsdist 9eb5b2
cvsdist 9eb5b2
%lang(cs)	%{__prefix}/*/locale/cs/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(da)	%{__prefix}/*/locale/da/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(de)	%{__prefix}/*/locale/de/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(fi)	%{__prefix}/*/locale/fi/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(fr)	%{__prefix}/*/locale/fr/LC_MESSAGES/rpm.mo
cvsdist 02edfd
%lang(gl)	%{__prefix}/*/locale/gl/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(is)	%{__prefix}/*/locale/is/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(ja)	%{__prefix}/*/locale/ja/LC_MESSAGES/rpm.mo
cvsdist d991ff
%lang(ko)	%{__prefix}/*/locale/ko/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(no)	%{__prefix}/*/locale/no/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(pl)	%{__prefix}/*/locale/pl/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(pt)	%{__prefix}/*/locale/pt/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(pt_BR)	%{__prefix}/*/locale/pt_BR/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(ro)	%{__prefix}/*/locale/ro/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(ru)	%{__prefix}/*/locale/ru/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(sk)	%{__prefix}/*/locale/sk/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(sl)	%{__prefix}/*/locale/sl/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(sr)	%{__prefix}/*/locale/sr/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(sv)	%{__prefix}/*/locale/sv/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
%lang(tr)	%{__prefix}/*/locale/tr/LC_MESSAGES/rpm.mo
cvsdist 9eb5b2
cvsdist 02edfd
%{__mandir}/man1/gendiff.1*
cvsdist 02edfd
%{__mandir}/man8/rpm.8*
cvsdist 02edfd
%{__mandir}/man8/rpm2cpio.8*
cvsdist 02edfd
%lang(ja)	%{__mandir}/ja/man[18]/*.[18]*
cvsdist 02edfd
%lang(pl)	%{__mandir}/pl/man[18]/*.[18]*
cvsdist 02edfd
%lang(ru)	%{__mandir}/ru/man[18]/*.[18]*
cvsdist 02edfd
%lang(sk)	%{__mandir}/sk/man[18]/*.[18]*
cvsdist 1bdb86
cvsdist 9eb5b2
%files build
cvsdist 9eb5b2
%defattr(-,root,root)
cvsdist 1bdb86
%dir %{__prefix}/src/redhat
cvsdist 1bdb86
%dir %{__prefix}/src/redhat/BUILD
cvsdist 1bdb86
%dir %{__prefix}/src/redhat/SPECS
cvsdist 1bdb86
%dir %{__prefix}/src/redhat/SOURCES
cvsdist 1bdb86
%dir %{__prefix}/src/redhat/SRPMS
cvsdist 1bdb86
%dir %{__prefix}/src/redhat/RPMS
cvsdist 1bdb86
%{__prefix}/src/redhat/RPMS/*
cvsdist 02edfd
%rpmattr	%{__bindir}/rpmbuild
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/brp-*
cvsdist 02edfd
%rpmattr	%{__prefix}/lib/rpm/check-files
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/check-prereqs
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/config.site
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/cross-build
cvsdist 02edfd
%rpmattr	%{__prefix}/lib/rpm/debugedit
cvsdist 02edfd
%rpmattr	%{__prefix}/lib/rpm/find-debuginfo.sh
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/find-lang.sh
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/find-prov.pl
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/find-provides
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/find-provides.perl
cvsdist 1f56f5
%rpmattr	%{__prefix}/lib/rpm/find-req.pl
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/find-requires
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/find-requires.perl
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/get_magic.pl
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/getpo.sh
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/http.req
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/javadeps
cvsdist 02edfd
%rpmattr	%{__prefix}/lib/rpm/magic
cvsdist 02edfd
%rpmattr	%{__prefix}/lib/rpm/magic.mgc
cvsdist 02edfd
%rpmattr	%{__prefix}/lib/rpm/magic.mime
cvsdist 02edfd
%rpmattr	%{__prefix}/lib/rpm/magic.mime.mgc
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/magic.prov
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/magic.req
cvsdist 02edfd
%rpmattr	%{__prefix}/lib/rpm/perldeps.pl
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/perl.prov
cvsdist 02edfd
%rpmattr	%{__prefix}/lib/rpm/perl.req
cvsdist 1f56f5
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/rpm[bt]
cvsdist 02edfd
%rpmattr	%{__prefix}/lib/rpm/rpmdeps
cvsdist 0bfa40
%rpmattr	%{__prefix}/lib/rpm/trpm
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/u_pkg.sh
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/vpkg-provides.sh
cvsdist 4370f6
%rpmattr	%{__prefix}/lib/rpm/vpkg-provides2.sh
cvsdist 4370f6
cvsdist 02edfd
%{__mandir}/man8/rpmbuild.8*
cvsdist 02edfd
%{__mandir}/man8/rpmdeps.8*
cvsdist 1bdb86
cvsdist 9eb5b2
%if %{with_python_subpackage}
cvsdist 1bdb86
%files python
cvsdist 1bdb86
%defattr(-,root,root)
cvsdist 02edfd
%{__libdir}/python%{with_python_version}/site-packages/rpmmodule.so
cvsdist 02edfd
%{__libdir}/python%{with_python_version}/site-packages/rpmdb
cvsdist b60fd6
%endif
cvsdist b60fd6
cvsdist 1bdb86
%files devel
cvsdist 1bdb86
%defattr(-,root,root)
cvsdist 9eb5b2
%if %{with_apidocs}
cvsdist 9eb5b2
%doc apidocs
cvsdist 9eb5b2
%endif
cvsdist 02edfd
%{__includedir}/rpm
cvsdist 02edfd
%{__libdir}/librpm.a
cvsdist 02edfd
%{__libdir}/librpm.la
cvsdist 02edfd
%{__libdir}/librpm.so
cvsdist 02edfd
%{__libdir}/librpmdb.a
cvsdist 02edfd
%{__libdir}/librpmdb.la
cvsdist 02edfd
%{__libdir}/librpmdb.so
cvsdist 02edfd
%{__libdir}/librpmio.a
cvsdist 02edfd
%{__libdir}/librpmio.la
cvsdist 02edfd
%{__libdir}/librpmio.so
cvsdist 02edfd
%{__libdir}/librpmbuild.a
cvsdist 02edfd
%{__libdir}/librpmbuild.la
cvsdist 02edfd
%{__libdir}/librpmbuild.so
cvsdist 02edfd
%{__mandir}/man8/rpmcache.8*
cvsdist 02edfd
%{__mandir}/man8/rpmgraph.8*
cvsdist 02edfd
%rpmattr	%{__prefix}/lib/rpm/rpmcache
cvsdist d2feb9
%rpmattr	%{__prefix}/lib/rpm/rpmdb_deadlock
cvsdist 02edfd
%rpmattr	%{__prefix}/lib/rpm/rpmdb_dump
cvsdist 02edfd
%rpmattr	%{__prefix}/lib/rpm/rpmdb_load
cvsdist 1e642b
%rpmattr	%{__prefix}/lib/rpm/rpmdb_loadcvt
cvsdist d2feb9
%rpmattr	%{__prefix}/lib/rpm/rpmdb_svc
cvsdist d2feb9
%rpmattr	%{__prefix}/lib/rpm/rpmdb_stat
cvsdist d2feb9
%rpmattr	%{__prefix}/lib/rpm/rpmdb_verify
cvsdist 02edfd
%rpmattr	%{__prefix}/lib/rpm/rpmfile
cvsdist 02edfd
%rpmattr	%{__bindir}/rpmgraph
cvsdist 1bdb86
cvsdist 1bdb86
%files -n popt
cvsdist 1bdb86
%defattr(-,root,root)
cvsdist 02edfd
%{__libdir}/libpopt.so.*
cvsdist 02edfd
%{__mandir}/man3/popt.3*
cvsdist 9eb5b2
%lang(cs)	%{__prefix}/*/locale/cs/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(da)	%{__prefix}/*/locale/da/LC_MESSAGES/popt.mo
cvsdist 02edfd
%lang(de)	%{__prefix}/*/locale/de/LC_MESSAGES/popt.mo
cvsdist 02edfd
%lang(es)	%{__prefix}/*/locale/es/LC_MESSAGES/popt.mo
cvsdist 02edfd
%lang(eu_ES)	%{__prefix}/*/locale/eu_ES/LC_MESSAGES/popt.mo
cvsdist 02edfd
%lang(fi)	%{__prefix}/*/locale/fi/LC_MESSAGES/popt.mo
cvsdist 02edfd
%lang(fr)	%{__prefix}/*/locale/fr/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(gl)	%{__prefix}/*/locale/gl/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(hu)	%{__prefix}/*/locale/hu/LC_MESSAGES/popt.mo
cvsdist 02edfd
%lang(id)	%{__prefix}/*/locale/id/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(is)	%{__prefix}/*/locale/is/LC_MESSAGES/popt.mo
cvsdist 02edfd
%lang(it)	%{__prefix}/*/locale/it/LC_MESSAGES/popt.mo
cvsdist 02edfd
%lang(ja)	%{__prefix}/*/locale/ja/LC_MESSAGES/popt.mo
cvsdist d991ff
%lang(ko)	%{__prefix}/*/locale/ko/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(no)	%{__prefix}/*/locale/no/LC_MESSAGES/popt.mo
cvsdist 02edfd
%lang(pl)	%{__prefix}/*/locale/pl/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(pt)	%{__prefix}/*/locale/pt/LC_MESSAGES/popt.mo
cvsdist 02edfd
%lang(pt_BR)	%{__prefix}/*/locale/pt_BR/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(ro)	%{__prefix}/*/locale/ro/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(ru)	%{__prefix}/*/locale/ru/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(sk)	%{__prefix}/*/locale/sk/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(sl)	%{__prefix}/*/locale/sl/LC_MESSAGES/popt.mo
cvsdist 02edfd
%lang(sr)	%{__prefix}/*/locale/sr/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(sv)	%{__prefix}/*/locale/sv/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(tr)	%{__prefix}/*/locale/tr/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(uk)	%{__prefix}/*/locale/uk/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(wa)	%{__prefix}/*/locale/wa/LC_MESSAGES/popt.mo
cvsdist 02edfd
%lang(zh)	%{__prefix}/*/locale/zh/LC_MESSAGES/popt.mo
cvsdist 9eb5b2
%lang(zh_CN)	%{__prefix}/*/locale/zh_CN.GB2312/LC_MESSAGES/popt.mo
cvsdist 1bdb86
cvsdist 02edfd
# XXX These may end up in popt-devel but it hardly seems worth the effort.
cvsdist 02edfd
%{__libdir}/libpopt.a
cvsdist 02edfd
%{__libdir}/libpopt.la
cvsdist 02edfd
%{__libdir}/libpopt.so
cvsdist 02edfd
%{__includedir}/popt.h
cvsdist 1bdb86
cvsdist 1bdb86
%changelog
cvsdist 1f8e0d
* Fri Oct 10 2003 Elliot Lee <sopwith@redhat.com> 4.2.1-0.30.1
cvsdist 1f8e0d
- Add rpm-4.2-psmworks.patch
cvsdist 1f8e0d
cvsdist 103d42
* Wed Jul 16 2003 Jeff Johnson <jbj@redhat.com> 4.2.1-0.30
cvsdist 103d42
- repair find-debuginfo.sh to avoid recursing in /usr/lib/debug.
cvsdist 103d42
- fix: ia64: don't attempt autorelocate on .src.rpm's.
cvsdist 103d42
- fix: debuginfo: -not -path /usr/lib/debug needed -prune too.
cvsdist 103d42
cvsdist 103d42
* Thu Jul 10 2003 Jeff Johnson <jbj@redhat.com> 4.2.1-0.26
cvsdist 103d42
- apply debugedit patch necessary to produce kernel -debuginfo files.
cvsdist 103d42
- zap zlib files so that apidocs gets included.
cvsdist 103d42
cvsdist 103d42
* Wed Jul  9 2003 Jeff Johnson <jbj@redhat.com> 4.2.1-0.21
cvsdist 103d42
- resolve elf32/elf64 file conflicts to prefer elf64.
cvsdist 103d42
cvsdist 103d42
* Tue Jul  8 2003 Jeff Johnson <jbj@redhat.com> 4.2.1-0.20
cvsdist 103d42
- resurrect manifests, RPMRC_NOTFOUND returned by readLead().
cvsdist 103d42
- python: missed tuple refcount in IDTXload/IDTXglob.
cvsdist 103d42
- fix: IDTXglob should return REMOVETID sorted headers (#89857).
cvsdist 103d42
cvsdist 103d42
* Wed Jul  2 2003 Jeff Johnson <jbj@redhat.com> 4.2.1-0.19
cvsdist 103d42
- autorelocate ix86 package file paths on ia64.
cvsdist 103d42
cvsdist 103d42
* Tue Jul  1 2003 Jeff Johnson <jbj@redhat.com> 4.2.1-0.18
cvsdist 103d42
- don't attempt to remove dbenv on --rebuilddb.
cvsdist 103d42
- rebuild.
cvsdist 103d42
cvsdist 103d42
* Tue Jun 24 2003 Jeff Johnson <jbj@redhat.com> 4.2.1-0.17
cvsdist 103d42
- update for fr.po (#97829).
cvsdist 1e642b
cvsdist 103d42
* Fri Jun 20 2003 Jeff Johnson <jbj@redhat.com> 4.2.1-0.16
cvsdist 103d42
- brp-python-bytecompile to automagically bytecode compile python.
cvsdist 1e642b
cvsdist 103d42
* Thu Jun 19 2003 Jeff Johnson <jbj@redhat.com> 4.2.1-0.15
cvsdist 103d42
- 2nd test release.
cvsdist 1e642b
cvsdist 103d42
* Thu Jun 12 2003 Jeff Johnson <jbj@redhat.com> 4.2.1-0.13
cvsdist 103d42
- fdCLose typo (#97257).
cvsdist 103d42
- test release.
cvsdist 103d42
cvsdist 103d42
* Mon Jun  9 2003 Jeff Johnson <jbj@redhat.com> 4.2.1-0.12
cvsdist 103d42
- gratuitous bump/rebuild to exclude ppc64 for the moment.
cvsdist 103d42
cvsdist 103d42
* Thu Jun  5 2003 Jeff Johnson <jbj@redhat.com> 4.2.1-0.11
cvsdist 103d42
- update ja man pages (#92261).
cvsdist 103d42
- backport rpmsw stopwatch, insturment rpmts operations.
cvsdist 103d42
- toy method to enable --stats through bindings.
cvsdist 103d42
cvsdist 103d42
* Wed Jun  4 2003 Jeff Johnson <jbj@redhat.com> 4.2.1-0.8
cvsdist 103d42
- pass structure pointer, not args, through headerSprintf call chain.
cvsdist 103d42
- add ":xml" header format modifier.
cvsdist 103d42
- --queryformat '[%%{*:xml}\n]' to dump header content in XML.
cvsdist 103d42
- add ".arch" suffix to erase colored packages with identical NEVR.
cvsdist 103d42
cvsdist 103d42
* Tue Jun  3 2003 Jeff Johnson <jbj@redhat.com> 4.2.1-0.6
cvsdist 103d42
- rebuild against fixes in beecrypt-3.0.0-0.20030603.
cvsdist 103d42
- treat missing epoch's exactly the same as Epoch: 0.
cvsdist 103d42
cvsdist 103d42
* Mon Jun  2 2003 Jeff Johnson <jbj@redhat.com> 4.2.1-0.4
cvsdist 103d42
- rebuild against fixes in beecrypt-3.0.0-0.20030602.
cvsdist 103d42
cvsdist 103d42
* Thu May 29 2003 Jeff Johnson <jbj@redhat.com> 4.2.1-0.3
cvsdist 103d42
- build with external beecrypt-3.0.0.
cvsdist 103d42
- blueprint beecrypt-3.0.0 changes against rpm-4.3.
cvsdist 103d42
- x86_64 -> athlon, ppc64[ip]series -> ppc64 arch compatibility.
cvsdist 103d42
cvsdist 103d42
* Thu Mar 27 2003 Jeff Johnson <jbj@redhat.com> 4.2.1-0.1
cvsdist 103d42
- start rpm-4.2.1.
cvsdist 103d42
- hack out O_DIRECT support in db4 for now.