3 # - python(abi) cap is not provided automatically (because /usr/bin/python matches
4 # ELF first; it should be provided by python-libs not binary anyway)
5 # - consider using system libmagic not internal libfmagic
6 # (but internal has different method of passing output)
9 %bcond_with static # build static rpmi (not supported at the moment)
10 %bcond_without apidocs # don't generate documentation with doxygen
11 %bcond_with autoreqdep # autogenerate package name deps in addition to sonames/perl(X)
12 %bcond_without home_etc # build without HOME_ETC support
13 %bcond_without python # don't build python bindings
14 %bcond_without selinux # build without selinux support
15 %bcond_with neon # build with HTTP/WebDAV support (neon library)
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"
20 # versions of required libraries
21 %define reqdb_ver 4.3.27-1
22 %define reqpopt_ver 1.10.2
23 %define beecrypt_ver 2:4.1.2-4
24 %define rpm_macros_rev 1.235
25 Summary: RPM Package Manager
26 Summary(de): RPM Packet-Manager
27 Summary(es): Gestor de paquetes RPM
28 Summary(pl): Aplikacja do zarz±dzania pakietami RPM
29 Summary(pt_BR): Gerenciador de pacotes RPM
30 Summary(ru): íÅÎÅÄÖÅÒ ÐÁËÅÔÏ× ÏÔ RPM
31 Summary(uk): íÅÎÅÄÖÅÒ ÐÁËÅÔ¦× ×¦Ä RPM
38 Source0: ftp://jbj.org/pub/rpm-4.4.x/%{name}-%{version}.tar.gz
39 # Source0-md5: e24ce468082479fe850c9d6563f56db5
40 Source1: %{name}.groups
41 Source2: %{name}.platform
42 Source3: %{name}-install-tree
43 Source4: %{name}-find-spec-bcond
44 Source5: %{name}-find-lang
45 Source6: %{name}-groups-po.awk
46 Source7: %{name}-compress-doc
47 Source8: %{name}-check-files
48 Source9: %{name}-php-provides
49 Source10: %{name}-php-requires
50 Source11: %{name}.macros
52 Source13: %{name}-user_group.sh
53 Source14: %{name}.sysconfig
56 Source32: pldnotify.awk
57 # http://svn.pld-linux.org/banner.sh/
59 Patch0: %{name}-pl.po.patch
60 Patch1: %{name}-rpmrc.patch
61 Patch2: %{name}-arch.patch
62 Patch3: %{name}-rpmpopt.patch
63 Patch4: %{name}-perl-macros.patch
64 Patch5: %{name}-perl-req-perlfile.patch
65 Patch6: %{name}-noexpand.patch
66 Patch7: %{name}-scripts-closefds.patch
67 Patch8: %{name}-python-macros.patch
68 Patch9: %{name}-gettext-in-header.patch
69 Patch10: %{name}-compress-doc.patch
70 Patch11: %{name}-build.patch
71 Patch12: %{name}-system_libs.patch
72 Patch13: %{name}-bb-and-short-circuit.patch
73 Patch14: %{name}-etc_dir.patch
74 Patch15: %{name}-system_libs-more.patch
75 Patch16: %{name}-php-deps.patch
76 Patch17: %{name}-ldconfig-always.patch
77 Patch18: %{name}-perl_req.patch
79 Patch20: %{name}-magic-usesystem.patch
80 Patch21: %{name}-dontneedutils.patch
81 Patch22: %{name}-provides-dont-obsolete.patch
82 Patch23: %{name}-examplesaredoc.patch
83 Patch24: %{name}-po.patch
84 Patch25: %{name}-getcwd.patch
85 Patch26: %{name}-notsc.patch
86 Patch27: %{name}-hack-norpmlibdep.patch
87 Patch28: %{name}-makefile-no_myLDADD_deps.patch
88 Patch29: %{name}-libdir64.patch
89 Patch30: %{name}-libdir-links.patch
90 Patch31: %{name}-missing-prototypes.patch
91 Patch32: %{name}-pld-autodep.patch
92 Patch33: %{name}-rpmsq.patch
93 Patch34: %{name}-epoch0.patch
94 Patch35: %{name}-perl_req-INC_dirs.patch
95 Patch36: %{name}-debuginfo.patch
96 Patch37: %{name}-doxygen_hack.patch
98 Patch39: %{name}-pythondeps.patch
99 Patch40: %{name}-print-requires.patch
100 Patch41: %{name}-reduce-stack-usage.patch
101 Patch42: %{name}-glob.patch
102 Patch43: %{name}-patch-quote.patch
103 Patch44: %{name}-no-neon.patch
104 Patch45: %{name}-no-sqlite.patch
105 Patch46: %{name}-mono.patch
106 Patch47: %{name}-posttrans.patch
107 URL: http://wraptastic.org/
109 BuildRequires: autoconf >= 2.52
110 BuildRequires: automake
111 BuildRequires: beecrypt-devel >= %{beecrypt_ver}
112 BuildRequires: bzip2-devel >= 1.0.2-17
113 BuildRequires: db-devel >= %{reqdb_ver}
114 %{?with_apidocs:BuildRequires: doxygen}
115 BuildRequires: elfutils-devel >= 0.108
116 BuildRequires: findutils
117 BuildRequires: gettext-devel >= 0.11.4-2
118 %{?with_home_etc:BuildRequires: home-etc-devel >= 1:1.0.9-2}
119 #BuildRequires: libmagic-devel
120 %{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
121 # needed only for AM_PROG_CXX used for CXX substitution in rpm.macros
122 BuildRequires: libstdc++-devel
123 BuildRequires: libtool
125 BuildRequires: libxml2-devel
126 BuildRequires: neon-devel >= 0.24.7-3
128 BuildRequires: patch >= 2.2
129 BuildRequires: popt-devel >= %{reqpopt_ver}
130 %{?with_python:BuildRequires: python-devel >= 1:2.3}
131 BuildRequires: python-modules >= 1:2.3
132 BuildRequires: readline-devel
133 BuildRequires: rpm-perlprov
134 BuildRequires: zlib-devel
136 # Require static library only for static build
137 BuildRequires: beecrypt-static >= %{beecrypt_ver}
138 BuildRequires: bzip2-static >= 1.0.2-17
139 BuildRequires: db-static >= %{reqdb_ver}
140 BuildRequires: glibc-static >= 2.2.94
141 BuildRequires: elfutils-static
142 #BuildRequires: libmagic-static
143 %{?with_selinux:BuildRequires: libselinux-static >= 1.18}
144 BuildRequires: popt-static >= %{reqpopt_ver}
145 BuildRequires: zlib-static
147 Requires: beecrypt >= %{beecrypt_ver}
148 Requires: popt >= %{reqpopt_ver}
149 Requires: %{name}-lib = %{version}-%{release}
150 %{!?with_static:Obsoletes: rpm-utils-static}
151 Conflicts: glibc < 2.2.92
152 # avoid SEGV caused by mixed db versions
153 Conflicts: poldek < 0.18.1-16
154 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
156 %define _binary_payload w9.gzdio
157 %define _noPayloadPrefix 1
159 # don't require very fresh rpm.macros to build
160 %define __gettextize gettextize --copy --force --intl ; cp -f po/Makevars{.template,}
161 %define ix86 i386 i486 i586 i686 athlon pentium3 pentium4
162 %define x8664 amd64 ia32e x86_64
164 # stabilize new build environment
165 %define __newcc %{?force_cc}%{!?force_cc:%{_target_cpu}-pld-linux-gcc}
166 %define __newcxx %{?force_cxx}%{!?force_cxx:%{_target_cpu}-pld-linux-g++}
167 %define __newcpp %{?force_cpp}%{!?force_cpp:%{_target_cpu}-pld-linux-gcc -E}
169 %define _rpmlibdir /usr/lib/rpm
172 RPM is a powerful package manager, which can be used to build,
173 install, query, verify, update, and uninstall individual software
174 packages. A package consists of an archive of files, and package
175 information, including name, version, and description.
178 RPM ist ein kräftiger Packet-Manager, der verwendet sein kann zur
179 Installation, Anfrage, Verifizierung, Aktualisierung und
180 Uninstallation individueller Softwarepakete. Ein Paket besteht aus
181 einem Archiv Dateien und Paketinformation, inklusive Name, Version und
185 RPM es un poderoso administrador de paquetes, que puede ser usado para
186 construir, instalar, pesquisar, verificar, actualizar y desinstalar
187 paquetes individuales de software. Un paquete consiste en un
188 almacenaje de archivos, y información sobre el paquete, incluyendo
189 nombre, versión y descripción.
192 RPM jest doskona³ym programem zarz±dzaj±cym pakietami. Umo¿liwia on
193 przebudowanie, instalacjê czy weryfikacjê dowolnego pakietu.
194 Informacje dotycz±ce ka¿dego pakietu, takie jak jego opis, lista
195 plików wchodz±cych w sk³ad pakietu, zale¿no¶ci od innych pakietów, s±
196 przechowywane w bazie danych i mo¿na je uzyskaæ za pomoc± opcji
197 odpytywania programu rpm.
199 %description -l pt_BR
200 RPM é um poderoso gerenciador de pacotes, que pode ser usado para
201 construir, instalar, pesquisar, verificar, atualizar e desinstalar
202 pacotes individuais de software. Um pacote consiste de um conjunto de
203 arquivos e informações adicionais, incluindo nome, versão e descrição
204 do pacote, permissões dos arquivos, etc.
207 RPM - ÜÔÏ ÍÏÝÎÙÊ ÍÅÎÅÄÖÅÒ ÐÁËÅÔÏ×, ËÏÔÏÒÙÊ ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌØÚÏ×ÁÎ ÄÌÑ
208 ÓÏÚÄÁÎÉÑ, ÉÎÓÔÁÌÌÑÃÉÉ, ÚÁÐÒÏÓÏ× (query), ÐÒÏ×ÅÒËÉ, ÏÂÎÏ×ÌÅÎÉÑ É
209 ÕÄÁÌÅÎÉÑ ÐÒÏÇÒÁÍÍÎÙÈ ÐÁËÅÔÏ×. ðÁËÅÔ ÓÏÓÔÏÉÔ ÉÚ ÆÁÊÌÏ×ÏÇÏ ÁÒÈÉ×Á É
210 ÓÌÕÖÅÂÎÏÊ ÉÎÆÏÒÍÁÃÉÉ, ×ËÌÀÞÁÀÝÅÊ ÎÁÚ×ÁÎÉÅ, ×ÅÒÓÉÀ, ÏÐÉÓÁÎÉÅ É ÄÒÕÇÉÅ
214 RPM - ÃÅ ÐÏÔÕÖÎÉÊ ÍÅÎÅÄÖÅÒ ÐÁËÅÔ¦×, ÝÏ ÍÏÖÅ ÂÕÔÉ ×ÉËÏÒÉÓÔÁÎÉÊ ÄÌÑ
215 ÓÔ×ÏÒÅÎÎÑ, ¦ÎÓÔÁÌÑæ§, ÚÁÐÉÔ¦× (query), ÐÅÒÅצÒËÉ, ÐÏÎÏ×ÌÅÎÎÑ ÔÁ
216 ×ÉÄÁÌÅÎÎÑ ÐÒÏÇÒÁÍÎÉÈ ÐÁËÅÔ¦×. ðÁËÅÔ ÓËÌÁÄÁ¤ÔØÓÑ Ú ÆÁÊÌÏ×ÏÇÏ ÁÒȦ×Õ ÔÁ
217 ÓÌÕÖÂÏ×ϧ ¦ÎÆÏÒÍÁæ§, ÝÏ Í¦ÓÔÉÔØ ÎÁÚ×Õ, ×ÅÒÓ¦À, ÏÐÉÓ ÔÁ ¦ÎÛÕ
218 ¦ÎÆÏÒÍÁæÀ ÐÒÏ ÐÁËÅÔ.
221 Summary: RPMs library
222 Summary(pl): Biblioteki RPM-a
224 Requires: beecrypt >= %{beecrypt_ver}
225 Requires: db >= %{reqdb_ver}
226 %{?with_selinux:Requires: libselinux >= 1.18}
227 Requires: popt >= %{reqpopt_ver}
229 # avoid SEGV caused by mixed db versions
230 Conflicts: poldek < 0.18.1-16
232 # avoid linking to /usr/lib
233 Conflicts: home-etc < 1.0.9-2
239 %description lib -l pl
243 Summary: Header files for rpm libraries
244 Summary(de): Header-Dateien für rpm Libraries
245 Summary(es): Archivos de inclusión y bibliotecas para programas de manipulación de paquetes rpm
246 Summary(pl): Pliki nag³ówkowe bibliotek rpm
247 Summary(pt_BR): Arquivos de inclusão e bibliotecas para programas de manipulação de pacotes RPM
248 Summary(ru): èÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍ, ÒÁÂÏÔÁÀÝÉÈ Ó rpm-ÐÁËÅÔÁÍÉ
249 Summary(uk): èÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍ, ÝÏ ÐÒÁÃÀÀÔØ Ú ÐÁËÅÔÁÍÉ rpm
250 Group: Development/Libraries
251 Requires: %{name}-lib = %{version}-%{release}
252 Requires: beecrypt-devel >= %{beecrypt_ver}
253 Requires: bzip2-devel
254 Requires: db-devel >= %{reqdb_ver}
255 Requires: elfutils-devel
256 %{?with_home_etc:Requires: home-etc-devel >= 1:1.0.9-2}
257 %{?with_selinux:Requires: libselinux-devel}
258 Requires: popt-devel >= %{reqpopt_ver}
262 The RPM packaging system includes C libraries that make it easy to
263 manipulate RPM packages and databases. They are intended to ease the
264 creation of graphical package managers and other tools that need
265 intimate knowledge of RPM packages. This package contains header files
268 %description devel -l de
269 Der RPM-Packensystem enthält eine C-Library, die macht es einfach
270 RPM-Pakete und Dateibanken zu manipulieren. Er eignet sich für
271 Vereinfachung des Schaffens grafischer Paket-Manager und anderer
272 Werkzeuge, die intime Kenntnis von RPM-Paketen brauchen.
274 %description devel -l es
275 El sistema de empaquetado RPM incluye una biblioteca C que vuelve
276 fácil la manipulación de paquetes y bases de datos RPM. Su objetivo es
277 facilitar la creación de administradores gráficos de paquetes y otras
278 herramientas que necesiten un conocimiento profundo de paquetes RPM.
280 %description devel -l pl
281 System RPM zawiera biblioteki C, które u³atwiaj± manipulowanie
282 pakietami RPM oraz bazami danych. W zamiarze ma to upro¶ciæ tworzenie
283 graficznych programów zarz±dzaj±cych pakietami oraz innych narzêdzi,
284 które wymagaj± szczegó³owej wiedzy na temat pakietów RPM. Ten pakiet
285 zawiera pliki nag³ówkowe wspomnianych bibliotek.
287 %description devel -l pt_BR
288 O sistema de empacotamento RPM inclui uma biblioteca C que torna fácil
289 a manipulação de pacotes e bases de dados RPM. Seu objetivo é
290 facilitar a criação de gerenciadores gráficos de pacotes e outras
291 ferramentas que precisem de conhecimento profundo de pacotes RPM.
293 %description devel -l ru
294 óÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÐÁËÅÔÁÍÉ RPM ÓÏÄÅÒÖÉÔ ÂÉÂÌÉÏÔÅËÕ C, ËÏÔÏÒÁÑ
295 ÕÐÒÏÝÁÅÔ ÍÁÎÉÐÕÌÑÃÉÀ ÐÁËÅÔÁÍÉ RPM É ÓÏÏÔ×ÅÔÓÔ×ÕÀÝÉÍÉ ÂÁÚÁÍÉ ÄÁÎÎÙÈ.
296 üÔÁ ÂÉÂÌÉÏÔÅËÁ ÐÒÅÄÎÁÚÎÁÞÅÎÁ ÄÌÑ ÏÂÌÅÇÞÅÎÉÑ ÓÏÚÄÁÎÉÑ ÇÒÁÆÉÞÅÓËÉÈ
297 ÐÁËÅÔÎÙÈ ÍÅÎÅÄÖÅÒÏ× É ÄÒÕÇÉÈ ÕÔÉÌÉÔ, ËÏÔÏÒÙÍ ÎÅÏÂÈÏÄÉÍÏ ÒÁÂÏÔÁÔØ Ó
300 %description devel -l uk
301 óÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÐÁËÅÔÁÍÉ RPM ͦÓÔÉÔØ Â¦Â̦ÏÔÅËÕ C, ËÏÔÒÁ ÓÐÒÏÝÕ¤
302 ÒÏÂÏÔÕ Ú ÐÁËÅÔÁÍÉ RPM ÔÁ צÄÐÏצÄÎÉÍÉ ÂÁÚÁÍÉ ÄÁÎÉÈ. ãÑ Â¦Â̦ÏÔÅËÁ
303 ÐÒÉÚÎÁÞÅÎÁ ÄÌÑ ÐÏÌÅÇÛÅÎÎÑ ÓÔ×ÏÒÅÎÎÑ ÇÒÁƦÞÎÉÈ ÐÁËÅÔÎÉÈ ÍÅÎÅÄÖÅÒ¦× ÔÁ
304 ¦ÎÛÉÈ ÕÔÉ̦Ô, ÝÏ ÐÒÁÃÀÀÔØ Ú ÐÁËÅÔÁÍÉ RPM.
307 Summary: RPM static libraries
308 Summary(de): RPMs statische Libraries
309 Summary(pl): Biblioteki statyczne RPM-a
310 Summary(pt_BR): Bibliotecas estáticas para o desenvolvimento de aplicações RPM
311 Summary(ru): óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ ÐÒÏÇÒÁÍÍ, ÒÁÂÏÔÁÀÝÉÈ Ó rpm-ÐÁËÅÔÁÍÉ
312 Summary(uk): óÔÁÔÉÞÎÁ ¦Â̦ÏÔÅËÁ ÄÌÑ ÐÒÏÇÒÁÍ, ÝÏ ÐÒÁÃÀÀÔØ Ú ÐÁËÅÔÁÍÉ rpm
313 Group: Development/Libraries
314 Requires: %{name}-devel = %{version}-%{release}
315 Requires: beecrypt-static >= %{beecrypt_ver}
316 Requires: bzip2-static
317 Requires: db-static >= %{reqdb_ver}
318 Requires: elfutils-static
319 Requires: popt-static >= %{reqpopt_ver}
320 Requires: zlib-static
323 RPM static libraries.
325 %description static -l de
326 RPMs statische Libraries.
328 %description static -l pl
329 Biblioteki statyczne RPM-a.
331 %description static -l pt_BR
332 Bibliotecas estáticas para desenvolvimento.
334 %description static -l ru
335 óÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÐÁËÅÔÁÍÉ RPM ÓÏÄÅÒÖÉÔ ÂÉÂÌÉÏÔÅËÕ C, ËÏÔÏÒÁÑ
336 ÕÐÒÏÝÁÅÔ ÍÁÎÉÐÕÌÑÃÉÀ ÐÁËÅÔÁÍÉ RPM É ÓÏÏÔ×ÅÔÓÔ×ÕÀÝÉÍÉ ÂÁÚÁÍÉ ÄÁÎÎÙÈ.
337 üÔÏ ÓÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ RPM.
339 %description static -l uk
340 óÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÐÁËÅÔÁÍÉ RPM ͦÓÔÉÔØ Â¦Â̦ÏÔÅËÕ C, ËÏÔÒÁ ÓÐÒÏÝÕ¤
341 ÒÏÂÏÔÕ Ú ÐÁËÅÔÁÍÉ RPM ÔÁ צÄÐÏצÄÎÉÍÉ ÂÁÚÁÍÉ ÄÁÎÉÈ. ãÅ ÓÔÁÔÉÞÎÁ
345 Summary: Additional utilities for managing rpm packages and database
346 Summary(de): Zusatzwerkzeuge für Verwaltung RPM-Pakete und Datenbanken
347 Summary(pl): Dodatkowe narzêdzia do zarz±dzania baz± RPM-a i pakietami
348 Group: Applications/File
349 Requires: %{name} = %{version}-%{release}
350 Requires: popt >= %{reqpopt_ver}
353 Additional utilities for managing rpm packages and database.
355 %description utils -l de
356 Zusatzwerkzeuge für Verwaltung RPM-Pakete und Datenbanken.
358 %description utils -l pl
359 Dodatkowe narzêdzia do zarz±dzania baz± RPM-a i pakietami.
362 Summary: Additional utilities for managing rpm packages and database
363 Summary(de): Zusatzwerkzeuge für Verwaltung RPM-Pakete und Datenbanken
364 Summary(pl): Dodatkowe narzêdzia do zarz±dzania baz± RPM-a i pakietami
365 Group: Applications/File
366 Requires: %{name}-utils = %{version}-%{release}
367 Requires: popt >= %{reqpopt_ver}
369 %description utils-perl
370 Additional utilities for managing rpm packages and database.
372 %description utils-perl -l de
373 Zusatzwerkzeuge für Verwaltung RPM-Pakete und Datenbanken.
375 %description utils-perl -l pl
376 Dodatkowe narzêdzia do zarz±dzania baz± RPM-a i pakietami.
378 %package utils-static
379 Summary: Static rpm utilities
380 Summary(pl): Statyczne narzêdzia rpm
381 Group: Applications/System
382 Requires: %{name} = %{version}-%{release}
384 %description utils-static
385 Static rpm utilities for repairing system in case something with
386 shared libraries used by rpm become broken. Currently it contains rpmi
387 binary, which can be used to install/upgrade/remove packages without
388 using shared libraries (well, in fact with exception of NSS modules).
390 %description utils-static -l pl
391 Statyczne narzêdzia rpm do naprawy systemu w przypadku zepsucia czego¶
392 zwi±zanego z bibliotekami wspó³dzielonymi u¿ywanymi przez rpm-a.
393 Aktualnie pakiet zawiera binarkê rpmi, któr± mo¿na u¿yæ do instalacji,
394 uaktualniania lub usuwania pakietów bez udzia³u bibliotek statycznych
395 (z wyj±tkiem modu³ów NSS).
398 Summary: Scripts for building binary RPM packages
399 Summary(de): Scripts fürs Bauen binärer RPM-Pakete
400 Summary(pl): Skrypty pomocnicze do budowania binarnych RPM-ów
401 Summary(pt_BR): Scripts e programas executáveis usados para construir pacotes
402 Summary(ru): óËÒÉÐÔÙ É ÕÔÉÌÉÔÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÓÂÏÒËÉ ÐÁËÅÔÏ×
403 Summary(uk): óËÒÉÐÔÉ ÔÁ ÕÔÉ̦ÔÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÐÏÂÕÄÏ×É ÐÁËÅÔ¦×
404 Group: Applications/File
405 Requires(pre): findutils
406 Requires: %{name}-utils = %{version}-%{release}
411 Requires: chrpath >= 0.10-4
415 Requires: file >= 4.14-1
418 Requires: gcc >= 5:3.4
419 Requires: glibc-devel
424 Requires: popt >= 1.7
429 Provides: rpmbuild(macros) = %{rpm_macros_rev}
430 Provides: rpmbuild(monoautodeps)
431 Provides: rpmbuild(noauto) = 3
433 Conflicts: automake < 1:1.7.9-2
434 Conflicts: libtool < 2:1.5-13
438 Scripts for building binary RPM packages.
440 %description build -l de
441 Scripts fürs Bauen binärer RPM-Pakete.
443 %description build -l pl
444 Skrypty pomocnicze do budowania binarnych RPM-ów.
446 %description build -l pt_BR
447 Este pacote contém scripts e programas executáveis que são usados para
448 construir pacotes usando o RPM.
450 %description build -l ru
451 òÁÚÌÉÞÎÙÅ ×ÓÐÏÍÏÇÁÔÅÌØÎÙÅ ÓËÒÉÐÔÙ É ÉÓÐÏÌÎÑÅÍÙÅ ÐÒÏÇÒÁÍÍÙ, ËÏÔÏÒÙÅ
452 ÉÓÐÏÌØÚÕÀÔÓÑ ÄÌÑ ÓÂÏÒËÉ RPM'Ï×.
454 %description build -l uk
455 ò¦ÚÎÏÍÁΦÔΦ ÄÏÐÏͦÖΦ ÓËÒÉÐÔÉ ÔÁ ÕÔÉ̦ÔÉ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÄÌÑ
459 Summary: Scripts for managing .spec files and building RPM packages
460 Summary(de): Scripts fürs Bauen binärer RPM-Pakete
461 Summary(pl): Skrypty pomocnicze do zarz±dznia plikami .spec i budowania RPM-ów
462 Summary(pt_BR): Scripts e programas executáveis usados para construir pacotes
463 Summary(ru): óËÒÉÐÔÙ É ÕÔÉÌÉÔÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÓÂÏÒËÉ ÐÁËÅÔÏ×
464 Summary(uk): óËÒÉÐÔÉ ÔÁ ÕÔÉ̦ÔÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÐÏÂÕÄÏ×É ÐÁËÅÔ¦×
465 Group: Applications/File
466 Requires: %{name}-build = %{version}-%{release}
471 %description build-tools
472 Scripts for managing .spec files and building RPM packages.
474 %description build-tools -l de
475 Scripts fürs Bauen RPM-Pakete.
477 %description build-tools -l pl
478 Skrypty pomocnicze do zarz±dzania plikami .spec i do budowania RPM-ów.
480 %description build-tools -l pt_BR
481 Este pacote contém scripts e programas executáveis que são usados para
482 construir pacotes usando o RPM.
484 %description build-tools -l ru
485 òÁÚÌÉÞÎÙÅ ×ÓÐÏÍÏÇÁÔÅÌØÎÙÅ ÓËÒÉÐÔÙ É ÉÓÐÏÌÎÑÅÍÙÅ ÐÒÏÇÒÁÍÍÙ, ËÏÔÏÒÙÅ
486 ÉÓÐÏÌØÚÕÀÔÓÑ ÄÌÑ ÓÂÏÒËÉ RPM'Ï×.
488 %description build-tools -l uk
489 ò¦ÚÎÏÍÁΦÔΦ ÄÏÐÏͦÖΦ ÓËÒÉÐÔÉ ÔÁ ÕÔÉ̦ÔÉ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÄÌÑ
493 Summary: Additional utilities for checking perl provides/requires in rpm packages
494 Summary(de): Zusatzwerkzeuge fürs Nachsehen Perl-Abhängigkeiten in RPM-Paketen
495 Summary(pl): Dodatkowe narzêdzia do sprawdzenia zale¿no¶ci skryptów perla w pakietach rpm
496 Group: Applications/File
497 Requires: %{name} = %{version}-%{release}
499 Requires: perl-modules
501 %description perlprov
502 Additional utilities for checking perl provides/requires in rpm
505 %description perlprov -l de
506 Zusatzwerkzeuge fürs Nachsehen Perl-Abhängigkeiten in RPM-Paketen.
508 %description perlprov -l pl
509 Dodatkowe narzêdzia do sprawdzenia zale¿no¶ci skryptów perla w
513 Summary: Python macros, which simplifies creation of rpm packages with Python software
514 Summary(pl): Makra u³atwiaj±ce tworzenie pakietów rpm z programami napisanymi w Pythonie
515 Group: Applications/File
516 Requires: %{name} = %{version}-%{release}
518 Requires: python-modules
520 %description pythonprov
521 Python macros, which simplifies creation of rpm packages with Python
524 %description pythonprov -l pl
525 Makra u³atwiaj±ce tworzenie pakietów rpm z programami napisanymi w
528 %package php-pearprov
529 Summary: Additional utilities for managing rpm packages and database
530 Summary(pl): Dodatkowe narzêdzia do sprawdzania zale¿no¶ci skryptów php w rpm
531 Group: Applications/File
532 Requires: %{name} = %{version}-%{release}
534 %description php-pearprov
535 Additional utilities for checking php pear provides/requires in rpm
538 %description php-pearprov -l pl
539 Dodatkowe narzêdzia do sprawdzenia zale¿no¶ci skryptów php pear w
542 %package -n python-rpm
543 Summary: Python interface to RPM library
544 Summary(pl): Pythonowy interfejs do biblioteki RPM-a
545 Summary(pt_BR): Módulo Python para aplicativos que manipulam pacotes RPM
546 Group: Development/Languages/Python
547 Requires: %{name} = %{version}-%{release}
548 %pyrequires_eq python
549 Obsoletes: rpm-python
551 %description -n python-rpm
552 The rpm-python package contains a module which permits applications
553 written in the Python programming language to use the interface
554 supplied by RPM (RPM Package Manager) libraries.
556 This package should be installed if you want to develop Python
557 programs that will manipulate RPM packages and databases.
559 %description -n python-rpm -l pl
560 Pakiet rpm-python zawiera modu³, który pozwala aplikacjom napisanym w
561 Pythonie na u¿ywanie interfejsu dostarczanego przez biblioteki RPM-a.
563 Pakiet ten powinien zostaæ zainstalowany, je¶li chcesz pisaæ w
564 Pythonie programy manipuluj±ce pakietami i bazami danych rpm.
566 %description -n python-rpm -l pt_BR
567 O pacote rpm-python contém um módulo que permite que aplicações
568 escritas em Python utilizem a interface fornecida pelas bibliotecas
569 RPM (RPM Package Manager).
571 Esse pacote deve ser instalado se você quiser desenvolver programas em
572 Python para manipular pacotes e bancos de dados RPM.
575 Summary: RPM API documentation and guides
576 Summary(pl): Documentacja API RPM-a i przewodniki
580 Documentation for RPM API and guides in HTML format generated
581 from rpm sources by doxygen.
583 %description apidocs -l pl
584 Dokumentacja API RPM-a oraz przewodniki w formacie HTML generowane
585 ze ¼rode³ RPM-a przez doxygen.
591 # temporarily moved after patch0 - messes too much in pl.po
608 sed -e 's/^/@pld@/' %{SOURCE2} >>platform.in
609 cp -f platform.in macros.pld.in
610 echo '%%define __perl_provides %%{__perl} /usr/lib/rpm/perl.prov' > macros.perl
611 echo '%%define __perl_requires %%{__perl} /usr/lib/rpm/perl.req' >> macros.perl
612 echo '# obsoleted file' > macros.python
613 echo '%%define __php_provides /usr/lib/rpm/php.prov' > macros.php
614 echo '%%define __php_requires /usr/lib/rpm/php.req' >> macros.php
615 echo '%%define __mono_provides /usr/lib/rpm/mono-find-provides' > macros.mono
616 echo '%%define __mono_requires /usr/lib/rpm/mono-find-requires' >> macros.mono
617 install %{SOURCE5} scripts/find-lang.sh
618 install %{SOURCE9} scripts/php.prov.in
619 install %{SOURCE10} scripts/php.req.in
620 install %{SOURCE12} scripts/perl.prov
621 cat %{SOURCE11} >> macros.in
645 %{!?with_neon:%patch44 -p1}
653 mv -f perl.req perl.req.in
654 mv -f perl.prov perl.prov.in
658 mv -f po/{sr,sr@Latn}.po
660 rm -rf sqlite zlib db db3 popt rpmdb/db.h
662 # generate Group translations to *.po
663 awk -f %{SOURCE6} %{SOURCE1}
665 # update macros paths
666 for f in doc{,/ja,/pl}/rpm.8 doc{,/ja,/pl}/rpmbuild.8 ; do
667 sed -e 's@lib/rpm/redhat@lib/rpm/pld@g' $f > ${f}.tmp
687 # config.guess doesn't handle athlon, so we have to change it by hand.
688 # rpm checks for CPU type at runtime, but it looks better
689 sed -e 's|@host@|%{_target_cpu}-%{_target_vendor}-linux-gnu|' \
690 -e 's|@host_cpu@|%{_target_cpu}|' macros.in > macros.tmp
691 mv -f macros.tmp macros.in
693 CPPFLAGS="-Dglob=rpm_glob -Dglobfree=rpm_globfree"; export CPPFLAGS
695 # pass CC and CXX too in case of building with some older configure macro
700 %{?with_autoreqdep:--enable-adding-packages-names-in-autogenerated-dependancies} \
703 %{?with_apidocs:--with-apidocs} \
704 %{?with_home_etc:--with-home_etc} \
705 %{?with_python:--with-python=auto} \
706 %{!?with_python:--without-python} \
707 %{!?with_selinux:--without-selinux} \
711 # file_LDFLAGS, debugedit_LDADD - no need to link "file" and "debugedit" statically
716 pylibdir=%{py_libdir} \
717 myLDFLAGS="%{rpmldflags}" \
719 debugedit_LDADD="\$(WITH_LIBELF_LIB) -lpopt"
721 # %{!?with_static:rpm_LDFLAGS="\$(myLDFLAGS)"} \
723 %{?with_apidocs:%{__make} doxygen}
726 rm -rf $RPM_BUILD_ROOT
727 install -d $RPM_BUILD_ROOT{/%{_lib},/etc/sysconfig,%{_sysconfdir}/rpm}
730 DESTDIR=$RPM_BUILD_ROOT \
731 pylibdir=%{py_libdir} \
732 pkgbindir="%{_bindir}"
734 rm $RPM_BUILD_ROOT%{_rpmlibdir}/vpkg-provides*
735 rm $RPM_BUILD_ROOT%{_rpmlibdir}/find-{prov,req}.pl
736 rm $RPM_BUILD_ROOT%{_rpmlibdir}/find-{provides,requires}.perl
738 install macros.perl $RPM_BUILD_ROOT%{_rpmlibdir}/macros.perl
739 install macros.python $RPM_BUILD_ROOT%{_rpmlibdir}/macros.python
740 install macros.php $RPM_BUILD_ROOT%{_rpmlibdir}/macros.php
741 install macros.mono $RPM_BUILD_ROOT%{_rpmlibdir}/macros.mono
743 install %{SOURCE1} doc/manual/groups
744 install %{SOURCE3} $RPM_BUILD_ROOT%{_rpmlibdir}/install-build-tree
745 install %{SOURCE4} $RPM_BUILD_ROOT%{_rpmlibdir}/find-spec-bcond
746 install %{SOURCE7} $RPM_BUILD_ROOT%{_rpmlibdir}/compress-doc
747 install %{SOURCE8} $RPM_BUILD_ROOT%{_rpmlibdir}/check-files
748 install %{SOURCE13} $RPM_BUILD_ROOT%{_rpmlibdir}/user_group.sh
749 install scripts/find-php* $RPM_BUILD_ROOT%{_rpmlibdir}
750 install scripts/php.{prov,req} $RPM_BUILD_ROOT%{_rpmlibdir}
751 install %{SOURCE14} $RPM_BUILD_ROOT/etc/sysconfig/rpm
753 install %{SOURCE30} $RPM_BUILD_ROOT%{_bindir}/builder
754 install %{SOURCE31} $RPM_BUILD_ROOT%{_bindir}/adapter.awk
755 install %{SOURCE32} $RPM_BUILD_ROOT%{_bindir}/pldnotify.awk
756 install %{SOURCE33} $RPM_BUILD_ROOT%{_bindir}/banner.sh
758 install rpmio/ugid.h $RPM_BUILD_ROOT%{_includedir}/rpm
761 ix86re=$(echo "(%{ix86})"|sed 's/ /|/g')
762 perl -p -i -e 's/^(buildarchtranslate: '"$ix86re"': ).*/\1%{_target_cpu}/' \
763 $RPM_BUILD_ROOT%{_rpmlibdir}/rpmrc
766 cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros <<EOF
767 # customized rpm macros - global for host
769 #%%_install_langs pl_PL:en_US
772 # remove or replace with file_contexts path if you want to use custom
773 # SELinux file contexts policy instead of one stored in packages payload
774 %%_install_file_context_path %%{nil}
775 %%_verify_file_context_path %%{nil}
778 cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/noautoprovfiles <<EOF
779 # global list of files (regexps) which don't generate Provides
781 cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/noautoprov <<EOF
782 # global list of script capabilities (regexps) not to be used in Provides
784 cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/noautoreqfiles <<EOF
785 # global list of files (regexps) which don't generate Requires
789 cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/noautoreq <<EOF
790 # global list of script capabilities (regexps) not to be used in Requires
792 cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/noautoreqdep <<EOF
793 # global list of capabilities (SONAME, perl(module), php(module) regexps)
794 # which don't generate dependencies on package NAMES
795 # -- OpenGL implementation
805 # -- X11 implementation
848 cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/noautocompressdoc <<EOF
849 # global list of file masks not to be compressed in DOCDIR
852 # for rpm -e|-U --repackage
853 install -d $RPM_BUILD_ROOT/var/{spool/repackage,lock/rpm}
854 touch $RPM_BUILD_ROOT/var/lock/rpm/transaction
857 for a in librpm-%{sover}.so librpmdb-%{sover}.so librpmio-%{sover}.so ; do
858 mv -f $RPM_BUILD_ROOT%{_libdir}/$a $RPM_BUILD_ROOT/%{_lib}
859 ln -s /%{_lib}/$a $RPM_BUILD_ROOT%{_libdir}/$a
862 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
863 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
865 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
866 [ "`file $f | sed -e 's/.*,//' -e 's/message.*//'`" -le 1 ] && rm -f $f
871 cp -a doc/manual manual
872 rm -f manual/Makefile*
875 rm -rf $RPM_BUILD_ROOT
877 %post lib -p /sbin/ldconfig
878 %postun lib -p /sbin/ldconfig
881 find %{_rpmlibdir} -name '*-linux' -type l | xargs rm -f
883 %files -f %{name}.lang
884 %defattr(644,root,root,755)
885 %doc RPM-PGP-KEY CHANGES manual
887 %attr(755,root,root) /bin/rpm
888 #%attr(755,root,root) %{_bindir}/rpmdb
889 #%attr(755,root,root) %{_bindir}/rpmquery
890 #%attr(755,root,root) %{_bindir}/rpmsign
891 #%attr(755,root,root) %{_bindir}/rpmverify
893 %dir %{_sysconfdir}/rpm
894 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/rpm/macros
895 %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rpm
897 %{_mandir}/man8/rpm.8*
898 %lang(fr) %{_mandir}/fr/man8/rpm.8*
899 %lang(ja) %{_mandir}/ja/man8/rpm.8*
900 %lang(ko) %{_mandir}/ko/man8/rpm.8*
901 %lang(pl) %{_mandir}/pl/man8/rpm.8*
902 %lang(ru) %{_mandir}/ru/man8/rpm.8*
903 %lang(sk) %{_mandir}/sk/man8/rpm.8*
906 %dir %attr(700,root,root) /var/spool/repackage
908 /var/lock/rpm/transaction
911 #%attr(755,root,root) %{_rpmlibdir}/rpmd
912 #%{!?with_static:%attr(755,root,root) %{_rpmlibdir}/rpm[eiu]}
913 #%attr(755,root,root) %{_rpmlibdir}/rpmk
914 #%attr(755,root,root) %{_rpmlibdir}/rpm[qv]
916 %doc %attr(755,root,root) %{_rpmlibdir}/convertrpmrc.sh
917 %attr(755,root,root) %{_rpmlibdir}/user_group.sh
919 %attr(755,root,root) %{_bindir}/banner.sh
922 %{_rpmlibdir}/rpmpopt*
926 %defattr(644,root,root,755)
927 %attr(755,root,root) /%{_lib}/librpm*-*.so
928 %attr(755,root,root) %{_libdir}/librpm*-*.so
931 %defattr(644,root,root,755)
933 %{_libdir}/librpm*.la
934 %attr(755,root,root) %{_libdir}/librpm.so
935 %attr(755,root,root) %{_libdir}/librpm-%{sover}.so
936 %attr(755,root,root) %{_libdir}/librpmio.so
937 %attr(755,root,root) %{_libdir}/librpmio-%{sover}.so
938 %attr(755,root,root) %{_libdir}/librpmdb.so
939 %attr(755,root,root) %{_libdir}/librpmdb-%{sover}.so
940 %attr(755,root,root) %{_libdir}/librpmbuild.so
943 %defattr(644,root,root,755)
947 %defattr(644,root,root,755)
948 %attr(755,root,root) %{_bindir}/debugedit
949 %attr(755,root,root) %{_bindir}/rpm2cpio
950 %attr(755,root,root) %{_bindir}/rpmcache
951 %attr(755,root,root) %{_bindir}/rpmdeps
952 %attr(755,root,root) %{_bindir}/rpmgraph
953 %attr(755,root,root) %{_bindir}/rpmfile
954 %attr(755,root,root) %{_rpmlibdir}/find-debuginfo.sh
955 %attr(755,root,root) %{_rpmlibdir}/rpm2cpio.sh
956 %attr(755,root,root) %{_rpmlibdir}/tgpg
957 %attr(755,root,root) %{_rpmlibdir}/rpmdb_loadcvt
958 %{_mandir}/man8/rpm2cpio.8*
959 %{_mandir}/man8/rpmdeps.8*
960 %{_mandir}/man8/rpmcache.8*
961 %{_mandir}/man8/rpmgraph.8*
962 %lang(ja) %{_mandir}/ja/man8/rpm2cpio.8*
963 %lang(ja) %{_mandir}/ja/man8/rpmcache.8*
964 %lang(ja) %{_mandir}/ja/man8/rpmgraph.8*
965 %lang(ko) %{_mandir}/ko/man8/rpm2cpio.8*
966 %lang(pl) %{_mandir}/pl/man8/rpm2cpio.8*
967 %lang(pl) %{_mandir}/pl/man8/rpmdeps.8*
968 %lang(pl) %{_mandir}/pl/man8/rpmcache.8*
969 %lang(pl) %{_mandir}/pl/man8/rpmgraph.8*
970 %lang(ru) %{_mandir}/ru/man8/rpm2cpio.8*
973 %defattr(644,root,root,755)
974 %attr(755,root,root) %{_rpmlibdir}/rpmdiff*
976 #%%{_rpmlibdir}/rpm.daily
977 #%%{_rpmlibdir}/rpm.log
978 #%%{_rpmlibdir}/rpm.xinetd
982 %defattr(644,root,root,755)
983 %attr(755,root,root) %{_bindir}/rpm[ieu]
984 %attr(755,root,root) %{_rpmlibdir}/rpm[ieu]
988 %defattr(644,root,root,755)
989 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/rpm/noauto*
990 %attr(755,root,root) %{_rpmlibdir}/compress-doc
991 %attr(755,root,root) %{_rpmlibdir}/cross-build
992 #%attr(755,root,root) %{_rpmlibdir}/find-provides
993 #%attr(755,root,root) %{_rpmlibdir}/find-provides-wrapper
994 #%attr(755,root,root) %{_rpmlibdir}/find-requires
995 #%attr(755,root,root) %{_rpmlibdir}/find-requires-wrapper
996 #%attr(755,root,root) %{_rpmlibdir}/find-rpm-provides
997 %attr(755,root,root) %{_rpmlibdir}/find-spec-bcond
998 %attr(755,root,root) %{_rpmlibdir}/find-lang.sh
999 %attr(755,root,root) %{_rpmlibdir}/mkinstalldirs
1000 %attr(755,root,root) %{_rpmlibdir}/config.*
1001 %attr(755,root,root) %{_rpmlibdir}/getpo.sh
1002 %attr(755,root,root) %{_rpmlibdir}/install-build-tree
1003 %attr(755,root,root) %{_rpmlibdir}/brp-*
1004 %attr(755,root,root) %{_rpmlibdir}/check-files
1005 %attr(755,root,root) %{_rpmlibdir}/check-prereqs
1006 #%attr(755,root,root) %{_rpmlibdir}/cpanflute
1007 #%attr(755,root,root) %{_rpmlibdir}/cpanflute2
1008 #%attr(755,root,root) %{_rpmlibdir}/Specfile.pm
1009 %attr(755,root,root) %{_rpmlibdir}/u_pkg.sh
1010 #%attr(755,root,root) %{_rpmlibdir}/vpkg-provides.sh
1011 #%attr(755,root,root) %{_rpmlibdir}/vpkg-provides2.sh
1012 %attr(755,root,root) %{_rpmlibdir}/rpmb
1013 %attr(755,root,root) %{_rpmlibdir}/rpmt
1014 %{_rpmlibdir}/noarch-*
1017 %{_rpmlibdir}/pentium*
1018 %{_rpmlibdir}/athlon*
1021 %{_rpmlibdir}/alpha*
1026 %ifarch mips mipsel mips64 mips64el
1032 %ifarch sparc sparc64
1033 %{_rpmlibdir}/sparc*
1036 %{_rpmlibdir}/x86_64*
1038 # must be here for "Requires: rpm-*prov" to work
1039 %{_rpmlibdir}/macros.mono
1040 %{_rpmlibdir}/macros.perl
1041 %{_rpmlibdir}/macros.php
1042 # not used yet ... these six depend on perl
1043 #%attr(755,root,root) %{_rpmlibdir}/http.req
1044 #%attr(755,root,root) %{_rpmlibdir}/magic.prov
1045 #%attr(755,root,root) %{_rpmlibdir}/magic.req
1046 #%{_rpmlibdir}/sql.prov
1047 #%{_rpmlibdir}/sql.req
1048 #%{_rpmlibdir}/tcl.req
1051 %attr(755,root,root) %{_bindir}/javadeps
1052 %attr(755,root,root) %{_bindir}/gendiff
1053 %attr(755,root,root) %{_bindir}/rpmbuild
1055 %{_mandir}/man1/gendiff.1*
1056 %{_mandir}/man8/rpmbuild.8*
1057 %lang(ja) %{_mandir}/ja/man8/rpmbuild.8*
1058 %lang(pl) %{_mandir}/pl/man1/gendiff.1*
1059 %lang(pl) %{_mandir}/pl/man8/rpmbuild.8*
1062 %defattr(644,root,root,755)
1063 %attr(755,root,root) %{_bindir}/builder
1064 %attr(755,root,root) %{_bindir}/adapter.awk
1065 %attr(755,root,root) %{_bindir}/pldnotify.awk
1068 %defattr(644,root,root,755)
1069 %attr(755,root,root) %{_rpmlibdir}/perl.*
1070 #%attr(755,root,root) %{_rpmlibdir}/perldeps.pl
1071 #%attr(755,root,root) %{_rpmlibdir}/find-perl-*
1072 #%attr(755,root,root) %{_rpmlibdir}/find-*.perl
1073 #%attr(755,root,root) %{_rpmlibdir}/find-prov.pl
1074 #%attr(755,root,root) %{_rpmlibdir}/find-req.pl
1075 %attr(755,root,root) %{_rpmlibdir}/get_magic.pl
1078 %defattr(644,root,root,755)
1079 %{_rpmlibdir}/macros.python
1080 %attr(755,root,root) %{_rpmlibdir}/pythondeps.sh
1083 %defattr(644,root,root,755)
1084 %attr(755,root,root) %{_rpmlibdir}/php*
1085 %attr(755,root,root) %{_rpmlibdir}/find-php*
1088 %files -n python-rpm
1089 %defattr(644,root,root,755)
1090 %attr(755,root,root) %{py_sitedir}/rpm/*.so
1091 %attr(755,root,root) %{py_sitedir}/rpm/*.py[co]
1096 %defattr(644,root,root,755)