Panu Matilainen cbac7f
# rawhide doesn't have new enough lzma yet
Panu Matilainen cbac7f
%bcond_with lzma
Panu Matilainen cbac7f
# sqlite backend is broken atm, disabled for now
Panu Matilainen cbac7f
%bcond_with sqlite
Panu Matilainen cbac7f
# just for giggles, option to build with internal Berkeley DB
Panu Matilainen cbac7f
%bcond_with int_bdb
Panu Matilainen 9ea2c1
# run internal testsuite?
Panu Matilainen 9ea2c1
%bcond_without check
Panu Matilainen cbac7f
Panu Matilainen 7c2903
# switch rpm itself back to md5 file digests until the dust settles a bit
Panu Matilainen 7c2903
%define _source_filedigest_algorithm 0
Panu Matilainen 7c2903
%define _binary_filedigest_algorithm 0
Panu Matilainen 7c2903
Panu Matilainen cbac7f
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
cvsdist 921826
Panu Matilainen f780b8
%define rpmhome /usr/lib/rpm
cvsdist 02edfd
Panu Matilainen b60210
%define rpmver 4.7.0
Panu Matilainen 60eb94
%define snapver {nil}
Panu Matilainen 60eb94
%define srcver %{rpmver}
Panu Matilainen cbac7f
Panu Matilainen 61eecf
%define bdbver 4.7.25
Panu Matilainen 61eecf
%define dbprefix db
Panu Matilainen cbac7f
Paul Nasrat b1ecff
Summary: The RPM package management system
cvsdist 1bdb86
Name: rpm
Panu Matilainen cbac7f
Version: %{rpmver}
Panu Matilainen c14960
Release: 2%{?dist}
cvsdist 1bdb86
Group: System Environment/Base
Paul Nasrat b1ecff
Url: http://www.rpm.org/
Panu Matilainen b60210
Source0: http://rpm.org/releases/testing/%{name}-%{srcver}.tar.bz2
Panu Matilainen cbac7f
%if %{with int_bdb}
Panu Matilainen cbac7f
Source1: db-%{bdbver}.tar.gz
Panu Matilainen cbac7f
%endif
Panu Matilainen c66608
Source10: desktop-file.prov
Panu Matilainen 0a87f6
Source11: fontconfig.prov
Panu Matilainen cbac7f
Panu Matilainen b60210
Patch0: rpm-4.7.0-devel-autodep.patch
Panu Matilainen cbac7f
Patch1: rpm-4.5.90-pkgconfig-path.patch
Panu Matilainen 9ba3bc
Patch2: rpm-4.5.90-gstreamer-provides.patch
Panu Matilainen 4b92b8
# Fedora specspo is setup differently than what rpm expects, considering
Panu Matilainen 4b92b8
# this as Fedora-specific patch for now
Panu Matilainen 4b92b8
Patch3: rpm-4.6.0-fedora-specspo.patch
Panu Matilainen cbac7f
Panu Matilainen 57f2a1
# Patches already in upstream
Panu Matilainen 57f2a1
Jesse Keating 3bb32d
# These are not yet upstream
Panu Matilainen b60210
Patch300: rpm-4.7.0-extra-provides.patch
Panu Matilainen c859c6
Patch301: rpm-4.6.0-niagara.patch
Panu Matilainen ac1dca
Panu Matilainen cbac7f
# Partially GPL/LGPL dual-licensed and some bits with BSD
Panu Matilainen cbac7f
# SourceLicense: (GPLv2+ and LGPLv2+ with exceptions) and BSD 
Panu Matilainen 412a63
License: GPLv2+
Panu Matilainen 412a63
Panu Matilainen 2c9332
Requires(post): coreutils
Jindrich Novy e0e4c4
%if %{without int_bdb}
Panu Matilainen 61eecf
# db recovery tools, rpmdb_util symlinks
Panu Matilainen 61eecf
Requires: db4-utils = %{bdbver}
Jindrich Novy e0e4c4
%endif
Panu Matilainen e91007
Requires: popt >= 1.10.2.1
Paul Nasrat c4acc0
Requires: crontabs
Panu Matilainen 1c9fae
Requires: logrotate
Panu Matilainen cbac7f
Requires: curl
Panu Matilainen cbac7f
Panu Matilainen cbac7f
%if %{without int_bdb}
Panu Matilainen 61eecf
BuildRequires: db4-devel = %{bdbver}
Panu Matilainen cbac7f
%endif
cvsdist 9eb5b2
Panu Matilainen b60210
%if %{with check}
Panu Matilainen b60210
BuildRequires: fakechroot
Panu Matilainen b60210
%endif
Panu Matilainen b60210
Panu Matilainen f780b8
# XXX generally assumed to be installed but make it explicit as rpm
Panu Matilainen f780b8
# is a bit special...
Panu Matilainen f780b8
BuildRequires: redhat-rpm-config
Panu Matilainen 223b2f
BuildRequires: gawk
Paul Nasrat a5c9d4
BuildRequires: elfutils-devel >= 0.112
Panu Matilainen cbac7f
BuildRequires: elfutils-libelf-devel
Paul Nasrat b1ecff
BuildRequires: readline-devel zlib-devel
Panu Matilainen 34fad6
BuildRequires: nss-devel
Panu Matilainen cbac7f
# The popt version here just documents an older known-good version
Panu Matilainen cbac7f
BuildRequires: popt-devel >= 1.10.2
Panu Matilainen cbac7f
BuildRequires: file-devel
Paul Nasrat 5d7ac9
BuildRequires: gettext-devel
Paul Nasrat 1d8748
BuildRequires: libselinux-devel
Paul Nasrat 534eb1
BuildRequires: ncurses-devel
jbj abbbab
BuildRequires: bzip2-devel >= 0.9.0c-2
Panu Matilainen cbac7f
BuildRequires: python-devel >= 2.2
Panu Matilainen cbac7f
BuildRequires: lua-devel >= 5.1
Panu Matilainen cbac7f
%if %{with lzma}
Panu Matilainen cbac7f
BuildRequires: lzma-devel >= 4.42
Panu Matilainen cbac7f
%endif
Panu Matilainen cbac7f
%if %{with sqlite}
Panu Matilainen cbac7f
BuildRequires: sqlite-devel
Panu Matilainen cbac7f
%endif
Panu Matilainen b60210
# Not enabling these yet
Panu Matilainen b60210
# BuildRequires: libcap-devel libacl-devel
Panu Matilainen 412a63
Panu Matilainen 2c9332
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
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
Paul Nasrat b1ecff
Summary:  Libraries for manipulating RPM packages
cvsdist 98655b
Group: Development/Libraries
Panu Matilainen 412a63
License: GPLv2+ and LGPLv2+ with exceptions
Panu Matilainen c0e815
Requires: rpm = %{version}-%{release}
cvsdist 98655b
cvsdist 98655b
%description libs
cvsdist 98655b
This package contains the RPM shared libraries.
cvsdist 98655b
cvsdist 1bdb86
%package devel
Paul Nasrat b1ecff
Summary:  Development files for manipulating RPM packages
cvsdist 1bdb86
Group: Development/Libraries
Panu Matilainen 412a63
License: GPLv2+ and LGPLv2+ with exceptions
Panu Matilainen c0e815
Requires: rpm = %{version}-%{release}
Panu Matilainen cbac7f
Requires: pkgconfig
Panu Matilainen 34fad6
Requires: nss-devel 
Paul Nasrat 6a92fd
Requires: libselinux-devel
Paul Nasrat b691d6
Requires: elfutils-libelf-devel
Panu Matilainen e3543e
Requires: popt-devel
Panu Matilainen cbac7f
%if %{with lzma}
Panu Matilainen cbac7f
Requires: lzma-devel >= 4.42
Panu Matilainen cbac7f
%endif
Panu Matilainen cbac7f
%if %{with sqlite}
Panu Matilainen cbac7f
Requires: sqlite-devel
Panu Matilainen cbac7f
%endif
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
Paul Nasrat b1ecff
Summary: Scripts and executable programs used to build packages
cvsdist 1bdb86
Group: Development/Tools
Panu Matilainen 61cb76
Requires: rpm = %{version}-%{release}
Panu Matilainen 61cb76
Requires: elfutils >= 0.128 binutils
Panu Matilainen 44830a
Requires: findutils sed grep gawk diffutils file patch >= 2.5
Panu Matilainen cbac7f
Requires: unzip gzip bzip2 cpio lzma
Panu Matilainen 8f38da
Requires: pkgconfig
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
%package python
Paul Nasrat b1ecff
Summary: Python bindings for apps which will manipulate RPM packages
cvsdist a37c64
Group: Development/Libraries
Panu Matilainen c0e815
Requires: rpm = %{version}-%{release}
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 b60fd6
Panu Matilainen f780b8
%package apidocs
Panu Matilainen f780b8
Summary: API documentation for RPM libraries
Panu Matilainen f780b8
Group: Documentation
Panu Matilainen 3c64bc
BuildArch: noarch
Panu Matilainen f780b8
Panu Matilainen f780b8
%description apidocs
Panu Matilainen f780b8
This package contains API documentation for developing applications
Panu Matilainen f780b8
that will manipulate RPM packages and databases.
Panu Matilainen f780b8
cvsdist 1bdb86
%prep
Panu Matilainen cbac7f
%setup -q -n %{name}-%{srcver} %{?with_int_bdb:-a 1}
Panu Matilainen cbac7f
%patch0 -p1 -b .devel-autodep
Panu Matilainen cbac7f
%patch1 -p1 -b .pkgconfig-path
Panu Matilainen 9ba3bc
%patch2 -p1 -b .gstreamer-prov
Panu Matilainen 4b92b8
%patch3 -p1 -b .fedora-specspo
Panu Matilainen 7c8e00
Panu Matilainen c66608
%patch300 -p1 -b .extra-prov
Panu Matilainen c859c6
%patch301 -p1 -b .niagara
Panu Matilainen cbac7f
Panu Matilainen cbac7f
%if %{with int_bdb}
Panu Matilainen cbac7f
ln -s db-%{bdbver} db
Panu Matilainen cbac7f
%endif
Panu Matilainen 6d40e7
Panu Matilainen f780b8
%build
Panu Matilainen cbac7f
%if %{without int_bdb}
Panu Matilainen 61eecf
#CPPFLAGS=-I%{_includedir}/db%{bdbver} 
Panu Matilainen 61eecf
#LDFLAGS=-L%{_libdir}/db%{bdbver}
Panu Matilainen cbac7f
%endif
Panu Matilainen 353e51
CPPFLAGS="$CPPFLAGS `pkg-config --cflags nss`"
Panu Matilainen 20231b
CFLAGS="$RPM_OPT_FLAGS"
Panu Matilainen 20231b
export CPPFLAGS CFLAGS LDFLAGS
Panu Matilainen 20231b
Panu Matilainen 20231b
# Using configure macro has some unwanted side-effects on rpm platform
Panu Matilainen 20231b
# setup, use the old-fashioned way for now only defining minimal paths.
Panu Matilainen 20231b
./configure \
Panu Matilainen 20231b
    --prefix=%{_usr} \
