cvsdist edd8e6
%define	with_python_subpackage	1%{nil}
cvsdist 65b2a0
%define	with_python_version	2.3%{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 84321e
%define version 4.3.2
cvsdist 1bdb86
Version: %{version}
cvsdist a37c64
%{expand: %%define rpm_version %{version}}
cvsdist 388738
Release: 0.3
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 65b2a0
License: GPL
cvsdist 1bdb86
Conflicts: patch < 2.5
cvsdist 1bdb86
%ifos linux
cvsdist 1e642b
Prereq: fileutils shadow-utils
cvsdist 9eb5b2
%endif
cvsdist 2257ea
Requires: popt = 1.9.1
cvsdist 02edfd
Obsoletes: rpm-perl < %{version}
cvsdist 9eb5b2
cvsdist 02edfd
# XXX necessary only to drag in /usr/lib/libelf.a, otherwise internal elfutils.
cvsdist 02edfd
BuildRequires: elfutils-libelf
cvsdist ad5eb1
BuildRequires: elfutils-devel
cvsdist 9eb5b2
cvsdist b60fd6
BuildRequires: zlib-devel
cvsdist 02edfd
cvsdist 65b2a0
BuildRequires: beecrypt-devel >= 3.0.1
cvsdist 7dd0da
Requires: beecrypt >= 3.0.1
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 2257ea
Version: 1.9.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 65b2a0
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
CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
cvsdist 65b2a0
./configure --prefix=%{__prefix} --sysconfdir=/etc \
cvsdist 02edfd
	--localstatedir=/var --infodir='${prefix}%{__share}/info' \
cvsdist 02edfd
	--mandir='${prefix}%{__share}/man' \
cvsdist cab969
	$WITH_PYTHON --enable-posixmutexes --without-javaglue
cvsdist 02edfd
%else
cvsdist 65b2a0
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{__prefix} $WITH_PYTHON \
cvsdist 02edfd
	--without-javaglue
cvsdist 87eb98
%endif
cvsdist 87eb98
cvsdist ad5eb1
make %{_smp_mflags}
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 65b2a0
make 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 cab969
# - serialize rpmtsRun() using fcntl on /var/lock/rpm/transaction.
cvsdist cab969
mkdir -p ${RPM_BUILD_ROOT}/var/lock/rpm
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 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 1b9ff9
cvsdist 1b9ff9
# Establish correct rpmdb ownership.
cvsdist 02edfd
/bin/chown rpm.rpm /var/lib/rpm/[A-Z]*
cvsdist 1b9ff9
cvsdist 1b9ff9
# XXX Detect (and remove) incompatible dbenv files during db-4.2.52 upgrade.
cvsdist 1b9ff9
# XXX Removing dbenv files in %%post opens a lock race window, a tolerable
cvsdist 1b9ff9
# XXX risk compared to the support issues involved with upgrading Berkeley DB.
cvsdist 1b9ff9
[ -w /var/lib/rpm/__db.001 ] &&
cvsdist 1b9ff9
/usr/lib/rpm/rpmdb_stat -CA -h /var/lib/rpm 2>&1 |
cvsdist 1b9ff9
grep "db_stat: Program version 4.2 doesn't match environment version" 2>&1 > /dev/null &&
cvsdist 1b9ff9
	rm -f /var/lib/rpm/__db*
cvsdist be8f7d
                                                                                
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 cab969
%attr(0755, rpm, rpm)	%dir /var/lock/rpm
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 be8f7d
%{__libdir}/librpm-4.3.so
cvsdist be8f7d
%{__libdir}/librpmdb-4.3.so
cvsdist be8f7d
%{__libdir}/librpmio-4.3.so
cvsdist be8f7d
%{__libdir}/librpmbuild-4.3.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 cab969
%ifarch sparc sparcv8 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 60f49f
%rpmattr	%{__prefix}/lib/rpm/rpmdb_deadlock
cvsdist 60f49f
%rpmattr	%{__prefix}/lib/rpm/rpmdb_dump
cvsdist 60f49f
%rpmattr	%{__prefix}/lib/rpm/rpmdb_load
cvsdist 60f49f
%rpmattr	%{__prefix}/lib/rpm/rpmdb_loadcvt
cvsdist 60f49f
%rpmattr	%{__prefix}/lib/rpm/rpmdb_svc
cvsdist 60f49f
%rpmattr	%{__prefix}/lib/rpm/rpmdb_stat
cvsdist 60f49f
%rpmattr	%{__prefix}/lib/rpm/rpmdb_verify
cvsdist 60f49f
%rpmattr	%{__prefix}/lib/rpm/rpmfile
cvsdist 60f49f
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 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 388738
* Mon Jun 14 2004 Jeff Johnson <jbj@jbj.org> 4.3.2-0.3
cvsdist 388738
- add 'requires' and 'conflicts' tag aliases.
cvsdist 388738
- python: return ds, not tuple, for ds iteration.
cvsdist 388738
- python: permit integer keys to ts.dbMatch().
cvsdist 388738
- xml: use <foo/> markup for empty tags.
cvsdist 388738
- xml: <integer/> instead of <integer>0</integer> markup.
cvsdist 388738
- fix: disable fingerprint generation on kernel paths.
cvsdist 388738
cvsdist 1bc0c1
* Tue Jun  8 2004 Jeff Johnson <jbj@jbj.org> 4.3.2-0.2
cvsdist 1bc0c1
- lua embedded in rpmio.
cvsdist 1bc0c1
- use lua to identify desired selinux file context regexes.
cvsdist 1bc0c1
cvsdist 84321e
* Tue Jun  1 2004 Jeff Johnson <jbj@jbj.org> 4.3.2-0.1
cvsdist 84321e
- use /etc/selinux/targeted/contexts/files/file_contexts for now.
cvsdist 84321e
- disable file contexts into package metadata during build.
cvsdist 84321e
- fix: dev package build on s390x hack around.
cvsdist 84321e
- fix: "/path/foo.../bar" was losing a dot (#123844).
cvsdist 84321e
- fix: PIE executables have basename-as-soname provides (#123697).
cvsdist 84321e
- add aurora/sparc patches (#124469).
cvsdist 84321e
- use poll(2) if available, avoid borked aurora/sparc select (#124574).