]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm.spec
update macros.pld for autoconf 2.50; fixes for ac 2.50; popt fixes
[packages/rpm.git] / rpm.spec
index 6ed2c17f72b1727f6336c9074782154c4889c810..080dc81bcbe07f18bead056c268e93a1991399a7 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -1,8 +1,9 @@
 Summary:       Red Hat (and now also PLD) Package Manager
+Summary(de):   Red Hat (und jetzt auch PLD) Packet-Manager
 Summary(pl):   Aplikacja do zarz±dzania pakietami
 Name:          rpm
 Version:       4.0.2
-Release:       11
+Release:       22
 License:       GPL
 Group:         Base
 Group(de):     Gründsätzlich
@@ -32,11 +33,18 @@ Patch9:             %{name}-installplatform.patch
 Patch10:       %{name}-cache.patch
 Patch11:       %{name}-suggestions.patch
 Patch12:       %{name}-rh-lame.patch
+Patch13:       %{name}-glob.patch
+Patch14:       %{name}-header_h.patch  
+Patch15:       %{name}-fast-alAddPackage.patch
+Patch16:       %{name}-byKey.patch
+Patch17:       %{name}-perlprov.patch
+Patch18:       %{name}-noperldir.patch
+Patch19:       popt-cvs20010530.patch
 Patch37:        %{name}-short_circuit.patch
 Patch38:        %{name}-section_test.patch
 BuildRequires: gettext-devel
 BuildRequires: automake
-BuildRequires: db3-devel >= 3.1.17
+BuildRequires: db3-devel >= 3.1.17-9
 BuildRequires: bzip2-devel >= 1.0.1
 BuildRequires: gdbm-devel
 BuildRequires: zlib-devel
@@ -44,10 +52,10 @@ BuildRequires:      gettext-devel >= 0.10.38-3
 BuildRequires: libtool
 BuildRequires: automake
 BuildRequires: autoconf >= 2.13-8
-%if %{!?bcond_off_static:1}%{?bcond_off_static:0}
+BuildRequires: python-modules >= 2.2.1
 BuildRequires: zlib-devel >= 1.1.4
 # Require static library only for static build
-BuildRequires: db3-static >= 3.1.17
+BuildRequires: db3-static >= 3.1.17-9
 BuildRequires: bzip2-static >= 1.0.1
 BuildRequires: gdbm-static
 BuildRequires: zlib-static
@@ -65,16 +73,24 @@ Obsoletes:  rpm-libs
 RPM is a powerful package manager, which can be used to build,
 install, query, verify, update, and uninstall individual software
 packages. A package consists of an archive of files, and package
+information, including name, version, and description.
+
+%description -l de
+RPM ist ein kräftiger Packet-Manager, der verwendet sein kann zur
+Installation, Anfrage, Verifizierung, Aktualisierung und
+Uninstallation individueller Softwarepakete. Ein Paket besteht aus
+einem Archiv Dateien und Paketinformation, inklusive Name, Version und
 nombre, versión y descripción.
 RPM jest doskona³ym menad¿erem pakietów. Dziêki niemu bêdziesz móg³
 %description -l pl
 RPM jest doskona³ym mened¿erem pakietów. Dziêki niemu bêdziesz móg³
 wchodz±cych w sk³ad pakietu, zale¿no¶ci od innych pakietów s±
-przechowywane s± w bazie danych i mo¿na je uzyskaæ za pomoc± opcji
+dotycz±ce ka¿dego pakietu, takie jak jego opis, lista plików
 wchodz±cych w sk³ad pakietu, zale¿no¶ci od innych pakietów, s±
 przechowywane w bazie danych i mo¿na je uzyskaæ za pomoc± opcji
 do pacote, permissões dos arquivos, etc.
-Summary:       Header files and libraries 
+
+%package devel
 Summary(pl):   Pliki nag³ówkowe i biblioteki statyczne 
 Summary(pl):   Pliki nag³ówkowe i biblioteki statyczne
 Group(de):     Entwicklung/Libraries
@@ -89,11 +105,18 @@ Requires:  popt-devel
 The RPM packaging system includes a C library that makes it easy to
 manipulate RPM packages and databases. It is intended to ease the
 creation of graphical package managers and other tools that need
+%description -l de devel
+
+%description devel -l de
+Der RPM-Packensystem enthält eine C-Library, die macht es einfach
+RPM-Pakete und Dateibanken zu manipulieren. Er eignet sich für
+Vereinfachung des Schaffens grafischer Paket-Manager und anderer
 %description -l pl devel
 Pliki nag³ówkowe i biblioteki statyczne.
 graficznych mened¿erów pakietów oraz innych narzêdzi, które wymagaj±
 ferramentas que precisem de conhecimento profundo de pacotes RPM.
 