Panu Matilainen 20231b
    --sysconfdir=%{_sysconfdir} \
Panu Matilainen 20231b
    --localstatedir=%{_var} \
Panu Matilainen 1fe007
    --sharedstatedir=%{_var}/lib \
Panu Matilainen 20231b
    --libdir=%{_libdir} \
Panu Matilainen cbac7f
    %{!?with_int_bdb: --with-external-db} \
Panu Matilainen cbac7f
    %{?with_sqlite: --enable-sqlite3} \
Panu Matilainen cbac7f
    --with-lua \
Panu Matilainen cbac7f
    --with-selinux \
Panu Matilainen cbac7f
    --enable-python
cvsdist 87eb98
jbj 80c00d
make %{?_smp_mflags}
cvsdist 1bdb86
cvsdist 1bdb86
%install
cvsdist 1bdb86
rm -rf $RPM_BUILD_ROOT
cvsdist 1bdb86
cvsdist 65b2a0
make DESTDIR="$RPM_BUILD_ROOT" install
cvsdist 9eb5b2
cvsdist 4370f6
# Save list of packages through cron
Panu Matilainen f780b8
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily
Panu Matilainen f780b8
install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily/rpm
cvsdist 4370f6
Panu Matilainen f780b8
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d
Panu Matilainen f780b8
install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/rpm
cvsdist 4370f6
Panu Matilainen 0a87f6
install -p -m 755 %{SOURCE10} %{SOURCE11} ${RPM_BUILD_ROOT}%{rpmhome}/
Panu Matilainen c66608
Panu Matilainen f780b8
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
cvsdist 1bdb86
cvsdist 4370f6
mkdir -p $RPM_BUILD_ROOT/var/lib/rpm
cvsdist 4370f6
for dbi in \
Panu Matilainen cbac7f
    Basenames Conflictname Dirnames Group Installtid Name Packages \
