teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

Blame rpm.spec

cvsdist edd8e6
%define	with_python_subpackage	1%{nil}
Jeremy Katz ef68be
%define	with_python_version	2.4%{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
jbj 80c00d
%define	__prefix	%{?_prefix}%{!?_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
Elliot Lee b6a2d2
Summary: The RPM package management system
cvsdist 1bdb86
Name: rpm
jbj 80c00d
%define version 4.4.1
cvsdist 1bdb86
Version: %{version}
cvsdist a37c64
%{expand: %%define rpm_version %{version}}
jbj c14aa4
Release: 7
cvsdist 1bdb86
Group: System Environment/Base
jbj 80c00d
Source: ftp://jbj.org/pub/rpm-devel/rpm-%{rpm_version}.tar.gz
Jeremy Katz c02361
Patch0: rpm-4.4.1-posttrans.patch
Jeremy Katz db3f00
Patch1: rpm-4.4.1-gcc4.patch
Jeremy Katz 5cc457
Patch2: rpm-4.4.1-hkp-disable.patch
Jeremy Katz a5a473
Patch3: rpm-4.4.1-read-macro.patch
cvsdist 65b2a0
License: GPL
cvsdist 1bdb86
Conflicts: patch < 2.5
cvsdist 1bdb86
%ifos linux
cvsdist 1e642b
Prereq: fileutils shadow-utils
cvsdist 9eb5b2
%endif
jbj 80c00d
Requires: popt = 1.10.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
jbj 80c00d
BuildRequires: beecrypt-devel >= 4.1.2
jbj 80c00d
Requires: beecrypt >= 4.1.2
jbj 80c00d
jbj 80c00d
BuildRequires: neon-devel
jbj c14aa4
BuildRequires: sqlite-devel
cvsdist 103d42
cvsdist 9eb5b2
# XXX Red Hat 5.2 has not bzip2 or python
cvsdist 9eb5b2
%if %{with_bzip2}
jbj abbbab
BuildRequires: bzip2-devel >= 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 98655b
%package libs
cvsdist 98655b
Summary:  Libraries for manipulating RPM packages.
cvsdist 98655b
Group: Development/Libraries
cvsdist 98655b
cvsdist 98655b
%description libs
cvsdist 98655b
This package contains the RPM shared libraries.
cvsdist 98655b
cvsdist 1bdb86
%package devel
cvsdist 02edfd
Summary:  Development files for manipulating RPM packages.
cvsdist 1bdb86
Group: Development/Libraries
cvsdist 98655b
Requires: rpm = %{rpm_version}-%{release}
jbj e16dc3
Requires: beecrypt >= 4.1.2
jbj abbbab
Requires: neon-devel
jbj c14aa4
Requires: sqlite-devel
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 98655b
Requires: rpm = %{rpm_version}-%{release}, 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 98655b
Requires: rpm = %{rpm_version}-%{release}
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
jbj 80c00d
Version: 1.10.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
Jeremy Katz c02361
%patch0 -p0 
Jeremy Katz db3f00
%patch1 -p1
Jeremy Katz 5cc457
%patch2 -p1
Jeremy Katz a5a473
%patch3 -p1 
jbj be4634
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
jbj 80c00d
export CPPFLAGS=-I%{__prefix}/include 
cvsdist 65b2a0
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{__prefix} $WITH_PYTHON \
cvsdist 02edfd
	--without-javaglue
cvsdist 87eb98
%endif
cvsdist 87eb98
jbj 690ce2
make -C zlib || :
jbj 690ce2
jbj 80c00d
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 \
jbj e16dc3
	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 -f .%{__prefix}/lib/rpm/{Specfile.pm,cpanflute,cpanflute2,rpmdiff,rpmdiff.cgi,sql.prov,sql.req,tcl.req}
cvsdist 02edfd
  rm -rf .%{__mandir}/{fr,ko}
jbj 80c00d
%if %{with_python_subpackage}
jbj 80c00d
  rm -f .%{__libdir}/python%{with_python_version}/site-packages/*.{a,la}
jbj 80c00d
  rm -f .%{__libdir}/python%{with_python_version}/site-packages/rpm/*.{a,la}
jbj 80c00d
%endif
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
jbj 80c00d
# XXX Detect (and remove) incompatible dbenv files during db-4.3.14 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 |
jbj 80c00d
grep "db_stat: Program version 4.3 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 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 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
jbj f5ec03
%rpmattr	%{__prefix}/lib/rpm/freshen.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
jbj 80c00d
%ifarch i386 i486 i586 i686 athlon pentium3 pentium4
cvsdist 4370f6
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/i[3456]86*
cvsdist 698b80
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/athlon*
jbj 80c00d
%attr(-, rpm, rpm)		%{__prefix}/lib/rpm/pentium*
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
jbj 80c00d
%rpmattr	%{__prefix}/lib/rpm/rpmdb_*
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 98655b
%files libs
cvsdist 98655b
%defattr(-,root,root)
jbj 80c00d
%{__libdir}/librpm-4.4.so
jbj 80c00d
%{__libdir}/librpmdb-4.4.so
jbj 80c00d
%{__libdir}/librpmio-4.4.so
jbj 80c00d
%{__libdir}/librpmbuild-4.4.so
cvsdist 98655b
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
jbj 6f6532
%rpmattr	%{__prefix}/lib/rpm/pythondeps.sh
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)
jbj 80c00d
%{__libdir}/python%{with_python_version}/site-packages/poptmodule*
jbj 80c00d
%{__libdir}/python%{with_python_version}/site-packages/rpm
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
jbj c14aa4
* Wed Mar  9 2005 Jeff Johnson <jbj@jbj.org> 4.4.1-7
jbj c14aa4
- rebuild against renamed sqlite package (#149719).
jbj c14aa4
Jeremy Katz a5a473
* Mon Mar  7 2005 Jeremy Katz <katzj@redhat.com> - 4.4.1-6
Jeremy Katz a5a473
- fix build with new glibc
Jeremy Katz a5a473
Jeremy Katz 5cc457
* Mon Mar  7 2005 Jeremy Katz <katzj@redhat.com> - 4.4.1-5
Jeremy Katz 5cc457
- disable hkp by default
Jeremy Katz 5cc457
Jeremy Katz db3f00
* Tue Mar  1 2005 Jeremy Katz <katzj@redhat.com> - 4.4.1-4
Jeremy Katz db3f00
- fix build with gcc 4
Jeremy Katz db3f00
Jeremy Katz c02361
* Mon Feb 28 2005 Jeremy Katz <katzj@redhat.com> - 4.4.1-3
Jeremy Katz c02361
- fix posttrans callback check being backwards (#149524)
Jeremy Katz c02361
jbj f2efff
* Sun Feb 13 2005 Jeff Johnson <jbj@jbj.org> 4.4.1-1
jbj f2efff
- don't classify files in /dev (#146623).
jbj f2efff
- don't build with sqlite3 if <sqlite3.h> is missing.
jbj f2efff
jbj f2efff
* Sat Feb 12 2005 Jeff Johnson <jbj@jbj.org> 4.4.1-0.24
jbj f2efff
- zlib: uniqify certain symbols to prevent name space pollution.
jbj f2efff
- macosx: include <sys/types.h> so that python sees the u_char typedef.
jbj f2efff
- macosx: change to --prefix=/usr rather than /opt/local.
jbj f2efff
- use waitpid rather than SIGCHLD reaper.
jbj f2efff
- rip out DB_PRIVATE revert if not NPTL, it's not the right thing to do.
jbj f2efff
jbj e16dc3
* Fri Feb 11 2005 Jeff Johnson <jbj@jbj.org> 4.4.1-0.22
jbj e16dc3
- permit build scriptlet interpreters to be individually overridden.
jbj e16dc3
jbj abbbab
* Thu Feb 10 2005 Jeff Johnson <jbj@jbj.org> 4.4.1-0.20
jbj abbbab
- perform callbacks as always (#147537).
jbj abbbab
jbj 80c00d
* Wed Feb  2 2005 Jeff Johnson <jbj@jbj.org> 4.4.1-0.16
jbj 80c00d
- fix: length of gpg V4 hash seed was incorrect (#146896).
jbj 80c00d
- add support for V4 rfc-2440 signatures.
jbj 80c00d
jbj 80c00d
* Mon Jan 31 2005 Jeff Johnson <jbj@jbj.org> 4.4.1-0.14
jbj 80c00d
- add sqlite internal (build still expects external sqlite3-3.0.8).
jbj 80c00d
- sqlite: revert to original narrow scoping of cOpen/cClose.
jbj 80c00d
jbj 80c00d
* Fri Jan 28 2005 Jeff Johnson <jbj@jbj.org> 4.4.1-0.12
jbj 80c00d
- python: force dbMatch() h# key to be 32 bit integer (#146477).
jbj 80c00d
jbj 80c00d
* Tue Jan 25 2005 Jeff Johnson <jbj@jbj.org> 4.4.1-0.10
jbj 80c00d
- more macosx fiddles.
jbj 80c00d
- move global /var/lock/rpm/transaction to dbpath.
jbj 80c00d
- permit fcntl path to be configured through rpmlock_path macro.
jbj 80c00d
- add missing #if defined(ENABLE_NLS) (#146184).
jbj 80c00d
jbj 80c00d
* Mon Jan 17 2005 Jeff Johnson <jbj@jbj.org> 4.4.1-0.8
jbj 80c00d
- changes to build on Mac OS X using darwinports neon/beecrypt.
jbj 80c00d
- add https://svn.uhulinux.hu/packages/dev/zlib/patches/02-rsync.patch
jbj 80c00d
jbj 80c00d
* Sun Jan  9 2005 Jeff Johnson <jbj@jbj.org> 4.4.1-0.7
jbj 80c00d
- build against external/internal neon.
jbj 80c00d
jbj 80c00d
* Tue Jan  4 2005 Jeff Johnson <jbj@jbj.org> 4.4.1-0.6
jbj 80c00d
- mac os x patches (#131943,#131944,#132924,#132926).
jbj 80c00d
- mac os x patches (#133611, #133612, #134637).
jbj 80c00d
jbj 80c00d
* Sun Jan  2 2005 Jeff Johnson <jbj@jbj.org> 4.4.1-0.5
jbj 80c00d
- upgrade to db-4.3.27.
jbj 80c00d
- revert MAGIC_COMPRESS, real fix is in libmagic (#143782).
jbj 80c00d
- upgrade to file-4.12 internal.
jbj 80c00d
jbj 80c00d
* Tue Dec  7 2004 Jeff Johnson <jbj@jbj.org> 4.4.1-0.3
jbj 80c00d
- use package color as Obsoletes: color.
jbj 80c00d
jbj 80c00d
* Mon Dec  6 2004 Jeff Johnson <jbj@jbj.org> 4.4.1-0.2
jbj 5cba55
- automagically detect and emit "python(abi) = 2.4" dependencies.
jbj 80c00d
- popt 1.10.1 to preserve newer.
jbj 5cba55
jbj 80c00d
* Sun Dec  5 2004 Jeff Johnson <jbj@jbj.org> 4.4.1-0.1
jbj 5cba55
- force *.py->*.pyo byte code compilation with brp-python-bytecompile.