1 Summary: Red Hat (and now also PLD) Package Manager
2 Summary(de): Red Hat (und jetzt auch PLD) Packet-Manager
3 Summary(pl): Aplikacja do zarz±dzania pakietami
9 Group(de): Gründsätzlich
13 Source0: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/%{name}-%{version}.tar.gz
14 Source1: %{name}.groups
15 Source2: %{name}.macros
16 Source3: %{name}-install-tree
17 Source4: %{name}-find-rpm-provides
18 Source5: %{name}-macros.perl
19 Source6: %{name}-find-perl-provides
20 Source7: %{name}-find-perl-requires
21 Source8: %{name}-find-spec-bcond
22 Source9: %{name}-find-lang
23 Source10: %{name}-find-provides
24 Source11: %{name}-find-requires
25 Source12: %{name}-non-english-man-pages.tar.bz2
26 Source13: %{name}-macros.python
27 Patch0: %{name}-rpmrc.patch
28 Patch1: %{name}-macros.patch
29 Patch2: %{name}-arch.patch
30 Patch3: %{name}-rpmpopt.patch
31 Patch4: %{name}-perl-macros.patch
32 Patch5: %{name}-db3.patch
33 Patch6: %{name}-segv.patch
34 Patch7: %{name}-am_fix.patch
35 Patch8: %{name}-perl-req-perlfile.patch
36 Patch9: %{name}-installplatform.patch
37 Patch10: %{name}-cache.patch
38 Patch11: %{name}-suggestions.patch
39 Patch12: %{name}-rh-lame.patch
40 Patch13: %{name}-glob.patch
41 Patch14: %{name}-header_h.patch
42 Patch15: %{name}-fast-alAddPackage.patch
43 Patch16: %{name}-byKey.patch
44 Patch17: %{name}-perlprov.patch
45 Patch18: %{name}-noperldir.patch
46 Patch19: popt-cvs20010530.patch
47 Patch20: %{name}-noexpand.patch
48 Patch21: %{name}-scripts-closefds.patch
49 Patch22: %{name}-python-amfix.patch
50 Patch23: %{name}-non-english-man-pages.patch
51 Patch24: %{name}-progress-nontty.patch
52 Patch25: %{name}-am_ac.patch
53 Patch26: %{name}-python-macros.patch
54 Patch37: %{name}-short_circuit.patch
55 Patch38: %{name}-section_test.patch
56 BuildRequires: gettext-devel >= 0.10.38-3
57 BuildRequires: automake
58 BuildRequires: db3-devel >= 3.1.17-9
59 BuildRequires: bzip2-devel >= 1.0.1
60 BuildRequires: zlib-devel
61 BuildRequires: gettext-devel >= 0.10.38-3
62 BuildRequires: libtool
63 BuildRequires: automake
64 BuildRequires: autoconf >= 2.50
65 BuildRequires: python-devel
66 BuildRequires: python-modules >= 2.2.1
67 BuildRequires: zlib-devel >= 1.1.4
68 # Require static library only for static build
69 BuildRequires: db3-static >= 3.1.17-9
70 BuildRequires: bzip2-static >= 1.0.1
71 BuildRequires: zlib-static
72 BuildRequires: glibc-static >= 2.2.0
74 BuildRequires: zlib-static >= 1.1.4
76 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
78 %define __find_provides %{SOURCE4}
79 %define _binary_payload w9.gzdio
80 %define __find_provides %{SOURCE4}
81 %define python_prefix %(echo `python -c "import sys; print sys.prefix"`)
82 %define python_version %(echo `python -c "import sys; print sys.version[:3]"`)
83 %define python_includedir %{_includedir}/python%{python_version}
84 %define python_libdir %{python_prefix}/lib/python%{python_version}
85 %define python_sitedir %{python_libdir}/site-packages
86 %define py_dyndir %{py_libdir}/lib-dynload
87 %define pyrequires_eq() Requires: %1 >= %py_ver %1 < %(echo `python -c "import sys; import string; ver=sys.version[:3].split('.'); ver[1]=str(int(ver[1])+1); print string.join(ver, '.')"`)
90 RPM is a powerful package manager, which can be used to build,
91 install, query, verify, update, and uninstall individual software
92 packages. A package consists of an archive of files, and package
93 information, including name, version, and description.
96 RPM ist ein kräftiger Packet-Manager, der verwendet sein kann zur
97 Installation, Anfrage, Verifizierung, Aktualisierung und
98 Uninstallation individueller Softwarepakete. Ein Paket besteht aus
99 einem Archiv Dateien und Paketinformation, inklusive Name, Version und
100 nombre, versión y descripción.
103 RPM jest doskona³ym mened¿erem pakietów. Dziêki niemu bêdziesz móg³
104 przebudowaæ, zainstalowaæ czy zweryfikowaæ dowolny pakiet. Informacje
105 dotycz±ce ka¿dego pakietu, takie jak jego opis, lista plików
106 wchodz±cych w sk³ad pakietu, zale¿no¶ci od innych pakietów, s±
107 przechowywane w bazie danych i mo¿na je uzyskaæ za pomoc± opcji
108 do pacote, permissões dos arquivos, etc.
111 Summary(de): Header-Dateien uns Libraries
112 Summary(pl): Pliki nag³ówkowe i biblioteki statyczne
113 Group(de): Entwicklung/Libraries
114 Group(es): Desarrollo/Bibliotecas
115 Group(fr): Development/Librairies
116 Group(pl): Programowanie/Biblioteki
117 Group(pt_BR): Desenvolvimento/Bibliotecas
118 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
119 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
120 Summary(pt_BR): Arquivos de inclusão e bibliotecas para programas de manipulação de pacotes RPM
121 Group: Development/Libraries
122 Requires: %{name} = %{version}
126 The RPM packaging system includes a C library that makes it easy to
127 manipulate RPM packages and databases. It is intended to ease the
128 creation of graphical package managers and other tools that need
129 intimate knowledge of RPM packages.
131 %description devel -l de
132 Der RPM-Packensystem enthält eine C-Library, die macht es einfach
133 RPM-Pakete und Dateibanken zu manipulieren. Er eignet sich für
134 Vereinfachung des Schaffens grafischer Paket-Manager und anderer
135 herramientas que necesiten un conocimiento profundo de paquetes RPM.
136 Pliki nag³ówkowe i biblioteki statyczne.
137 graficznych mened¿erów pakietów oraz innych narzêdzi, które wymagaj±
138 ferramentas que precisem de conhecimento profundo de pacotes RPM.
141 Summary(pl): Biblioteki statyczne rpm-a
142 Summary(pl): Biblioteki statyczne RPM-a
143 Group(de): Entwicklung/Libraries
144 Group(es): Desarrollo/Bibliotecas
145 Group(fr): Development/Librairies
146 Group(pl): Programowanie/Biblioteki
147 Group(pt_BR): Desenvolvimento/Bibliotecas
148 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
149 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
150 Summary(pt_BR): Bibliotecas estáticas para o desenvolvimento de aplicações RPM
151 Group: Development/Libraries
152 Requires: %{name}-devel = %{version}
155 RPM static libraries.
157 %description static -l de
158 RPMs statische Libraries.
159 Biblioteki statyczne rpm-a.
160 %description static -l pl
161 Bibliotecas estáticas para desenvolvimento.
164 Summary(pl): Dodatkowe narzêdzia do zarz±dzania baz± rpm-a i pakietami
165 Summary(de): Zusatzwerkzeuge für Verwaltung RPM-Pakete und Datenbanken
166 Group(de): Applikationen/Datei
167 Group(pl): Aplikacje/Pliki
168 Summary(pl): Dodatkowe narzêdzia do zarz±dzania baz± RPM-a i pakietami
169 Group: Applications/File
170 Requires: %{name} = %{version}
173 Additional utilities for managing rpm packages and database.
175 %description utils -l de
176 Zusatzwerkzeuge für Verwaltung RPM-Pakete und Datenbanken.
177 Dodatkowe narzêdzia do zarz±dzania baz± rpm-a i pakietami.
178 %description utils -l pl
179 Dodatkowe narzêdzia do zarz±dzania baz± RPM-a i pakietami.
182 Summary(pl): Dodatkowe narzêdzia do sprawdzenia zale¿no¶ci dla skryptów perl w pakietach rpm
183 Summary(de): Zusatzwerkzeuge fürs Nachsehen Perl-Abhängigkeiten in RPM-Paketen
184 Group(de): Applikationen/Datei
185 Group(pl): Aplikacje/Pliki
186 Summary(pl): Dodatkowe narzêdzia do sprawdzenia zale¿no¶ci skryptów perla w pakietach rpm
187 Group: Applications/File
188 Requires: perl-modules
191 %description perlprov
192 Additional utilities for checking perl provides/requires in rpm
195 %description perlprov -l de
196 Zusatzwerkzeuge fürs Nachsehen Perl-Abhängigkeiten in RPM-Paketen.
197 Dodatkowe narzêdzia do sprawdzenia zale¿no¶ci dla skryptów perl w
198 %description perlprov -l pl
199 Dodatkowe narzêdzia do sprawdzenia zale¿no¶ci skryptów perla w
203 Summary: Python macros, which simplifies creation of rpm packages with Python software
204 Group(de): Applikationen/Datei
205 Group(pl): Aplikacje/Pliki
206 Summary(pl): Makra u³atwiaj±ce tworzenie pakietów rpm z programami napisanymi w Pythonie
208 Requires: %{name} = %{version}
209 Requires: python-modules
210 Python macros, which simplifies creation of rpm packages with Python software.
211 Python macros, which simplifies creation of rpm packages with Python
213 Makra u³atwiaj±ce tworzenie pakietów rpm z programami napisanymi w Pythonie.
214 Makra u³atwiaj±ce tworzenie pakietów rpm z programami napisanymi w
217 Group: Development/Languages/Python
218 Group(de): Entwicklung/Sprachen/Python
219 Group(pl): Programowanie/Jêzyki/Python
220 Summary(pt_BR): Módulo Python para aplicativos que manipulam pacotes RPM
221 %pyrequires_eq python
224 %description -n python-rpm
225 The rpm-python package contains a module which permits applications
226 written in the Python programming language to use the interface
227 supplied by RPM (RPM Package Manager) libraries.
229 This package should be installed if you want to develop Python
230 Python para manipular pacotes e bancos de dados RPM.
233 Summary(pl): Skrypty pomocnicze do budowania binarnych RPMów
234 Summary(pl): Skrypty pomocnicze do budowania binarnych RPM-ów
235 Group(de): Applikationen/Datei
236 Group(pl): Aplikacje/Pliki
237 Summary(pt_BR): Scripts e programas executáveis usados para construir pacotes
238 Group: Applications/File
242 Requires: file >= 3.31
245 Requires: gcc >= 3.0.3
248 Requires: glibc-devel
251 Requires: popt >= 1.6.2-2
256 Scripts for building binary RPM packages.
258 %description build -l de
259 Scripts fürs Bauen binärer RPM-Pakete.
260 Skrypty pomocnicze do budowania binarnych RPMów.
261 %description build -l pl
262 construir pacotes usando o RPM.
296 sed -e 's/^/@pld@/' %{SOURCE2} >>platform.in
297 cp -f platform.in macros.pld.in
298 install %{SOURCE9} scripts/find-lang.sh
299 install %{SOURCE13} macros.python.in
300 install %{SOURCE6} scripts/find-perl-provides
301 install %{SOURCE7} scripts/find-perl-requires
302 install %{SOURCE9} scripts/find-lang.sh
305 mv -f perl.req perl.req.in
306 mv -f perl.prov perl.prov.in)
308 awk -f %{SOURCE14} %{SOURCE1}
319 libtoolize --force --copy
321 # ugly workaround for automake
322 sed -e 's#cpio.c $(DBLIBOBJS) depends.c#cpio.c depends.c#g' \
323 lib/Makefile.am > lib/Makefile.am.new
324 mv -f lib/Makefile.am.new lib/Makefile.am
326 sed -e 's#cpio.c depends.c#cpio.c $(DBLIBOBJS) depends.c#g' \
327 lib/Makefile.in > lib/Makefile.in.new
328 mv -f lib/Makefile.in.new lib/Makefile.in
330 sed -e 's#python1.5#python%{python_version}#g' \
331 python/Makefile.in > python/Makefile.in.new
332 mv -f python/Makefile.in.new python/Makefile.in
334 sed -e 's|@host@|%{_target_cpu}-%{_target_vendor}-linux-gnu|' macros.in | \
335 sed 's|@host_cpu@|%{_target_cpu}|' > macros.tmp
336 --enable-v1-packages \
339 --enable-v1-packages \
343 %{__make} %{?_without_static:rpm_LDFLAGS="\\$(myLDFLAGS)"}
345 DESTDIR="$RPM_BUILD_ROOT" \
346 rm -rf $RPM_BUILD_ROOT
349 DESTDIR=$RPM_BUILD_ROOT \
350 pkgbindir="%{_bindir}"
352 install macros.perl $RPM_BUILD_ROOT%{_libdir}/rpm/macros.perl
353 install macros.python $RPM_BUILD_ROOT%{_libdir}/rpm/macros.python
355 install %{SOURCE1} doc/manual/groups
356 install %{SOURCE3} $RPM_BUILD_ROOT%{_libdir}/rpm/install-build-tree
357 install %{SOURCE8} $RPM_BUILD_ROOT%{_libdir}/rpm/find-spec-bcond
358 install %{SOURCE10} $RPM_BUILD_ROOT%{_libdir}/rpm/find-provides
359 install %{SOURCE11} $RPM_BUILD_ROOT%{_libdir}/rpm/find-requires
360 install %{SOURCE15} $RPM_BUILD_ROOT%{_libdir}/rpm/compress-doc
362 install rpmio/ugid.h $RPM_BUILD_ROOT%{_includedir}/rpm
364 install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm
365 cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros <<EOF
366 # customized rpm macros - global for host
368 #%%_install_langs pl_PL:en_US
374 # DON'T BREAK BUILD TREE!!!
375 # rm -f doc/manual/Makefile*
377 gzip -9nf RPM-PGP-KEY CHANGES doc/manual/*
380 rm -rf $RPM_BUILD_ROOT
382 %post -p /sbin/ldconfig
383 %postun -p /sbin/ldconfig
385 %attr(755,root,root) %{_libdir}/rpm/rpmdb
386 %attr(755,root,root) %{_libdir}/rpm/rpmq
387 %attr(755,root,root) %{_libdir}/rpm/rpmk
388 %attr(755,root,root) %{_libdir}/rpm/rpmv
389 %attr(755,root,root) %{_libdir}/librpm*.so.*.*
390 %attr(755,root,root) %{_libdir}/rpm/rpmdb
391 %attr(755,root,root) %{_libdir}/rpm/rpmq
392 %attr(755,root,root) %{_libdir}/rpm/rpmk
393 %attr(755,root,root) %{_libdir}/rpm/rpmv
394 %attr(755,root,root) %{_libdir}/librpm*.so.*.*
396 %dir %{_sysconfdir}/rpm
397 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/rpm/macros
399 %{_mandir}/man8/rpm.8*
400 %lang(fr) %{_mandir}/fr/man8/rpm.8*
401 %lang(ja) %{_mandir}/ja/man8/rpm.8*
402 %lang(ko) %{_mandir}/ko/man8/rpm.8*
403 %lang(pl) %{_mandir}/pl/man8/rpm.8*
404 %lang(ru) %{_mandir}/ru/man8/rpm.8*
405 %lang(sk) %{_mandir}/sk/man8/rpm.8*
410 %{_libdir}/rpm/macros.python
411 %{_libdir}/rpm/noarch-linux
412 %{_libdir}/rpm/noarch-pld-linux
413 %ifarch i386 i486 i586 i686
414 %{_libdir}/rpm/rpmpopt*
415 %{_libdir}/rpm/noarch-linux
416 %{_libdir}/rpm/noarch-pld-linux
417 %ifarch i386 i486 i586 i686 athlon
419 %{_libdir}/rpm/athlon*
421 %ifarch sparc sparc64
425 %defattr(644,root,root,755)
426 %attr(755,root,root) %{_bindir}/rpmbuild
427 %attr(755,root,root) %{_bindir}/rpme
428 %attr(755,root,root) %{_bindir}/rpmi
429 %attr(755,root,root) %{_bindir}/rpmu
430 %attr(755,root,root) %{_libdir}/rpm/find-requires
431 %attr(755,root,root) %{_libdir}/rpm/find-provides
432 %attr(755,root,root) %{_libdir}/rpm/find-rpm-provides
433 %attr(755,root,root) %{_libdir}/rpm/find-spec-bcond
434 %attr(755,root,root) %{_libdir}/rpm/find-lang.sh
435 %attr(755,root,root) %{_libdir}/rpm/mkinstalldirs
436 %attr(755,root,root) %{_libdir}/rpm/getpo.sh
437 %attr(755,root,root) %{_libdir}/rpm/install-build-tree
438 %attr(755,root,root) %{_libdir}/rpm/brp-*
439 %attr(755,root,root) %{_libdir}/rpm/check-prereqs
440 %attr(755,root,root) %{_libdir}/rpm/compress-doc
441 %attr(755,root,root) %{_libdir}/rpm/cpanflute
442 %attr(755,root,root) %{_libdir}/rpm/http.req
443 %attr(755,root,root) %{_libdir}/rpm/magic.*
444 %attr(755,root,root) %{_libdir}/rpm/rpmi
445 %attr(755,root,root) %{_libdir}/rpm/u_pkg.sh
446 %attr(755,root,root) %{_libdir}/rpm/rpme
447 %attr(755,root,root) %{_libdir}/rpm/rpmu
448 %attr(755,root,root) %{_libdir}/rpm/rpmb
449 %attr(755,root,root) %{_libdir}/rpm/rpmi
450 %attr(755,root,root) %{_libdir}/rpm/rpmt
451 %attr(755,root,root) %{_libdir}/rpm/rpme
452 %attr(755,root,root) %{_libdir}/librpm*.la
453 %attr(755,root,root) %{_libdir}/librpm*.so
455 %defattr(644,root,root,755)
457 %attr(755,root,root) %{_libdir}/librpm*.la
458 %attr(755,root,root) %{_libdir}/librpm*.so
461 %attr(755,root,root) %{_bindir}/*
463 %defattr(644,root,root,755)
465 %attr(755,root,root) %{_bindir}/javadeps
466 %attr(755,root,root) %{_bindir}/rpm2cpio
468 %{_mandir}/man8/rpm2cpio.8*
470 %lang(ja) %{_mandir}/ja/man8/rpm2cpio.8*
471 %lang(ko) %{_mandir}/ko/man8/rpm2cpio.8*
472 %lang(pl) %{_mandir}/pl/man8/rpm2cpio.8*
473 %lang(ru) %{_mandir}/ru/man8/rpm2cpio.8*
476 %defattr(644,root,root,755)
477 %attr(755,root,root) %{_libdir}/rpm/perl*
478 %attr(755,root,root) %{_libdir}/rpm/find-perl-*
479 %attr(755,root,root) %{_libdir}/rpm/find-*.perl
480 %attr(755,root,root) %{_libdir}/rpm/find-prov.pl
481 %attr(755,root,root) %{_libdir}/rpm/find-req.pl
482 %attr(755,root,root) %{_libdir}/rpm/get_magic.pl
484 %{_libdir}/rpm/macros.perl
486 %defattr(644,root,root,755)
487 %{python_sitedir}/*.so
488 %{_libdir}/rpm/macros.python
491 * %{date} PLD Team <pld-list@pld.org.pl>