Panu Matilainen cbac7f
    Providename Provideversion Requirename Requireversion Triggername \
Panu Matilainen cbac7f
    Filedigests Pubkeys Sha1header Sigmd5 \
Panu Matilainen cbac7f
    __db.001 __db.002 __db.003 __db.004 __db.005 __db.006 __db.007 \
Panu Matilainen cbac7f
    __db.008 __db.009
cvsdist 4370f6
do
cvsdist 4370f6
    touch $RPM_BUILD_ROOT/var/lib/rpm/$dbi
cvsdist 4370f6
done
cvsdist 4370f6
Panu Matilainen 1fe007
# plant links to db utils as rpmdb_foo so existing documantion is usable
Panu Matilainen 1fe007
%if %{without int_bdb}
Panu Matilainen 1fe007
for dbutil in \
Panu Matilainen 1fe007
    archive deadlock dump load printlog \
Panu Matilainen 0b7fe4
    recover stat upgrade verify
Panu Matilainen 1fe007
do
Panu Matilainen 61eecf
    ln -s ../../bin/%{dbprefix}_${dbutil} $RPM_BUILD_ROOT/%{rpmhome}/rpmdb_${dbutil}
Panu Matilainen 1fe007
done
Panu Matilainen 61eecf
ln -s ../../bin/berkeley_%{dbprefix}_svc $RPM_BUILD_ROOT/%{rpmhome}/rpmdb_svc
Panu Matilainen 1fe007
%endif
Panu Matilainen 1fe007
Panu Matilainen 2c9332
%find_lang %{name}
Panu Matilainen 2c9332
Panu Matilainen cbac7f
find $RPM_BUILD_ROOT -name "*.la"|xargs rm -f
Panu Matilainen f780b8
Panu Matilainen 353e51
# avoid dragging in tonne of perl libs for an unused script
Panu Matilainen 353e51
chmod 0644 $RPM_BUILD_ROOT/%{rpmhome}/perldeps.pl
Panu Matilainen 353e51
Panu Matilainen 1a5c9c
# compress our ChangeLog, it's fairly big...
Panu Matilainen 1a5c9c
bzip2 -9 ChangeLog
Panu Matilainen 1a5c9c
cvsdist 1bdb86
%clean
cvsdist 1bdb86
rm -rf $RPM_BUILD_ROOT
cvsdist 1bdb86
Panu Matilainen b60210
%if %{with check}
Panu Matilainen b60210
%check
Panu Matilainen 60eb94
make check
Panu Matilainen b60210
%endif
Panu Matilainen b60210
Jeremy Katz b914fc
%post libs -p /sbin/ldconfig
Jeremy Katz b914fc
%postun libs -p /sbin/ldconfig
Jeremy Katz b914fc
Panu Matilainen cbac7f
%posttrans
Panu Matilainen cbac7f
# XXX this is klunky and ugly, rpm itself should handle this
Panu Matilainen cbac7f
dbstat=/usr/lib/rpm/rpmdb_stat
Panu Matilainen cbac7f
if [ -x "$dbstat" ]; then
Panu Matilainen 353e51
    if "$dbstat" -e -h /var/lib/rpm 2>&1 | grep -q "doesn't match environment version \| Invalid argument"; then
