3 # - detected Requires lists are not printed at the end of build (Provides etc. are)
4 # - fix pythondeps detection (*.py[co] should belong to python class; autodetect P(abi))
5 # - consider using system libmagic not internal libfmagic
6 # (but internal has different method of passing output)
7 # - after ac drop amd64 patch and make x86_64 generic arch + subarchs amd64 and ia32e
10 %bcond_with distver # build with distversion field
11 %bcond_with static # build static rpmi (not supported at the moment)
12 %bcond_without apidocs # don't generate documentation with doxygen
13 %bcond_with pkgnameinautoreq # don't put package name in autogenerated dependancy
14 %bcond_without python # don't build python bindings
15 %bcond_without selinux # dont enable selinux support
16 # force_cc - force using __cc other than "%{_target_cpu}-pld-linux-gcc"
17 # force_cxx - force using __cxx other than "%{_target_cpu}-pld-linux-g++"
18 # force_cpp - force using __cpp other than "%{_target_cpu}-pld-linux-gcc -E"
21 # versions of required libraries
22 %define reqdb_ver 4.3.27-1
23 %define reqpopt_ver 1.10.1
24 %define beecrypt_ver 2:4.1.0
25 %define rpm_macros_rev 1.188
26 Summary: RPM Package Manager
27 Summary(de): RPM Packet-Manager
28 Summary(es): Gestor de paquetes RPM
29 Summary(pl): Aplikacja do zarz±dzania pakietami RPM
30 Summary(pt_BR): Gerenciador de pacotes RPM
31 Summary(ru): íÅÎÅÄÖÅÒ ÐÁËÅÔÏ× ÏÔ RPM
32 Summary(uk): íÅÎÅÄÖÅÒ ÐÁËÅÔ¦× ×¦Ä RPM
39 #Source0: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.2.x/%{name}-%{version}.%{snap}.tar.gz
40 # Snap tarball is generated from rpm-4_4 branch
41 Source0: ftp://jbj.org/pub/rpm-4.4.x/%{name}-%{version}.tar.gz
42 # Source0-md5: 90ded9047b1b69d918c6c7c7b56fd7a9
43 Source1: %{name}.groups
44 Source2: %{name}.platform
45 Source3: %{name}-install-tree
46 Source4: %{name}-find-spec-bcond
47 Source5: %{name}-find-lang
48 Source6: %{name}-groups-po.awk
49 Source7: %{name}-compress-doc
50 Source8: %{name}-check-files
51 Source9: %{name}-php-provides
52 Source10: %{name}-php-requires
53 Source11: %{name}.macros
55 Source13: %{name}-user_group.sh
56 Source14: %{name}.sysconfig
57 Source15: %{name}-gconf-schema-install
58 Source16: %{name}-gconf-schema-uninstall
61 Source32: pldnotify.awk
62 # http://svn.pld-linux.org/banner.sh/
64 Patch0: %{name}-pl.po.patch
65 Patch1: %{name}-rpmrc.patch
66 Patch2: %{name}-arch.patch
67 Patch3: %{name}-rpmpopt.patch
68 Patch4: %{name}-perl-macros.patch
69 Patch5: %{name}-perl-req-perlfile.patch
70 Patch6: %{name}-noexpand.patch
71 Patch7: %{name}-scripts-closefds.patch
72 Patch8: %{name}-python-macros.patch
73 Patch9: %{name}-gettext-in-header.patch
74 Patch10: %{name}-compress-doc.patch
75 Patch11: %{name}-build.patch
76 Patch12: %{name}-system_libs.patch
77 Patch13: %{name}-bb-and-short-circuit.patch
78 Patch14: %{name}-etc_dir.patch
79 Patch15: %{name}-system_libs-more.patch
80 Patch16: %{name}-php-deps.patch
81 Patch17: %{name}-ldconfig-always.patch
82 Patch18: %{name}-perl_req.patch
83 Patch19: %{name}-no-bin-env.patch
84 Patch20: %{name}-magic-usesystem.patch
85 Patch21: %{name}-dontneedutils.patch
86 Patch22: %{name}-provides-dont-obsolete.patch
87 Patch23: %{name}-examplesaredoc.patch
88 Patch24: %{name}-po.patch
89 Patch25: %{name}-amd64.patch
90 Patch26: %{name}-notsc.patch
91 Patch27: %{name}-hack-norpmlibdep.patch
92 Patch28: %{name}-makefile-no_myLDADD_deps.patch
93 Patch29: %{name}-libdir64.patch
94 Patch30: %{name}-libdir-links.patch
95 Patch31: %{name}-missing-prototypes.patch
96 Patch32: %{name}-pld-autodep.patch
97 Patch33: %{name}-rpmsq.patch
98 Patch34: %{name}-epoch0.patch
99 Patch35: %{name}-perl_req-INC_dirs.patch
100 Patch36: %{name}-debuginfo.patch
101 Patch37: %{name}-doxygen_hack.patch
102 Patch38: %{name}-distver.patch
103 Patch39: %{name}-gcc4.patch
104 Patch40: %{name}-pythondeps.patch
105 URL: http://www.rpm.org/
107 BuildRequires: autoconf >= 2.52
108 BuildRequires: automake
109 BuildRequires: beecrypt-devel >= %{beecrypt_ver}
110 BuildRequires: bzip2-devel >= 1.0.1
111 BuildRequires: db-devel >= %{reqdb_ver}
112 %{?with_apidocs:BuildRequires: doxygen}
113 BuildRequires: elfutils-devel
114 BuildRequires: findutils
115 BuildRequires: gettext-devel >= 0.11.4-2
116 #BuildRequires: libmagic-devel
117 %{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
118 # needed only for AM_PROG_CXX used for CXX substitution in rpm.macros
119 BuildRequires: libstdc++-devel
120 BuildRequires: libtool
121 BuildRequires: libxml2-devel
122 BuildRequires: neon-devel >= 0.24.7-3
123 BuildRequires: patch >= 2.2
124 BuildRequires: popt-devel >= %{reqpopt_ver}
125 %{?with_python:BuildRequires: python-devel >= 2.2}
126 BuildRequires: python-modules >= 2.2
127 BuildRequires: readline-devel
128 BuildRequires: rpm-perlprov
129 BuildRequires: zlib-devel
131 # Require static library only for static build
132 BuildRequires: beecrypt-static >= %{beecrypt_ver}
133 BuildRequires: bzip2-static >= 1.0.2-5
134 BuildRequires: db-static >= %{reqdb_ver}
135 BuildRequires: glibc-static >= 2.2.94
136 BuildRequires: elfutils-static
137 #BuildRequires: libmagic-static
138 %{?with_selinux:BuildRequires: libselinux-static >= 1.18}
139 BuildRequires: popt-static >= %{reqpopt_ver}
140 BuildRequires: zlib-static
142 Requires: beecrypt >= %{beecrypt_ver}
143 Requires: popt >= %{reqpopt_ver}
144 Requires: %{name}-lib = %{version}-%{release}
145 %{!?with_static:Obsoletes: rpm-utils-static}
146 Conflicts: glibc < 2.2.92
147 # avoid SEGV caused by mixed db versions
148 Conflicts: poldek < 0.18.1-16
149 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
151 %define _binary_payload w9.gzdio
152 %define _noPayloadPrefix 1
154 # don't require very fresh rpm.macros to build
155 %define __gettextize gettextize --copy --force --intl ; cp -f po/Makevars{.template,}
156 %define ix86 i386 i486 i586 i686 athlon pentium3 pentium4
158 # stabilize new build environment
159 %define __newcc %{?force_cc}%{!?force_cc:%{_target_cpu}-pld-linux-gcc}
160 %define __newcxx %{?force_cxx}%{!?force_cxx:%{_target_cpu}-pld-linux-g++}
161 %define __newcpp %{?force_cpp}%{!?force_cpp:%{_target_cpu}-pld-linux-gcc -E}
163 %define _rpmlibdir /usr/lib/rpm
166 RPM is a powerful package manager, which can be used to build,
167 install, query, verify, update, and uninstall individual software
168 packages. A package consists of an archive of files, and package
169 information, including name, version, and description.
172 RPM ist ein kräftiger Packet-Manager, der verwendet sein kann zur
173 Installation, Anfrage, Verifizierung, Aktualisierung und
174 Uninstallation individueller Softwarepakete. Ein Paket besteht aus
175 einem Archiv Dateien und Paketinformation, inklusive Name, Version und
179 RPM es un poderoso administrador de paquetes, que puede ser usado para
180 construir, instalar, pesquisar, verificar, actualizar y desinstalar
181 paquetes individuales de software. Un paquete consiste en un
182 almacenaje de archivos, y información sobre el paquete, incluyendo
183 nombre, versión y descripción.
186 RPM jest doskona³ym programem zarz±dzaj±cym pakietami. Umo¿liwia on
187 przebudowanie, instalacjê czy weryfikacjê dowolnego pakietu.
188 Informacje dotycz±ce ka¿dego pakietu, takie jak jego opis, lista
189 plików wchodz±cych w sk³ad pakietu, zale¿no¶ci od innych pakietów, s±
190 przechowywane w bazie danych i mo¿na je uzyskaæ za pomoc± opcji
191 odpytywania programu rpm.
193 %description -l pt_BR
194 RPM é um poderoso gerenciador de pacotes, que pode ser usado para
195 construir, instalar, pesquisar, verificar, atualizar e desinstalar
196 pacotes individuais de software. Um pacote consiste de um conjunto de
197 arquivos e informações adicionais, incluindo nome, versão e descrição
198 do pacote, permissões dos arquivos, etc.
201 RPM - ÜÔÏ ÍÏÝÎÙÊ ÍÅÎÅÄÖÅÒ ÐÁËÅÔÏ×, ËÏÔÏÒÙÊ ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌØÚÏ×ÁÎ ÄÌÑ
202 ÓÏÚÄÁÎÉÑ, ÉÎÓÔÁÌÌÑÃÉÉ, ÚÁÐÒÏÓÏ× (query), ÐÒÏ×ÅÒËÉ, ÏÂÎÏ×ÌÅÎÉÑ É
203 ÕÄÁÌÅÎÉÑ ÐÒÏÇÒÁÍÍÎÙÈ ÐÁËÅÔÏ×. ðÁËÅÔ ÓÏÓÔÏÉÔ ÉÚ ÆÁÊÌÏ×ÏÇÏ ÁÒÈÉ×Á É
204 ÓÌÕÖÅÂÎÏÊ ÉÎÆÏÒÍÁÃÉÉ, ×ËÌÀÞÁÀÝÅÊ ÎÁÚ×ÁÎÉÅ, ×ÅÒÓÉÀ, ÏÐÉÓÁÎÉÅ É ÄÒÕÇÉÅ
208 RPM - ÃÅ ÐÏÔÕÖÎÉÊ ÍÅÎÅÄÖÅÒ ÐÁËÅÔ¦×, ÝÏ ÍÏÖÅ ÂÕÔÉ ×ÉËÏÒÉÓÔÁÎÉÊ ÄÌÑ
209 ÓÔ×ÏÒÅÎÎÑ, ¦ÎÓÔÁÌÑæ§, ÚÁÐÉÔ¦× (query), ÐÅÒÅצÒËÉ, ÐÏÎÏ×ÌÅÎÎÑ ÔÁ
210 ×ÉÄÁÌÅÎÎÑ ÐÒÏÇÒÁÍÎÉÈ ÐÁËÅÔ¦×. ðÁËÅÔ ÓËÌÁÄÁ¤ÔØÓÑ Ú ÆÁÊÌÏ×ÏÇÏ ÁÒȦ×Õ ÔÁ
211 ÓÌÕÖÂÏ×ϧ ¦ÎÆÏÒÍÁæ§, ÝÏ Í¦ÓÔÉÔØ ÎÁÚ×Õ, ×ÅÒÓ¦À, ÏÐÉÓ ÔÁ ¦ÎÛÕ
212 ¦ÎÆÏÒÍÁæÀ ÐÒÏ ÐÁËÅÔ.
215 Summary: RPMs library
216 Summary(pl): Biblioteki RPM-a
218 Requires: db >= %{reqdb_ver}
219 %{?with_selinux:BuildRequires: libselinux >= 1.18}
220 Requires: popt >= %{reqpopt_ver}
221 %{?with_distver:Provides: rpm-lib(distver)}
222 # avoid SEGV caused by mixed db versions
223 Conflicts: poldek < 0.18.1-16
228 %description lib -l pl
232 Summary: Header files for rpm libraries
233 Summary(de): Header-Dateien für rpm Libraries
234 Summary(es): Archivos de inclusión y bibliotecas para programas de manipulación de paquetes rpm
235 Summary(pl): Pliki nag³ówkowe bibliotek rpm
236 Summary(pt_BR): Arquivos de inclusão e bibliotecas para programas de manipulação de pacotes RPM
237 Summary(ru): èÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍ, ÒÁÂÏÔÁÀÝÉÈ Ó rpm-ÐÁËÅÔÁÍÉ
238 Summary(uk): èÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍ, ÝÏ ÐÒÁÃÀÀÔØ Ú ÐÁËÅÔÁÍÉ rpm
239 Group: Development/Libraries
240 Requires: %{name}-lib = %{version}-%{release}
241 Requires: beecrypt-devel >= %{beecrypt_ver}
242 Requires: bzip2-devel
243 Requires: db-devel >= %{reqdb_ver}
244 Requires: elfutils-devel
245 %{?with_selinux:Requires: libselinux-devel}
246 Requires: popt-devel >= %{reqpopt_ver}
250 The RPM packaging system includes C libraries that make it easy to
251 manipulate RPM packages and databases. They are intended to ease the
252 creation of graphical package managers and other tools that need
253 intimate knowledge of RPM packages. This package contains header files
256 %description devel -l de
257 Der RPM-Packensystem enthält eine C-Library, die macht es einfach
258 RPM-Pakete und Dateibanken zu manipulieren. Er eignet sich für
259 Vereinfachung des Schaffens grafischer Paket-Manager und anderer
260 Werkzeuge, die intime Kenntnis von RPM-Paketen brauchen.
262 %description devel -l es
263 El sistema de empaquetado RPM incluye una biblioteca C que vuelve
264 fácil la manipulación de paquetes y bases de datos RPM. Su objetivo es
265 facilitar la creación de administradores gráficos de paquetes y otras
266 herramientas que necesiten un conocimiento profundo de paquetes RPM.
268 %description devel -l pl
269 System RPM zawiera biblioteki C, które u³atwiaj± manipulowanie
270 pakietami RPM oraz bazami danych. W zamiarze ma to upro¶ciæ tworzenie
271 graficznych programów zarz±dzaj±cych pakietami oraz innych narzêdzi,
272 które wymagaj± szczegó³owej wiedzy na temat pakietów RPM. Ten pakiet
273 zawiera pliki nag³ówkowe wspomnianych bibliotek.
275 %description devel -l pt_BR
276 O sistema de empacotamento RPM inclui uma biblioteca C que torna fácil
277 a manipulação de pacotes e bases de dados RPM. Seu objetivo é
278 facilitar a criação de gerenciadores gráficos de pacotes e outras
279 ferramentas que precisem de conhecimento profundo de pacotes RPM.
281 %description devel -l ru
282 óÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÐÁËÅÔÁÍÉ RPM ÓÏÄÅÒÖÉÔ ÂÉÂÌÉÏÔÅËÕ C, ËÏÔÏÒÁÑ
283 ÕÐÒÏÝÁÅÔ ÍÁÎÉÐÕÌÑÃÉÀ ÐÁËÅÔÁÍÉ RPM É ÓÏÏÔ×ÅÔÓÔ×ÕÀÝÉÍÉ ÂÁÚÁÍÉ ÄÁÎÎÙÈ.
284 üÔÁ ÂÉÂÌÉÏÔÅËÁ ÐÒÅÄÎÁÚÎÁÞÅÎÁ ÄÌÑ ÏÂÌÅÇÞÅÎÉÑ ÓÏÚÄÁÎÉÑ ÇÒÁÆÉÞÅÓËÉÈ
285 ÐÁËÅÔÎÙÈ ÍÅÎÅÄÖÅÒÏ× É ÄÒÕÇÉÈ ÕÔÉÌÉÔ, ËÏÔÏÒÙÍ ÎÅÏÂÈÏÄÉÍÏ ÒÁÂÏÔÁÔØ Ó
288 %description devel -l uk
289 óÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÐÁËÅÔÁÍÉ RPM ͦÓÔÉÔØ Â¦Â̦ÏÔÅËÕ C, ËÏÔÒÁ ÓÐÒÏÝÕ¤
290 ÒÏÂÏÔÕ Ú ÐÁËÅÔÁÍÉ RPM ÔÁ צÄÐÏצÄÎÉÍÉ ÂÁÚÁÍÉ ÄÁÎÉÈ. ãÑ Â¦Â̦ÏÔÅËÁ
291 ÐÒÉÚÎÁÞÅÎÁ ÄÌÑ ÐÏÌÅÇÛÅÎÎÑ ÓÔ×ÏÒÅÎÎÑ ÇÒÁƦÞÎÉÈ ÐÁËÅÔÎÉÈ ÍÅÎÅÄÖÅÒ¦× ÔÁ
292 ¦ÎÛÉÈ ÕÔÉ̦Ô, ÝÏ ÐÒÁÃÀÀÔØ Ú ÐÁËÅÔÁÍÉ RPM.
295 Summary: RPM static libraries
296 Summary(de): RPMs statische Libraries
297 Summary(pl): Biblioteki statyczne RPM-a
298 Summary(pt_BR): Bibliotecas estáticas para o desenvolvimento de aplicações RPM
299 Summary(ru): óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ ÐÒÏÇÒÁÍÍ, ÒÁÂÏÔÁÀÝÉÈ Ó rpm-ÐÁËÅÔÁÍÉ
300 Summary(uk): óÔÁÔÉÞÎÁ ¦Â̦ÏÔÅËÁ ÄÌÑ ÐÒÏÇÒÁÍ, ÝÏ ÐÒÁÃÀÀÔØ Ú ÐÁËÅÔÁÍÉ rpm
301 Group: Development/Libraries
302 Requires: %{name}-devel = %{version}-%{release}
303 Requires: beecrypt-static >= %{beecrypt_ver}
304 Requires: bzip2-static
305 Requires: db-static >= %{reqdb_ver}
306 Requires: elfutils-static
307 Requires: popt-static >= %{reqpopt_ver}
308 Requires: zlib-static
311 RPM static libraries.
313 %description static -l de
314 RPMs statische Libraries.
316 %description static -l pl
317 Biblioteki statyczne RPM-a.
319 %description static -l pt_BR
320 Bibliotecas estáticas para desenvolvimento.
322 %description static -l ru
323 óÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÐÁËÅÔÁÍÉ RPM ÓÏÄÅÒÖÉÔ ÂÉÂÌÉÏÔÅËÕ C, ËÏÔÏÒÁÑ
324 ÕÐÒÏÝÁÅÔ ÍÁÎÉÐÕÌÑÃÉÀ ÐÁËÅÔÁÍÉ RPM É ÓÏÏÔ×ÅÔÓÔ×ÕÀÝÉÍÉ ÂÁÚÁÍÉ ÄÁÎÎÙÈ.
325 üÔÏ ÓÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ RPM.
327 %description static -l uk
328 óÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÐÁËÅÔÁÍÉ RPM ͦÓÔÉÔØ Â¦Â̦ÏÔÅËÕ C, ËÏÔÒÁ ÓÐÒÏÝÕ¤
329 ÒÏÂÏÔÕ Ú ÐÁËÅÔÁÍÉ RPM ÔÁ צÄÐÏצÄÎÉÍÉ ÂÁÚÁÍÉ ÄÁÎÉÈ. ãÅ ÓÔÁÔÉÞÎÁ
333 Summary: Additional utilities for managing rpm packages and database
334 Summary(de): Zusatzwerkzeuge für Verwaltung RPM-Pakete und Datenbanken
335 Summary(pl): Dodatkowe narzêdzia do zarz±dzania baz± RPM-a i pakietami
336 Group: Applications/File
337 Requires: %{name} = %{version}-%{release}
338 Requires: popt >= %{reqpopt_ver}
341 Additional utilities for managing rpm packages and database.
343 %description utils -l de
344 Zusatzwerkzeuge für Verwaltung RPM-Pakete und Datenbanken.
346 %description utils -l pl
347 Dodatkowe narzêdzia do zarz±dzania baz± RPM-a i pakietami.
350 Summary: Additional utilities for managing rpm packages and database
351 Summary(de): Zusatzwerkzeuge für Verwaltung RPM-Pakete und Datenbanken
352 Summary(pl): Dodatkowe narzêdzia do zarz±dzania baz± RPM-a i pakietami
353 Group: Applications/File
354 Requires: %{name}-utils = %{version}-%{release}
355 Requires: popt >= %{reqpopt_ver}
357 %description utils-perl
358 Additional utilities for managing rpm packages and database.
360 %description utils-perl -l de
361 Zusatzwerkzeuge für Verwaltung RPM-Pakete und Datenbanken.
363 %description utils-perl -l pl
364 Dodatkowe narzêdzia do zarz±dzania baz± RPM-a i pakietami.
366 %package utils-static
367 Summary: Static rpm utilities
368 Summary(pl): Statyczne narzêdzia rpm
369 Group: Applications/System
370 Requires: %{name} = %{version}-%{release}
372 %description utils-static
373 Static rpm utilities for repairing system in case something with
374 shared libraries used by rpm become broken. Currently it contains rpmi
375 binary, which can be used to install/upgrade/remove packages without
376 using shared libraries (well, in fact with exception of NSS modules).
378 %description utils-static -l pl
379 Statyczne narzêdzia rpm do naprawy systemu w przypadku zepsucia czego¶
380 zwi±zanego z bibliotekami wspó³dzielonymi u¿ywanymi przez rpm-a.
381 Aktualnie pakiet zawiera binarkê rpmi, któr± mo¿na u¿yæ do instalacji,
382 uaktualniania lub usuwania pakietów bez udzia³u bibliotek statycznych
383 (z wyj±tkiem modu³ów NSS).
386 Summary: Scripts for building binary RPM packages
387 Summary(de): Scripts fürs Bauen binärer RPM-Pakete
388 Summary(pl): Skrypty pomocnicze do budowania binarnych RPM-ów
389 Summary(pt_BR): Scripts e programas executáveis usados para construir pacotes
390 Summary(ru): óËÒÉÐÔÙ É ÕÔÉÌÉÔÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÓÂÏÒËÉ ÐÁËÅÔÏ×
391 Summary(uk): óËÒÉÐÔÉ ÔÁ ÕÔÉ̦ÔÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÐÏÂÕÄÏ×É ÐÁËÅÔ¦×
392 Group: Applications/File
393 Requires(pre): findutils
394 Requires: %{name}-utils = %{version}-%{release}
399 Requires: chrpath >= 0.10-4
403 Requires: file >= 4.01
407 Requires: gcc >= 3.0.3
410 # because of -mtune in rpmrc
411 Requires: gcc >= 5:3.4
416 Requires: glibc-devel
421 Requires: popt >= 1.7
426 Provides: rpmbuild(macros) = %{rpm_macros_rev}
427 Provides: rpmbuild(noauto) = 3
428 # because of -fvisibility-inlines-hidden in rpm.macros
429 Conflicts: gcc-c++ < 5:3.4
431 Conflicts: automake < 1:1.7.9-2
432 Conflicts: libtool < 2:1.5-13
436 Scripts for building binary RPM packages.
438 %description build -l de
439 Scripts fürs Bauen binärer RPM-Pakete.
441 %description build -l pl
442 Skrypty pomocnicze do budowania binarnych RPM-ów.
444 %description build -l pt_BR
445 Este pacote contém scripts e programas executáveis que são usados para
446 construir pacotes usando o RPM.
448 %description build -l ru
449 òÁÚÌÉÞÎÙÅ ×ÓÐÏÍÏÇÁÔÅÌØÎÙÅ ÓËÒÉÐÔÙ É ÉÓÐÏÌÎÑÅÍÙÅ ÐÒÏÇÒÁÍÍÙ, ËÏÔÏÒÙÅ
450 ÉÓÐÏÌØÚÕÀÔÓÑ ÄÌÑ ÓÂÏÒËÉ RPM'Ï×.
452 %description build -l uk
453 ò¦ÚÎÏÍÁΦÔΦ ÄÏÐÏͦÖΦ ÓËÒÉÐÔÉ ÔÁ ÕÔÉ̦ÔÉ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÄÌÑ
457 Summary: Scripts for managing .spec files and building RPM packages
458 Summary(de): Scripts fürs Bauen binärer RPM-Pakete
459 Summary(pl): Skrypty pomocnicze do zarz±dznia plikami .spec i budowania RPM-ów
460 Summary(pt_BR): Scripts e programas executáveis usados para construir pacotes
461 Summary(ru): óËÒÉÐÔÙ É ÕÔÉÌÉÔÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÓÂÏÒËÉ ÐÁËÅÔÏ×
462 Summary(uk): óËÒÉÐÔÉ ÔÁ ÕÔÉ̦ÔÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÐÏÂÕÄÏ×É ÐÁËÅÔ¦×
463 Group: Applications/File
464 Requires: %{name}-build = %{version}-%{release}
469 %description build-tools
470 Scripts for managing .spec files and building RPM packages.
472 %description build-tools -l de
473 Scripts fürs Bauen RPM-Pakete.
475 %description build-tools -l pl
476 Skrypty pomocnicze do zarz±dzania plikami .spec i do budowania RPM-ów.
478 %description build-tools -l pt_BR
479 Este pacote contém scripts e programas executáveis que são usados para
480 construir pacotes usando o RPM.
482 %description build-tools -l ru
483 òÁÚÌÉÞÎÙÅ ×ÓÐÏÍÏÇÁÔÅÌØÎÙÅ ÓËÒÉÐÔÙ É ÉÓÐÏÌÎÑÅÍÙÅ ÐÒÏÇÒÁÍÍÙ, ËÏÔÏÒÙÅ
484 ÉÓÐÏÌØÚÕÀÔÓÑ ÄÌÑ ÓÂÏÒËÉ RPM'Ï×.
486 %description build-tools -l uk
487 ò¦ÚÎÏÍÁΦÔΦ ÄÏÐÏͦÖΦ ÓËÒÉÐÔÉ ÔÁ ÕÔÉ̦ÔÉ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÄÌÑ
491 Summary: Additional utilities for checking perl provides/requires in rpm packages
492 Summary(de): Zusatzwerkzeuge fürs Nachsehen Perl-Abhängigkeiten in RPM-Paketen
493 Summary(pl): Dodatkowe narzêdzia do sprawdzenia zale¿no¶ci skryptów perla w pakietach rpm
494 Group: Applications/File
495 Requires: %{name} = %{version}-%{release}
497 Requires: perl-modules
499 %description perlprov
500 Additional utilities for checking perl provides/requires in rpm
503 %description perlprov -l de
504 Zusatzwerkzeuge fürs Nachsehen Perl-Abhängigkeiten in RPM-Paketen.
506 %description perlprov -l pl
507 Dodatkowe narzêdzia do sprawdzenia zale¿no¶ci skryptów perla w
511 Summary: Python macros, which simplifies creation of rpm packages with Python software
512 Summary(pl): Makra u³atwiaj±ce tworzenie pakietów rpm z programami napisanymi w Pythonie
513 Group: Applications/File
514 Requires: %{name} = %{version}-%{release}
515 Requires: python-modules
517 %description pythonprov
518 Python macros, which simplifies creation of rpm packages with Python
521 %description pythonprov -l pl
522 Makra u³atwiaj±ce tworzenie pakietów rpm z programami napisanymi w
525 %package php-pearprov
526 Summary: Additional utilities for managing rpm packages and database
527 Summary(pl): Dodatkowe narzêdzia do sprawdzania zale¿no¶ci skryptów php w rpm
528 Group: Applications/File
529 Requires: %{name} = %{version}-%{release}
531 %description php-pearprov
532 Additional utilities for checking php pear provides/requires in rpm
535 %description php-pearprov -l pl
536 Dodatkowe narzêdzia do sprawdzenia zale¿no¶ci skryptów php pear w
539 %package -n python-rpm
540 Summary: Python interface to RPM library
541 Summary(pl): Pythonowy interfejs do biblioteki RPM-a
542 Summary(pt_BR): Módulo Python para aplicativos que manipulam pacotes RPM
543 Group: Development/Languages/Python
544 Requires: %{name} = %{version}-%{release}
545 %pyrequires_eq python
546 Obsoletes: rpm-python
548 %description -n python-rpm
549 The rpm-python package contains a module which permits applications
550 written in the Python programming language to use the interface
551 supplied by RPM (RPM Package Manager) libraries.
553 This package should be installed if you want to develop Python
554 programs that will manipulate RPM packages and databases.
556 %description -n python-rpm -l pl
557 Pakiet rpm-python zawiera modu³, który pozwala aplikacjom napisanym w
558 Pythonie na u¿ywanie interfejsu dostarczanego przez biblioteki RPM-a.
560 Pakiet ten powinien zostaæ zainstalowany, je¶li chcesz pisaæ w
561 Pythonie programy manipuluj±ce pakietami i bazami danych rpm.
563 %description -n python-rpm -l pt_BR
564 O pacote rpm-python contém um módulo que permite que aplicações
565 escritas em Python utilizem a interface fornecida pelas bibliotecas
566 RPM (RPM Package Manager).
568 Esse pacote deve ser instalado se você quiser desenvolver programas em
569 Python para manipular pacotes e bancos de dados RPM.
572 Summary: RPM API documentation and guides
573 Summary(pl): Documentacja API RPM-a i przewodniki
577 Documentation for RPM API and guides in HTML format generated
578 from rpm sources by doxygen.
580 %description apidocs -l pl
581 Dokumentacja API RPM-a oraz przewodniki w formacie HTML generowane
582 ze ¼rode³ RPM-a przez doxygen.
588 # temporarily moved after patch0 - messes too much in pl.po
607 sed -e 's/^/@pld@/' %{SOURCE2} >>platform.in
608 cp -f platform.in macros.pld.in
609 echo '%%define __perl_provides %%{__perl} /usr/lib/rpm/perl.prov' > macros.perl
610 echo '%%define __perl_requires %%{__perl} /usr/lib/rpm/perl.req' >> macros.perl
611 echo '# obsoleted file' > macros.python
612 echo '%%define __php_provides /usr/lib/rpm/php.prov' > macros.php
613 echo '%%define __php_requires /usr/lib/rpm/php.req' >> macros.php
614 install %{SOURCE5} scripts/find-lang.sh
615 install %{SOURCE9} scripts/php.prov.in
616 install %{SOURCE10} scripts/php.req.in
617 install %{SOURCE12} scripts/perl.prov
618 cat %{SOURCE11} >> macros.in
637 %{?with_distver:%patch38 -p1}
644 mv -f perl.req perl.req.in
645 mv -f perl.prov perl.prov.in
649 mv -f po/{sr,sr@Latn}.po
651 rm -rf neon zlib libelf db db3 popt rpmdb/db.h
653 # generate Group translations to *.po
654 awk -f %{SOURCE6} %{SOURCE1}
656 # update macros paths
657 for f in doc{,/ja,/pl}/rpm.8 doc{,/ja,/pl}/rpmbuild.8 ; do
658 sed -e 's@lib/rpm/redhat@lib/rpm/pld@g' $f > ${f}.tmp
662 # ... and make some cleanings
663 rm -fr $(find ./ -type d -name CVS )
664 rm -f $(find ./ -type f -name ".cvsignore" )
682 # config.guess doesn't handle athlon, so we have to change it by hand.
683 # rpm checks for CPU type at runtime, but it looks better
684 sed -e 's|@host@|%{_target_cpu}-%{_target_vendor}-linux-gnu|' \
685 -e 's|@host_cpu@|%{_target_cpu}|' macros.in > macros.tmp
686 mv -f macros.tmp macros.in
688 # pass CC and CXX too in case of building with some older configure macro
695 %{?with_apidoc:--with-apidocs} \
696 %{?with_pkgnameinautoreq:--enable-adding-packages-names-in-autogenerated-dependancies} \
697 %{?with_python:--with-python=auto} \
698 %{!?with_python:--without-python} \
699 %{!?with_selinux:--without-selinux} \
702 # file_LDFLAGS, debugedit_LDADD - no need to link "file" and "debugedit" statically
707 pylibdir=%{py_libdir} \
708 myLDFLAGS="%{rpmldflags}" \
710 debugedit_LDADD="\$(WITH_LIBELF_LIB) -lpopt"
712 # %{!?with_static:rpm_LDFLAGS="\$(myLDFLAGS)"} \
713 %{?with_apidocs:%{__make} doxygen}
716 rm -rf $RPM_BUILD_ROOT
717 install -d $RPM_BUILD_ROOT{/%{_lib},/etc/sysconfig,%{_sysconfdir}/rpm}
720 DESTDIR=$RPM_BUILD_ROOT \
721 pylibdir=%{py_libdir} \
722 pkgbindir="%{_bindir}"
724 rm $RPM_BUILD_ROOT%{_rpmlibdir}/vpkg-provides*
725 rm $RPM_BUILD_ROOT%{_rpmlibdir}/find-{prov,req}.pl
726 rm $RPM_BUILD_ROOT%{_rpmlibdir}/find-{provides,requires}.perl
728 install macros.perl $RPM_BUILD_ROOT%{_rpmlibdir}/macros.perl
729 install macros.python $RPM_BUILD_ROOT%{_rpmlibdir}/macros.python
730 install macros.php $RPM_BUILD_ROOT%{_rpmlibdir}/macros.php
732 install %{SOURCE1} doc/manual/groups
733 install %{SOURCE3} $RPM_BUILD_ROOT%{_rpmlibdir}/install-build-tree
734 install %{SOURCE4} $RPM_BUILD_ROOT%{_rpmlibdir}/find-spec-bcond
735 install %{SOURCE7} $RPM_BUILD_ROOT%{_rpmlibdir}/compress-doc
736 install %{SOURCE8} $RPM_BUILD_ROOT%{_rpmlibdir}/check-files
737 install %{SOURCE13} $RPM_BUILD_ROOT%{_rpmlibdir}/user_group.sh
738 install scripts/find-php* $RPM_BUILD_ROOT%{_rpmlibdir}
739 install scripts/php.{prov,req} $RPM_BUILD_ROOT%{_rpmlibdir}
740 install %{SOURCE14} $RPM_BUILD_ROOT/etc/sysconfig/rpm
741 install %{SOURCE15} $RPM_BUILD_ROOT%{_rpmlibdir}/gconf-schema-install
742 install %{SOURCE16} $RPM_BUILD_ROOT%{_rpmlibdir}/gconf-schema-uninstall
744 install %{SOURCE30} $RPM_BUILD_ROOT%{_bindir}/builder
745 install %{SOURCE31} $RPM_BUILD_ROOT%{_bindir}/adapter.awk
746 install %{SOURCE32} $RPM_BUILD_ROOT%{_bindir}/pldnotify.awk
747 install %{SOURCE33} $RPM_BUILD_ROOT%{_bindir}/banner.sh
749 install rpmio/ugid.h $RPM_BUILD_ROOT%{_includedir}/rpm
752 ix86re=$(echo "(%{ix86})"|sed 's/ /|/g')
753 perl -p -i -e 's/^(buildarchtranslate: '"$ix86re"': ).*/\1%{_target_cpu}/' \
754 $RPM_BUILD_ROOT%{_rpmlibdir}/rpmrc
757 cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros <<EOF
758 # customized rpm macros - global for host
760 #%%_install_langs pl_PL:en_US
763 # remove or replace with file_contexts path if you want to use custom
764 # SELinux file contexts policy instead of one stored in packages payload
765 %%_install_file_context_path %%{nil}
766 %%_verify_file_context_path %%{nil}
769 cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/noautoprovfiles <<EOF
770 # global list of files (regexps) which don't generate Provides
772 cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/noautoprov <<EOF
773 # global list of script capabilities (regexps) not to be used in Provides
775 cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/noautoreqfiles <<EOF
776 # global list of files (regexps) which don't generate Requires
780 cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/noautoreq <<EOF
781 # global list of script capabilities (regexps) not to be used in Requires
783 cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/noautoreqdep <<EOF
784 # global list of capabilities (SONAME, perl(module), php(module) regexps)
785 # which don't generate dependencies on package NAMES
786 # -- OpenGL implementation
796 # -- X11 implementation
839 cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/noautocompressdoc <<EOF
840 # global list of file masks not to be compressed in DOCDIR
843 # for rpm -e|-U --repackage
844 install -d $RPM_BUILD_ROOT/var/{spool/repackage,lock/rpm}
845 touch $RPM_BUILD_ROOT/var/lock/rpm/transaction
848 for a in librpm-%{sover}.so librpmdb-%{sover}.so librpmio-%{sover}.so ; do
849 mv -f $RPM_BUILD_ROOT%{_libdir}/$a $RPM_BUILD_ROOT/%{_lib}
850 ln -s /%{_lib}/$a $RPM_BUILD_ROOT%{_libdir}/$a
853 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
854 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
856 for f in $RPM_BUILD_ROOT%{_datadir}/locale/{en_RN,eu_ES,gl,hu,ro,wa,zh,zh_CN.GB2312}/LC_MESSAGES/rpm.mo ; do
857 [ "`file $f | sed -e 's/.*,//' -e 's/message.*//'`" -le 1 ] && rm -f $f
862 cp -a doc/manual manual
863 rm -f manual/Makefile*
866 rm -rf $RPM_BUILD_ROOT
868 %post lib -p /sbin/ldconfig
869 %postun lib -p /sbin/ldconfig
872 find %{_rpmlibdir} -name '*-linux' -type l | xargs rm -f
874 %files -f %{name}.lang
875 %defattr(644,root,root,755)
876 %doc RPM-PGP-KEY CHANGES manual
878 %attr(755,root,root) /bin/rpm
879 #%attr(755,root,root) %{_bindir}/rpmdb
880 #%attr(755,root,root) %{_bindir}/rpmquery
881 #%attr(755,root,root) %{_bindir}/rpmsign
882 #%attr(755,root,root) %{_bindir}/rpmverify
884 %dir %{_sysconfdir}/rpm
885 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/rpm/macros
886 %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rpm
888 %{_mandir}/man8/rpm.8*
889 %lang(fr) %{_mandir}/fr/man8/rpm.8*
890 %lang(ja) %{_mandir}/ja/man8/rpm.8*
891 %lang(ko) %{_mandir}/ko/man8/rpm.8*
892 %lang(pl) %{_mandir}/pl/man8/rpm.8*
893 %lang(ru) %{_mandir}/ru/man8/rpm.8*
894 %lang(sk) %{_mandir}/sk/man8/rpm.8*
897 %dir %attr(700,root,root) /var/spool/repackage
899 /var/lock/rpm/transaction
902 #%attr(755,root,root) %{_rpmlibdir}/rpmd
903 #%{!?with_static:%attr(755,root,root) %{_rpmlibdir}/rpm[eiu]}
904 #%attr(755,root,root) %{_rpmlibdir}/rpmk
905 #%attr(755,root,root) %{_rpmlibdir}/rpm[qv]
907 %doc %attr(755,root,root) %{_rpmlibdir}/convertrpmrc.sh
908 %attr(755,root,root) %{_rpmlibdir}/user_group.sh
909 %attr(755,root,root) %{_rpmlibdir}/gconf-schema-install
910 %attr(755,root,root) %{_rpmlibdir}/gconf-schema-uninstall
912 %attr(755,root,root) %{_bindir}/banner.sh
915 %{_rpmlibdir}/rpmpopt*
919 %defattr(644,root,root,755)
920 %attr(755,root,root) /%{_lib}/librpm*-*.so
921 %attr(755,root,root) %{_libdir}/librpm*-*.so
924 %defattr(644,root,root,755)
926 %{_libdir}/librpm*.la
927 %attr(755,root,root) %{_libdir}/librpm.so
928 %attr(755,root,root) %{_libdir}/librpm-%{sover}.so
929 %attr(755,root,root) %{_libdir}/librpmio.so
930 %attr(755,root,root) %{_libdir}/librpmio-%{sover}.so
931 %attr(755,root,root) %{_libdir}/librpmdb.so
932 %attr(755,root,root) %{_libdir}/librpmdb-%{sover}.so
933 %attr(755,root,root) %{_libdir}/librpmbuild.so
936 %defattr(644,root,root,755)
940 %defattr(644,root,root,755)
941 %attr(755,root,root) %{_bindir}/debugedit
942 %attr(755,root,root) %{_bindir}/rpm2cpio
943 %attr(755,root,root) %{_bindir}/rpmcache
944 %attr(755,root,root) %{_bindir}/rpmdeps
945 %attr(755,root,root) %{_bindir}/rpmgraph
946 %attr(755,root,root) %{_bindir}/rpmfile
947 %attr(755,root,root) %{_rpmlibdir}/find-debuginfo.sh
948 %attr(755,root,root) %{_rpmlibdir}/rpm2cpio.sh
949 %attr(755,root,root) %{_rpmlibdir}/tgpg
950 %attr(755,root,root) %{_rpmlibdir}/rpmdb_loadcvt
951 %{_mandir}/man8/rpm2cpio.8*
952 %{_mandir}/man8/rpmdeps.8*
953 %{_mandir}/man8/rpmcache.8*
954 %{_mandir}/man8/rpmgraph.8*
955 %lang(ja) %{_mandir}/ja/man8/rpm2cpio.8*
956 %lang(ja) %{_mandir}/ja/man8/rpmcache.8*
957 %lang(ja) %{_mandir}/ja/man8/rpmgraph.8*
958 %lang(ko) %{_mandir}/ko/man8/rpm2cpio.8*
959 %lang(pl) %{_mandir}/pl/man8/rpm2cpio.8*
960 %lang(pl) %{_mandir}/pl/man8/rpmdeps.8*
961 %lang(pl) %{_mandir}/pl/man8/rpmcache.8*
962 %lang(pl) %{_mandir}/pl/man8/rpmgraph.8*
963 %lang(ru) %{_mandir}/ru/man8/rpm2cpio.8*
966 %defattr(644,root,root,755)
967 %attr(755,root,root) %{_rpmlibdir}/rpmdiff*
969 #%%{_rpmlibdir}/rpm.daily
970 #%%{_rpmlibdir}/rpm.log
971 #%%{_rpmlibdir}/rpm.xinetd
975 %defattr(644,root,root,755)
976 %attr(755,root,root) %{_bindir}/rpm[ieu]
977 %attr(755,root,root) %{_rpmlibdir}/rpm[ieu]
981 %defattr(644,root,root,755)
982 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/rpm/noauto*
983 %attr(755,root,root) %{_rpmlibdir}/compress-doc
984 %attr(755,root,root) %{_rpmlibdir}/cross-build
985 #%attr(755,root,root) %{_rpmlibdir}/find-provides
986 #%attr(755,root,root) %{_rpmlibdir}/find-provides-wrapper
987 #%attr(755,root,root) %{_rpmlibdir}/find-requires
988 #%attr(755,root,root) %{_rpmlibdir}/find-requires-wrapper
989 #%attr(755,root,root) %{_rpmlibdir}/find-rpm-provides
990 %attr(755,root,root) %{_rpmlibdir}/find-spec-bcond
991 %attr(755,root,root) %{_rpmlibdir}/find-lang.sh
992 %attr(755,root,root) %{_rpmlibdir}/mkinstalldirs
993 %attr(755,root,root) %{_rpmlibdir}/config.*
994 %attr(755,root,root) %{_rpmlibdir}/getpo.sh
995 %attr(755,root,root) %{_rpmlibdir}/install-build-tree
996 %attr(755,root,root) %{_rpmlibdir}/brp-*
997 %attr(755,root,root) %{_rpmlibdir}/check-files
998 %attr(755,root,root) %{_rpmlibdir}/check-prereqs
999 #%attr(755,root,root) %{_rpmlibdir}/cpanflute
1000 #%attr(755,root,root) %{_rpmlibdir}/cpanflute2
1001 #%attr(755,root,root) %{_rpmlibdir}/Specfile.pm
1002 %attr(755,root,root) %{_rpmlibdir}/u_pkg.sh
1003 #%attr(755,root,root) %{_rpmlibdir}/vpkg-provides.sh
1004 #%attr(755,root,root) %{_rpmlibdir}/vpkg-provides2.sh
1005 %attr(755,root,root) %{_rpmlibdir}/rpmb
1006 %attr(755,root,root) %{_rpmlibdir}/rpmt
1007 %{_rpmlibdir}/noarch-*
1010 %{_rpmlibdir}/pentium*
1011 %{_rpmlibdir}/athlon*
1014 %{_rpmlibdir}/alpha*
1017 %{_rpmlibdir}/amd64*
1022 %ifarch mips mipsel mips64 mips64el
1028 %ifarch sparc sparc64
1029 %{_rpmlibdir}/sparc*
1031 # must be here for "Requires: rpm-*prov" to work
1032 %{_rpmlibdir}/macros.perl
1033 %{_rpmlibdir}/macros.php
1034 # not used yet ... these six depend on perl
1035 #%attr(755,root,root) %{_rpmlibdir}/http.req
1036 #%attr(755,root,root) %{_rpmlibdir}/magic.prov
1037 #%attr(755,root,root) %{_rpmlibdir}/magic.req
1038 #%{_rpmlibdir}/sql.prov
1039 #%{_rpmlibdir}/sql.req
1040 #%{_rpmlibdir}/tcl.req
1043 %attr(755,root,root) %{_bindir}/javadeps
1044 %attr(755,root,root) %{_bindir}/gendiff
1045 %attr(755,root,root) %{_bindir}/rpmbuild
1047 %{_mandir}/man1/gendiff.1*
1048 %{_mandir}/man8/rpmbuild.8*
1049 %lang(ja) %{_mandir}/ja/man8/rpmbuild.8*
1050 %lang(pl) %{_mandir}/pl/man1/gendiff.1*
1051 %lang(pl) %{_mandir}/pl/man8/rpmbuild.8*
1054 %defattr(644,root,root,755)
1055 %attr(755,root,root) %{_bindir}/builder
1056 %attr(755,root,root) %{_bindir}/adapter.awk
1057 %attr(755,root,root) %{_bindir}/pldnotify.awk
1060 %defattr(644,root,root,755)
1061 %attr(755,root,root) %{_rpmlibdir}/perl.*
1062 #%attr(755,root,root) %{_rpmlibdir}/perldeps.pl
1063 #%attr(755,root,root) %{_rpmlibdir}/find-perl-*
1064 #%attr(755,root,root) %{_rpmlibdir}/find-*.perl
1065 #%attr(755,root,root) %{_rpmlibdir}/find-prov.pl
1066 #%attr(755,root,root) %{_rpmlibdir}/find-req.pl
1067 %attr(755,root,root) %{_rpmlibdir}/get_magic.pl
1070 %defattr(644,root,root,755)
1071 %{_rpmlibdir}/macros.python
1072 %attr(755,root,root) %{_rpmlibdir}/pythondeps.sh
1075 %defattr(644,root,root,755)
1076 %attr(755,root,root) %{_rpmlibdir}/php*
1077 %attr(755,root,root) %{_rpmlibdir}/find-php*
1080 %files -n python-rpm
1081 %defattr(644,root,root,755)
1082 %attr(755,root,root) %{py_sitedir}/*.so
1083 %attr(755,root,root) %{py_sitedir}/rpm/*.so
1084 %attr(755,root,root) %{py_sitedir}/rpm/*.py[co]
1085 %attr(755,root,root) %{py_sitedir}/rpmdb/*.so
1086 %{py_sitedir}/rpmdb/*.py*
1091 %defattr(644,root,root,755)