+%package static
 Summary(pl):   Biblioteki statyczne rpm-a
 Summary(pl):   Biblioteki statyczne RPM-a
 Group(de):     Entwicklung/Libraries
@@ -104,11 +127,15 @@ Group:            Development/Libraries
 Requires:      %{name}-devel = %{version}
 
 %description static
+%description -l de static
+
+%description static -l de
 %description -l pl static
 Biblioteki statyczne rpm-a.
 %description static -l pl
 Bibliotecas estáticas para desenvolvimento.
 
+%package utils
 Summary(pl):   Dodatkowe narzêdzia do zarz±dzania baz± rpm-a i pakietami
 Summary(de):   Zusatzwerkzeuge für Verwaltung RPM-Pakete und Datenbanken
 Group(de):     Applikationen/Datei
@@ -118,11 +145,15 @@ Group:            Applications/File
 Requires:      %{name} = %{version}
 
 %description utils
+%description -l de utils
+
+%description utils -l de
 %description -l pl utils
 Dodatkowe narzêdzia do zarz±dzania baz± rpm-a i pakietami.
 %description utils -l pl
 Dodatkowe narzêdzia do zarz±dzania baz± RPM-a i pakietami.
-Summary:       Additional utilities for check perl provides/requires in rpm packages
+
+%package perlprov
 Summary(pl):   Dodatkowe narzêdzia do sprawdzenia zale¿no¶ci dla skryptów perl w pakietach rpm
 Summary(de):   Zusatzwerkzeuge fürs Nachsehen Perl-Abhängigkeiten in RPM-Paketen
 Group(de):     Applikationen/Datei
@@ -133,12 +164,16 @@ Requires: findutils
 
 %description perlprov
 Additional utilities for checking perl provides/requires in rpm
+%description -l de perlprov
+
+%description perlprov -l de
 %description -l pl perlprov
 Dodatkowe narzêdzia do sprawdzenia zale¿no¶ci dla skryptów perl w
 %description perlprov -l pl
 Dodatkowe narzêdzia do sprawdzenia zale¿no¶ci skryptów perla w
 Python para manipular pacotes e bancos de dados RPM.
 
+%package build
 Summary(pl):   Skrypty pomocnicze do budowania binarnych RPMów
 Summary(pl):   Skrypty pomocnicze do budowania binarnych RPM-ów
 Group(de):     Applikationen/Datei
@@ -157,10 +192,15 @@ Requires: diffutils
 Requires:      libtool
 Requires:      glibc-devel
 Requires:      sed
+Requires:      sed
+Requires:      popt >= 1.6.2-2
 Requires:      tar
 Requires:      textutils
 
 %description build
+%description -l de build
+
+%description build -l de
 %description -l pl build
 Skrypty pomocnicze do budowania binarnych RPMów.
 %description build -l pl
@@ -179,6 +219,13 @@ construir pacotes usando o RPM.
 %patch8 -p1
 %patch11 -p0
 %patch12 -p0
+%patch11 -p0
+%patch12 -p0
+%patch15 -p0
+%patch16 -p0
+%patch15 -p0
+%patch16 -p0
+%patch17 -p1
 %patch31 -p1
 install %{SOURCE2} macros.pld.in
 %patch38 -p1
@@ -194,17 +241,20 @@ install %{SOURCE9} scripts/find-lang.sh
 mv -f perl.req perl.req.in
 mv -f perl.prov perl.prov.in)
 
-(cd popt;
- libtoolize --force --copy
- aclocal
- autoheader
- autoconf
- automake -a -c)
+cd popt
+autoupdate
+awk -f %{SOURCE14} %{SOURCE1}
+
+cd popt
+autoconf
+automake -a -c
+cd ..
 autoheader
+autoupdate
 %{__automake}
 cd ..
 
-autoheader
+libtoolize --force --copy
 autoconf
 # ugly workaround for automake
 sed -e 's#cpio.c $(DBLIBOBJS) depends.c#cpio.c depends.c#g' \
@@ -218,9 +268,7 @@ mv -f lib/Makefile.in.new lib/Makefile.in
        sed 's|@host_cpu@|%{_target_cpu}|' > macros.tmp
        --enable-v1-packages
 %configure \
-%{__make} %{?bcond_off_static:rpm_LDFLAGS="\\$(myLDFLAGS)"}
-sed -e 's/#include <rpmio\.h>/#include <rpm\/rpmio\.h>/g' lib/header.h > lib/header.h.new
-mv -f lib/header.h.new lib/header.h
+       --enable-v1-packages \
        --with-python
 
 
This page took 0.032983 seconds and 4 git commands to generate.