Panu Matilainen cbac7f
        rm -f /var/lib/rpm/__db.* 
Panu Matilainen cbac7f
    fi
Panu Matilainen cbac7f
fi
Panu Matilainen cbac7f
exit 0
cvsdist 4370f6
Panu Matilainen 2c9332
%files -f %{name}.lang
Paul Nasrat b1ecff
%defattr(-,root,root,-)
Panu Matilainen 1a5c9c
%doc GROUPS COPYING CREDITS ChangeLog.bz2 doc/manual/[a-z]*
Paul Nasrat b1ecff
Panu Matilainen f780b8
%{_sysconfdir}/cron.daily/rpm
Panu Matilainen f780b8
%config(noreplace,missingok)    %{_sysconfdir}/logrotate.d/rpm
Panu Matilainen f780b8
%dir                            %{_sysconfdir}/rpm
Paul Nasrat b1ecff
Panu Matilainen cbac7f
%attr(0755, root, root)   %dir /var/lib/rpm
Panu Matilainen cbac7f
%attr(0644, rpm, rpm) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/lib/rpm/*
Panu Matilainen cbac7f
%attr(0755, root, root) %dir %{rpmhome}
Panu Matilainen 3fd553
Panu Matilainen 3fd553
/bin/rpm
Panu Matilainen 3fd553
%{_bindir}/rpm2cpio
Panu Matilainen 3fd553
%{_bindir}/rpmdb
Panu Matilainen 3fd553
%{_bindir}/rpmsign
Panu Matilainen 3fd553
%{_bindir}/rpmquery
Panu Matilainen 3fd553
%{_bindir}/rpmverify
Panu Matilainen 3fd553
Panu Matilainen f780b8
%{_mandir}/man8/rpm.8*
Panu Matilainen f780b8
%{_mandir}/man8/rpm2cpio.8*
Paul Nasrat b1ecff
Panu Matilainen f780b8
# XXX this places translated manuals to wrong package wrt eg rpmbuild
Panu Matilainen cbac7f
%lang(fr) %{_mandir}/fr/man[18]/*.[18]*
Panu Matilainen cbac7f
%lang(ko) %{_mandir}/ko/man[18]/*.[18]*
Panu Matilainen f780b8
%lang(ja) %{_mandir}/ja/man[18]/*.[18]*
Panu Matilainen f780b8
%lang(pl) %{_mandir}/pl/man[18]/*.[18]*
Panu Matilainen f780b8
%lang(ru) %{_mandir}/ru/man[18]/*.[18]*
Panu Matilainen f780b8
%lang(sk) %{_mandir}/sk/man[18]/*.[18]*
cvsdist 1bdb86
Panu Matilainen cbac7f
%{rpmhome}/macros
Panu Matilainen cbac7f
%{rpmhome}/rpmpopt*
Panu Matilainen cbac7f
%{rpmhome}/rpmrc
Panu Matilainen cbac7f
Panu Matilainen cbac7f
%{rpmhome}/rpmdb_*
Panu Matilainen cbac7f
%{rpmhome}/rpm.daily
Panu Matilainen cbac7f
%{rpmhome}/rpm.log
Panu Matilainen cbac7f
%{rpmhome}/rpm.xinetd
Panu Matilainen cbac7f
%{rpmhome}/rpm2cpio.sh
Panu Matilainen cbac7f
%{rpmhome}/tgpg
Panu Matilainen cbac7f
Panu Matilainen cbac7f
%{rpmhome}/platform
Panu Matilainen cbac7f
cvsdist 98655b
%files libs
cvsdist 98655b
%defattr(-,root,root)
Panu Matilainen b60210
%{_libdir}/librpm*.so.*
cvsdist 98655b
cvsdist 9eb5b2
%files build
cvsdist 9eb5b2
%defattr(-,root,root)
Panu Matilainen 3fd553
%{_bindir}/rpmbuild
Panu Matilainen cbac7f
%{_bindir}/gendiff
Panu Matilainen cbac7f
Panu Matilainen cbac7f
%{_mandir}/man1/gendiff.1*
Panu Matilainen cbac7f
Panu Matilainen 3fd553
%{rpmhome}/brp-*
Panu Matilainen 3fd553
%{rpmhome}/check-buildroot
Panu Matilainen 3fd553
%{rpmhome}/check-files
Panu Matilainen 3fd553
%{rpmhome}/check-prereqs
Panu Matilainen 3fd553
%{rpmhome}/check-rpaths*
Panu Matilainen 3fd553
%{rpmhome}/debugedit
Panu Matilainen 3fd553
%{rpmhome}/find-debuginfo.sh
Panu Matilainen 3fd553
%{rpmhome}/find-lang.sh
Panu Matilainen 3fd553
%{rpmhome}/find-provides
Panu Matilainen 3fd553
%{rpmhome}/find-requires
Panu Matilainen 3fd553
%{rpmhome}/javadeps
Panu Matilainen 3fd553
%{rpmhome}/mono-find-provides
Panu Matilainen 3fd553
%{rpmhome}/mono-find-requires
Panu Matilainen 3fd553
%{rpmhome}/osgideps.pl
Panu Matilainen 3fd553
%{rpmhome}/perldeps.pl
Panu Matilainen cbac7f
%{rpmhome}/libtooldeps.sh
Panu Matilainen cbac7f
%{rpmhome}/pkgconfigdeps.sh
Panu Matilainen 3fd553
%{rpmhome}/perl.prov
Panu Matilainen 3fd553
%{rpmhome}/perl.req
Panu Matilainen cbac7f
%{rpmhome}/tcl.req
Panu Matilainen 3fd553
%{rpmhome}/pythondeps.sh
Panu Matilainen 3fd553
%{rpmhome}/rpmdeps
Panu Matilainen cbac7f
%{rpmhome}/config.guess
Panu Matilainen cbac7f
%{rpmhome}/config.sub
Panu Matilainen cbac7f
%{rpmhome}/mkinstalldirs
Panu Matilainen cbac7f
%{rpmhome}/rpmdiff*
Panu Matilainen c66608
%{rpmhome}/desktop-file.prov
Panu Matilainen 0a87f6
%{rpmhome}/fontconfig.prov
Panu Matilainen 3fd553
Panu Matilainen cbac7f
%{rpmhome}/macros.perl
Panu Matilainen cbac7f
%{rpmhome}/macros.python
Panu Matilainen cbac7f
%{rpmhome}/macros.php
Panu Matilainen f780b8
Panu Matilainen f780b8
%{_mandir}/man8/rpmbuild.8*
Panu Matilainen f780b8
%{_mandir}/man8/rpmdeps.8*
cvsdist 1bdb86
cvsdist 1bdb86
%files python
cvsdist 1bdb86
%defattr(-,root,root)
Panu Matilainen cbac7f
%{python_sitearch}/rpm
cvsdist b60fd6
cvsdist 1bdb86
%files devel
cvsdist 1bdb86
%defattr(-,root,root)
Panu Matilainen f780b8
%{_includedir}/rpm
Panu Matilainen 68e66c
%{_libdir}/librp*[a-z].so
Panu Matilainen f780b8
%{_mandir}/man8/rpmgraph.8*
Panu Matilainen 3fd553
%{_bindir}/rpmgraph
Panu Matilainen f780b8
Panu Matilainen cbac7f
%{_libdir}/pkgconfig/rpm.pc
Panu Matilainen cbac7f
Panu Matilainen f780b8
%files apidocs
Panu Matilainen f780b8
%defattr(-,root,root)
Panu Matilainen cbac7f
%doc doc/librpm/html/*
cvsdist 1bdb86
cvsdist 1bdb86
%changelog
Panu Matilainen c14960
* Fri Apr 17 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-2
Panu Matilainen c14960
- file classification tweaks for text files (#494817)
Panu Matilainen c14960
  - disable libmagic text token checks, it's way too error-prone
Panu Matilainen c14960
  - consistently classify all text as such and include description
Panu Matilainen c14960
Panu Matilainen 60eb94
* Thu Apr 16 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-1
Panu Matilainen 60eb94
- update to 4.7.0 final (http://rpm.org/wiki/Releases/4.7.0)
Panu Matilainen 60eb94
- fixes #494049, #495429
Panu Matilainen 60eb94
- dont permit test-suite failure anymore
Panu Matilainen 60eb94
Panu Matilainen c859c6
* Thu Apr 09 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-0.rc1.1
Panu Matilainen c859c6
- update to 4.7.0-rc1
Panu Matilainen c859c6
- fixes #493157, #493777, #493696, #491388, #487597, #493162
Panu Matilainen c859c6
Panu Matilainen 1a5c9c
* Fri Apr 03 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-0.beta1.9
Panu Matilainen 1a5c9c
- fix recorded file state of otherwise skipped files (#492947)
Panu Matilainen 1a5c9c
- compress ChangeLog, drop old CHANGES file (#492440)
Panu Matilainen 1a5c9c
Tom Callaway 58f7f1
* Thu Apr  2 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 4.7.0-0.beta1.8
Tom Callaway 58f7f1
- Fix sparcv9v and sparc64v targets
Tom Callaway 58f7f1
Panu Matilainen daefcb
* Tue Mar 24 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-0.beta1.7
Panu Matilainen daefcb
- prefer more specific types over generic "text" in classification (#491349)
Panu Matilainen daefcb
Panu Matilainen ba1a13
* Mon Mar 23 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-0.beta1.6
Panu Matilainen ba1a13
- with the fd leak gone, let libmagic look into compressed files again (#491596)
Panu Matilainen ba1a13
Panu Matilainen 2a1787
* Mon Mar 23 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-0.beta1.5
Panu Matilainen daefcb
- fix font provide generation on filenames with whitespace (#491597)
Panu Matilainen 2a1787
Panu Matilainen 9ea2c1
* Thu Mar 12 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-0.beta1.4
Panu Matilainen 9ea2c1
- handle RSA V4 signatures (#436812)
Panu Matilainen 9ea2c1
- add alpha arch ISA-bits
Panu Matilainen 9ea2c1
- enable internal testsuite on build
Panu Matilainen 9ea2c1
Panu Matilainen e15b00
* Mon Mar 09 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-0.beta1.3
Panu Matilainen e15b00
- fix _install_langs behavior (#489235)
Panu Matilainen e15b00
- fix recording of file states into rpmdb on install
Panu Matilainen e15b00
Panu Matilainen fc8564
* Sun Mar 08 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-0.beta1.2
Panu Matilainen fc8564
- load macros before creating directories on src.rpm install (#489104)
Panu Matilainen fc8564
Panu Matilainen b60210
* Fri Mar 06 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-0.beta1.1
Panu Matilainen b60210
- update to 4.7.0-beta1 (http://rpm.org/wiki/Releases/4.7.0)
Panu Matilainen b60210
Panu Matilainen 7c2903
* Fri Feb 27 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-11
Panu Matilainen 7c2903
- build rpm itself with md5 file digests for now to ensure upgradability
Panu Matilainen 7c2903
Panu Matilainen d05ecc
* Thu Feb 26 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-10
Panu Matilainen d05ecc
- handle NULL passed as EVR in rpmdsSingle() again (#485616)
Panu Matilainen d05ecc
Panu Matilainen 3bc5be
* Wed Feb 25 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-9
Panu Matilainen 3bc5be
- pull out python byte-compile syntax check for now
Panu Matilainen 3bc5be
Panu Matilainen 3c64bc
* Mon Feb 23 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-8
Panu Matilainen 3c64bc
- make -apidocs sub-package noarch
Panu Matilainen 3c64bc
- fix source URL
Panu Matilainen 3c64bc
Panu Matilainen 3f11e3
* Sat Feb 21 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-7
Panu Matilainen 3f11e3
- loosen up restrictions on dependency names (#455119)
Panu Matilainen 3f11e3
- handle inter-dependent pkg-config files for requires too (#473814)
Panu Matilainen 3f11e3
- error/warn on elf binaries in noarch package in build
Panu Matilainen 3f11e3
Panu Matilainen 86a792
* Fri Feb 20 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-6
Panu Matilainen 86a792
- error out on uncompilable python code (Tim Waugh)
Panu Matilainen 86a792
Jindrich Novy aa38a1
* Tue Feb 17 2009 Jindrich Novy <jnovy@redhat.com> - 4.6.0-5
Jindrich Novy aa38a1
- remove two offending hunks from anyarch patch causing that
Jindrich Novy aa38a1
  RPMTAG_BUILDARCHS isn't written to SRPMs
Jindrich Novy aa38a1
Jindrich Novy 84fa91
* Mon Feb 16 2009 Jindrich Novy <jnovy@redhat.com> - 4.6.0-4
Jindrich Novy 84fa91
- inherit group tag from the main package (#470714)
Jindrich Novy 84fa91
- ignore BuildArch tags for anyarch actions (#442105)
Jindrich Novy 84fa91
- don't check package BuildRequires when doing --rmsource (#452477)
Jindrich Novy 84fa91
- don't fail because of missing sources when only spec removal
Jindrich Novy 84fa91
  is requested (#472427)
Jindrich Novy 84fa91
Panu Matilainen 0d875c
* Mon Feb 16 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-3
Panu Matilainen 0d875c
- updated fontconfig provide script - fc-query does all the hard work now
Panu Matilainen 0d875c
Panu Matilainen 61eecf
* Mon Feb 09 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-2
Panu Matilainen 61eecf
- build against db 4.7.x
Panu Matilainen 61eecf
Panu Matilainen cef093
* Fri Feb 06 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-1
Panu Matilainen cef093
- update to 4.6.0 final
Panu Matilainen cef093
- revert libmagic looking into compressed files for now, breaks ooffice build
Panu Matilainen cef093
Panu Matilainen 0a87f6
* Fri Feb 06 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-0.rc4.5
Panu Matilainen 0a87f6
- enable fontconfig provides generation
Panu Matilainen 0a87f6
Panu Matilainen 4b92b8
* Thu Feb 05 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-0.rc4.4
Panu Matilainen 4b92b8
- fixup rpm translation lookup to match Fedora specspo (#436941)
Panu Matilainen 4b92b8
Panu Matilainen c66608
* Wed Feb 04 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-0.rc4.3
Panu Matilainen c66608
- extract mimehandler provides from .desktop files
Panu Matilainen c66608
- preliminaries for extracting font provides (not enabled yet)
Panu Matilainen c66608
- dont classify font metrics data as fonts
Panu Matilainen c66608
- only run script dep extraction once per file, duh
Panu Matilainen c66608
Panu Matilainen c66608
* Sat Jan 31 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-0.rc4.2
Panu Matilainen 1fe007
- change platform sharedstatedir to something more sensible (#185862)
Panu Matilainen 1fe007
- add rpmdb_foo links to db utils for documentation compatibility
Panu Matilainen 1fe007
Panu Matilainen 76dfec
* Fri Jan 30 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-0.rc4.1
Panu Matilainen 76dfec
- update to 4.6.0-rc4
Panu Matilainen 76dfec
- fixes #475582, #478907, #476737, #479869, #476201
Panu Matilainen 76dfec
Panu Matilainen 43b33f
* Fri Dec 12 2008 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-0.rc3.2
Panu Matilainen 43b33f
- add back defaultdocdir patch which hadn't been applied on 4.6.x branch yet
Panu Matilainen 43b33f
Panu Matilainen afa577
* Fri Dec 12 2008 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-0.rc3.1
Panu Matilainen afa577
- add dist-tag, rebuild
Panu Matilainen afa577
Panu Matilainen c542e5
* Tue Dec 09 2008 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-0.rc3.1
Panu Matilainen c542e5
- update to rpm 4.6.0-rc3
Panu Matilainen c542e5
- fixes #475214, #474550, #473239
Panu Matilainen c542e5
Jeremy Katz cbb507
* Wed Dec  3 2008 Jeremy Katz <katzj@redhat.com> - 4.6.0-0.rc2.9
Jeremy Katz cbb507
- I built into the wrong place
Jeremy Katz cbb507
Jeremy Katz 34510a
* Wed Dec  3 2008 Jeremy Katz <katzj@redhat.com> - 4.6.0-0.rc2.8
Jeremy Katz 34510a
- python 2.6 rebuild again
Jeremy Katz 34510a
Panu Matilainen 8f38da
* Wed Dec 03 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen 8f38da
- make rpm-build require pkgconfig (#473978)
Panu Matilainen 8f38da
Panu Matilainen dd1fdd
* Tue Dec 02 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen dd1fdd
- fix pkg-config provide generation when pc's depend on each other (#473814)
Panu Matilainen dd1fdd
Jindrich Novy e603ae
* Mon Dec 01 2008 Jindrich Novy <jnovy@redhat.com>
Jindrich Novy e603ae
- include rpmfileutil.h from rpmmacro.h, unbreaks
Jindrich Novy e603ae
  net-snmp (#473420)
Jindrich Novy e603ae
Panu Matilainen f81e00
* Sun Nov 30 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen f81e00
- rebuild for python 2.6
Panu Matilainen f81e00
Panu Matilainen ae7c31
* Sat Nov 29 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen ae7c31
- update to 4.6.0-rc2
Panu Matilainen ae7c31
- fixes #471820, #473167, #469355, #468319, #472507, #247374, #426672, #444661
Panu Matilainen 7d4388
- enable automatic generation of pkg-config and libtool dependencies #465377
Panu Matilainen ae7c31
Panu Matilainen 97c9cc
* Fri Oct 31 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen 97c9cc
- adjust find-debuginfo for "file" output change (#468129)
Panu Matilainen 97c9cc
Panu Matilainen 18c868
* Tue Oct 28 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen 18c868
- Florian's improved fingerprinting hash algorithm from upstream
Panu Matilainen 18c868
Panu Matilainen b94c24
* Sat Oct 25 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen b94c24
- Make noarch sub-packages actually work
Panu Matilainen b94c24
- Fix defaultdocdir logic in installplatform to avoid hardwiring mandir
Panu Matilainen b94c24
Jindrich Novy e0e4c4
* Fri Oct 24 2008 Jindrich Novy <jnovy@redhat.com>
Jindrich Novy e0e4c4
- update compat-db dependencies (#459710)
Jindrich Novy e0e4c4
Panu Matilainen 13dcfb
* Wed Oct 22 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen 13dcfb
- never add identical NEVRA to transaction more than once (#467822)
Panu Matilainen 13dcfb
Panu Matilainen 57f2a1
* Sun Oct 19 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen 57f2a1
- permit tab as macro argument separator (#467567)
Panu Matilainen 57f2a1
Panu Matilainen 20231b
* Thu Oct 16 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen 20231b
- update to 4.6.0-rc1 
Panu Matilainen 20231b
- fixes #465586, #466597, #465409, #216221, #466503, #466009, #463447...
Panu Matilainen 20231b
- avoid using %%configure macro for now, it has unwanted side-effects on rpm
Panu Matilainen 20231b
Panu Matilainen 353e51
* Wed Oct 01 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen 353e51
- update to official 4.5.90 alpha tarball 
Panu Matilainen 353e51
- a big pile of misc bugfixes + translation updates
Panu Matilainen 353e51
- isa-macro generation fix for ppc (#464754)
Panu Matilainen 353e51
- avoid pulling in pile of perl dependencies for an unused script
Panu Matilainen 353e51
- handle both "invalid argument" and clear env version mismatch on posttrans
Panu Matilainen 353e51
Jindrich Novy ff9e0e
* Thu Sep 25 2008 Jindrich Novy <jnovy@redhat.com>
Jindrich Novy ff9e0e
- don't treat %patch numberless if -P parameter is present (#463942)
Jindrich Novy ff9e0e
Panu Matilainen 9ba3bc
* Thu Sep 11 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen 9ba3bc
- add hack to support extracting gstreamer plugin provides (#438225)
Panu Matilainen 9ba3bc
- fix another macro argument handling regression (#461180)
Panu Matilainen 9ba3bc
Jindrich Novy 507434
* Thu Sep 11 2008 Jindrich Novy <jnovy@redhat.com>
Jindrich Novy 507434
- create directory structure for rpmbuild prior to build if it doesn't exist (#455387)
Jindrich Novy 507434
- create _topdir if it doesn't exist when installing SRPM
Jindrich Novy 507434
- don't generate broken cpio in case of hardlink pointing on softlink,
Jindrich Novy 507434
  thanks to pixel@mandriva.com
Jindrich Novy 507434
Jindrich Novy 2b2e2b
* Sat Sep 06 2008 Jindrich Novy <jnovy@redhat.com>
Jindrich Novy 2b2e2b
- fail hard if patch isn't found (#461347)
Jindrich Novy 2b2e2b
Jindrich Novy d12546
* Mon Sep 01 2008 Jindrich Novy <jnovy@redhat.com>
Jindrich Novy d12546
- fix parsing of boolean expressions in spec (#456103)
Jindrich Novy d12546
  (unbreaks pam, jpilot and maybe other builds)
Jindrich Novy d12546
Jindrich Novy 42d9f1
* Tue Aug 26 2008 Jindrich Novy <jnovy@redhat.com>
Jindrich Novy 42d9f1
- add support for noarch subpackages
Jindrich Novy 42d9f1
- fix segfault in case of insufficient disk space detected (#460146)
Jindrich Novy 42d9f1
Panu Matilainen 05d01e
* Wed Aug 13 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen 05d01e
- 4.5.90-0.git8461.2
Panu Matilainen 05d01e
- fix archivesize tag generation on ppc (#458817)
Panu Matilainen 05d01e
Panu Matilainen e6ae27
* Fri Aug 08 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen e6ae27
- 4.5.90-0.git8461.1
Panu Matilainen e6ae27
- new snapshot from upstream
Panu Matilainen e6ae27
- fixes #68290, #455972, #446202, #453364, #456708, #456103, #456321, #456913,
Panu Matilainen e6ae27
  #458260, #458261
Panu Matilainen e6ae27
- partial fix for #457360
Panu Matilainen e6ae27
Jesse Keating 3bb32d
* Thu Jul 31 2008 Florian Festi <ffesti@redhat.com>
Panu Matilainen e6ae27
- 4.5.90-0.git8427.1
Jesse Keating 3bb32d
- new snapshot from upstream
Jesse Keating 3bb32d
Jesse Keating 3bb32d
* Thu Jul 31 2008 Florian Festi <ffesti@redhat.com>
Jesse Keating 3bb32d
- 4.5.90-0.git8426.10
Jesse Keating 3bb32d
- rpm-4.5.90-posttrans.patch
Jesse Keating 3bb32d
- use header from rpmdb in posttrans to make anaconda happy
Jesse Keating 3bb32d
Panu Matilainen e62394
* Sat Jul 19 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen e62394
- 4.5.90-0.git8426.9
Panu Matilainen e62394
- fix regression in patch number handling (#455872)
Panu Matilainen e62394
Panu Matilainen 469c1c
* Tue Jul 15 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen 469c1c
- 4.5.90-0.git8426.8
Panu Matilainen 469c1c
- fix regression in macro argument handling (#455333)
Panu Matilainen 469c1c
Panu Matilainen 7c8e00
* Mon Jul 14 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen 7c8e00
- 4.5.90-0.git8426.7
Panu Matilainen 7c8e00
- fix mono dependency extraction (adjust for libmagic string change)
Panu Matilainen 7c8e00
Panu Matilainen ac1dca
* Sat Jul 12 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen ac1dca
- 4.5.90-0.git8426.6
Panu Matilainen ac1dca
- fix type mismatch causing funky breakage on ppc64
Panu Matilainen ac1dca
Panu Matilainen cbac7f
* Fri Jul 11 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen cbac7f
- 4.5.90-0.git8426.5
Panu Matilainen cbac7f
- flip back to external bdb
Panu Matilainen cbac7f
- fix tab vs spaces complaints from rpmlint
Panu Matilainen cbac7f
- add dep for lzma and require unzip instead of zip in build (#310694)
Panu Matilainen cbac7f
- add pkgconfig dependency to rpm-devel
Panu Matilainen cbac7f
- drop ISA-dependencies for initial introduction
Panu Matilainen cbac7f
- new snapshot from upstream for documentation fixes
Panu Matilainen cbac7f
Panu Matilainen cbac7f
* Thu Jul 10 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen cbac7f
- 4.5.90-0.git8424.4
Panu Matilainen cbac7f
- handle int vs external db in posttrans too
Panu Matilainen cbac7f
Panu Matilainen cbac7f
* Wed Jul 08 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen cbac7f
- 4.5.90-0.git8424.3
Panu Matilainen cbac7f
- require curl as external url helper
Panu Matilainen cbac7f
Panu Matilainen cbac7f
* Wed Jul 08 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen cbac7f
- 4.5.90-0.git8424.2
Panu Matilainen cbac7f
- add support for building with or without internal db
Panu Matilainen cbac7f
Panu Matilainen cbac7f
* Wed Jul 08 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen cbac7f
- rpm 4.5.90-0.git8424.1 (alpha snapshot)
Panu Matilainen cbac7f
- adjust to build against Berkeley DB 4.5.20 from compat-db for now
Panu Matilainen cbac7f
- add posttrans to clean up db environment mismatch after upgrade
Panu Matilainen cbac7f
- forward-port devel autodeps patch
Panu Matilainen cbac7f
Panu Matilainen cbac7f
* Tue Jul 08 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen cbac7f
- adjust for rpmdb index name change
Panu Matilainen cbac7f
- drop unnecessary vendor-macro patch for real
Panu Matilainen cbac7f
- add ISA-dependencies among rpm subpackages
Panu Matilainen cbac7f
- make lzma and sqlite deps conditional and disabled by default for now
Panu Matilainen cbac7f
Panu Matilainen cbac7f
* Fri Feb 01 2008 Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen cbac7f
- spec largely rewritten, truncating changelog