auto-import changelog data from rpm-4.0.4-0.11.src.rpm
Fri Jan 11 2002 Jeff Johnson <jbj@redhat.com> - permit subset installs for %lang colored hardlink file sets. Thu Jan 10 2002 Jeff Johnson <jbj@redhat.com> - fix: signing multiple times dinna work, discard immutable region. - remove poptmodule.so for separate packaging. Wed Jan 09 2002 Jeff Johnson <jbj@redhat.com> - permit gpg/pgp/pgp5 execs to be reconfigured. Tue Jan 08 2002 Jeff Johnson <jbj@redhat.com> - use db-4.0.14 final internally. - make rpm-perl package self-hosting (#57748).
This commit is contained in:
parent
7474a32ffa
commit
edd8e69bc1
52
rpm.spec
52
rpm.spec
@ -1,6 +1,6 @@
|
||||
%define with_python_subpackage 1
|
||||
%define with_python_version 2.2
|
||||
%define with_perl_subpackage 0
|
||||
%define with_python_subpackage 1%{nil}
|
||||
%define with_python_version 2.2%{nil}
|
||||
%define with_perl_subpackage 1
|
||||
%define with_bzip2 1%{nil}
|
||||
%define with_apidocs 1%{nil}
|
||||
%define with_internal_db 1%{nil}
|
||||
@ -15,12 +15,12 @@
|
||||
%define __prefix /usr
|
||||
%{expand: %%define __share %(if [ -d %{__prefix}/share/man ]; then echo /share ; else echo %%{nil} ; fi)}
|
||||
|
||||
Summary: The Red Hat package management system.
|
||||
Summary: The RPM package management system.
|
||||
Name: rpm
|
||||
%define version 4.0.4
|
||||
Version: %{version}
|
||||
%{expand: %%define rpm_version %{version}}
|
||||
Release: 0.7
|
||||
Release: 0.11
|
||||
Group: System Environment/Base
|
||||
Source: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/rpm-%{rpm_version}.tar.gz
|
||||
Copyright: GPL
|
||||
@ -62,13 +62,13 @@ package consists of an archive of files along with information about
|
||||
the package like its version, a description, etc.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for applications which will manipulate RPM packages.
|
||||
Summary: Development files for manipulating RPM packages.
|
||||
Group: Development/Libraries
|
||||
Requires: rpm = %{rpm_version}, popt = 1.6.4
|
||||
|
||||
%description devel
|
||||
This package contains the RPM C library and header files. These
|
||||
development files will simplify the process of writing programs which
|
||||
development files will simplify the process of writing programs that
|
||||
manipulate RPM packages and databases. These files are intended to
|
||||
simplify the process of creating graphical package managers or any
|
||||
other tools that need an intimate knowledge of RPM packages in order
|
||||
@ -83,8 +83,8 @@ Group: Development/Tools
|
||||
Requires: rpm = %{rpm_version}
|
||||
|
||||
%description build
|
||||
This package contains scripts and executable programs that are used to
|
||||
build packages using RPM.
|
||||
The rpm-build package contains the scripts and executable programs
|
||||
that are used to build packages using the RPM Package Manager.
|
||||
|
||||
%if %{with_python_subpackage}
|
||||
%package python
|
||||
@ -95,14 +95,14 @@ Requires: python >= %{with_python_version}
|
||||
Requires: popt = 1.6.4
|
||||
|
||||
%description python
|
||||
The rpm-python package contains a module which permits applications
|
||||
The rpm-python package contains a module that permits applications
|
||||
written in the Python programming language to use the interface
|
||||
supplied by RPM (RPM Package Manager) libraries.
|
||||
supplied by the RPM Package Manager libraries.
|
||||
|
||||
This package should be installed if you want to develop Python
|
||||
programs that will manipulate RPM packages and databases.
|
||||
%endif
|
||||
|
||||
%endif
|
||||
%if %{with_perl_subpackage}
|
||||
%package perl
|
||||
Summary: Native bindings to the RPM API for Perl.
|
||||
@ -134,7 +134,6 @@ constants, through RPM::Error and RPM::Constants, respectively, are
|
||||
also available.
|
||||
|
||||
%endif
|
||||
|
||||
%package -n popt
|
||||
Summary: A C library for parsing command line parameters.
|
||||
Group: Development/Libraries
|
||||
@ -150,9 +149,6 @@ arguments to be aliased via configuration files and includes utility
|
||||
functions for parsing arbitrary strings into argv[] arrays using
|
||||
shell-like rules.
|
||||
|
||||
Install popt if you're a C programmer and you'd like to use its
|
||||
capabilities.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
@ -175,7 +171,8 @@ make
|
||||
{ cd Perl-RPM
|
||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||
export SUBDIR="%{_builddir}/%{buildsubdir}"
|
||||
make INC="-I. -I$SUBDIR/lib -I$SUBDIR/rpmio -I$SUBDIR/popt" %{?_smp_mflags}
|
||||
make INC="-I. -I$SUBDIR/lib -I$SUBDIR/rpmdb -I$SUBDIR/rpmio -I$SUBDIR/popt" \
|
||||
LDDLFLAGS="-shared -L$SUBDIR/lib/.libs -L$SUBDIR/rpmdb/.libs -L$SUBDIR/rpmio/.libs -L$SUBDIR/popt/.libs" %{?_smp_mflags}
|
||||
}
|
||||
%endif
|
||||
|
||||
@ -222,7 +219,10 @@ gzip -9n apidocs/man/man*/* || :
|
||||
eval `perl '-V:installsitearch'`
|
||||
eval `perl '-V:installarchlib'`
|
||||
mkdir -p $RPM_BUILD_ROOT/$installarchlib
|
||||
make PREFIX=$RPM_BUILD_ROOT/usr install
|
||||
make PREFIX=${RPM_BUILD_ROOT}%{__prefix} \
|
||||
INSTALLMAN1DIR=${RPM_BUILD_ROOT}%{__prefix}%{__share}/man/man1 \
|
||||
INSTALLMAN3DIR=${RPM_BUILD_ROOT}%{__prefix}%{__share}/man/man3 \
|
||||
install
|
||||
rm -f $RPM_BUILD_ROOT/$installarchlib/perllocal.pod
|
||||
rm -f $RPM_BUILD_ROOT/$installsitearch/auto/RPM/.packlist
|
||||
cd ..
|
||||
@ -450,7 +450,7 @@ fi
|
||||
%files python
|
||||
%defattr(-,root,root)
|
||||
%{__prefix}/lib/python%{with_python_version}/site-packages/rpmmodule.so
|
||||
%{__prefix}/lib/python%{with_python_version}/site-packages/poptmodule.so
|
||||
#%{__prefix}/lib/python%{with_python_version}/site-packages/poptmodule.so
|
||||
%endif
|
||||
|
||||
%if %{with_perl_subpackage}
|
||||
@ -512,6 +512,20 @@ fi
|
||||
%{__prefix}/include/popt.h
|
||||
|
||||
%changelog
|
||||
* Fri Jan 11 2002 Jeff Johnson <jbj@redhat.com>
|
||||
- permit subset installs for %lang colored hardlink file sets.
|
||||
|
||||
* Thu Jan 10 2002 Jeff Johnson <jbj@redhat.com>
|
||||
- fix: signing multiple times dinna work, discard immutable region.
|
||||
- remove poptmodule.so for separate packaging.
|
||||
|
||||
* Wed Jan 9 2002 Jeff Johnson <jbj@redhat.com>
|
||||
- permit gpg/pgp/pgp5 execs to be reconfigured.
|
||||
|
||||
* Tue Jan 8 2002 Jeff Johnson <jbj@redhat.com>
|
||||
- use db-4.0.14 final internally.
|
||||
- make rpm-perl package self-hosting (#57748).
|
||||
|
||||
* Mon Jan 7 2002 Jeff Johnson <jbj@redhat.com>
|
||||
- Depends should use CDB if configured.
|
||||
- autodetect python 1.5/2.2.
|
||||
|
Loading…
Reference in New Issue
Block a user