1 %include /usr/lib/rpm/macros.python
2 %define beecrypt_ver 2.2.0
3 %define beecrypt_rel 0.91
4 Summary: RPM Package Manager
5 Summary(de): RPM Packet-Manager
6 Summary(es): Gestor de paquetes RPM
7 Summary(pl): Aplikacja do zarz±dzania pakietami RPM
8 Summary(pt_BR): Gerenciador de pacotes RPM
14 Source0: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/%{name}-%{version}.tar.gz
15 Source1: %{name}.groups
16 Source2: %{name}.macros
17 Source3: %{name}-install-tree
18 Source4: %{name}-find-%{name}-provides
19 Source5: %{name}-macros.perl
20 Source6: %{name}-find-perl-provides
21 Source7: %{name}-find-perl-requires
22 Source8: %{name}-find-spec-bcond
23 Source9: %{name}-find-lang
24 Source10: %{name}-find-provides
25 Source11: %{name}-find-requires
26 #Source12: %{name}-non-english-man-pages.tar.bz2
27 Source13: %{name}-macros.python
28 Source14: %{name}-groups-po.awk
29 Source15: %{name}-compress-doc
30 Source16: %{name}-check-files
31 Source17: %{name}-php-provides
32 Source18: %{name}-php-requires
33 Source19: %{name}-find-php-provides
34 Source20: %{name}-find-php-requires
35 Source21: %{name}-macros.php
36 Patch0: %{name}-%{name}rc.patch
37 Patch2: %{name}-arch.patch
38 Patch3: %{name}-%{name}popt.patch
39 Patch4: %{name}-perl-macros.patch
40 #Patch5: %{name}-am_fix.patch
41 Patch6: %{name}-perl-req-perlfile.patch
42 #Patch7: %{name}-installplatform.patch
43 Patch8: %{name}-cache.patch
44 Patch9: %{name}-glob.patch
45 Patch10: %{name}-header_h.patch
46 Patch11: %{name}-fast-alAddPackage.patch
47 Patch12: %{name}-byKey.patch
48 Patch13: %{name}-noexpand.patch
49 Patch14: %{name}-scripts-closefds.patch
50 #Patch15: %{name}-python-amfix.patch
51 #Patch16: %{name}-non-english-man-pages.patch
52 Patch17: %{name}-python-macros.patch
53 Patch18: %{name}-perlprov-regonly.patch
54 #Patch19: %{name}-acconfig.patch
55 Patch20: %{name}-db4.patch
56 Patch21: %{name}-pl.po.patch
57 Patch22: %{name}-drop-legacy-CLI.patch
58 Patch23: %{name}-perlprov-perl5.6.patch
59 #Patch24: %{name}-ac25x.patch
60 Patch25: %{name}-gettext-in-header.patch
61 Patch26: %{name}-compress-doc.patch
62 Patch27: %{name}-lt14d.patch
63 #Patch28: %{name}-check_files.patch
64 Patch29: %{name}-gettext0.11.patch
65 #Patch30: %{name}-choke-on-evil-doc.patch
66 Patch31: %{name}-build.patch
67 Patch32: %{name}-python-link.patch
68 Patch33: %{name}-system_libs.patch
69 Patch34: %{name}-bb-and-short-circuit.patch
70 URL: http://www.rpm.org/
72 BuildRequires: autoconf >= 2.52
73 BuildRequires: automake
74 BuildRequires: bzip2-devel >= 1.0.1
75 BuildRequires: db-devel >= 4.1
76 BuildRequires: doxygen
77 BuildRequires: gettext-devel >= 0.11.4-2
78 BuildRequires: libelf-devel
79 BuildRequires: libtool
80 BuildRequires: patch >= 2.2
81 BuildRequires: python-devel >= 2.2
82 BuildRequires: python-modules >= 2.2
83 BuildRequires: rpm-pythonprov
84 BuildRequires: zlib-devel
85 BuildRequires: popt-devel >= 1.7
86 %if %{!?_without_static:1}%{?_without_static:0}
87 # Require static library only for static build
88 BuildRequires: bzip2-static >= 1.0.2-5
89 BuildRequires: db-static >= 4.1
90 BuildRequires: glibc-static >= 2.2.94
91 BuildRequires: libelf-static
92 BuildRequires: zlib-static
93 BuildRequires: popt-static >= 1.7
95 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
96 Conflicts: glibc < 2.2.92
98 %define __find_provides %{SOURCE4}
99 %define _binary_payload w9.gzdio
102 RPM is a powerful package manager, which can be used to build,
103 install, query, verify, update, and uninstall individual software
104 packages. A package consists of an archive of files, and package
105 information, including name, version, and description.
108 RPM ist ein kräftiger Packet-Manager, der verwendet sein kann zur
109 Installation, Anfrage, Verifizierung, Aktualisierung und
110 Uninstallation individueller Softwarepakete. Ein Paket besteht aus
111 einem Archiv Dateien und Paketinformation, inklusive Name, Version und
115 RPM es un poderoso administrador de paquetes, que puede ser usado para
116 construir, instalar, pesquisar, verificar, actualizar y desinstalar
117 paquetes individuales de software. Un paquete consiste en un
118 almacenaje de archivos, y información sobre el paquete, incluyendo
119 nombre, versión y descripción.
122 RPM jest doskona³ym mened¿erem pakietów. Dziêki niemu bêdziesz móg³
123 przebudowaæ, zainstalowaæ czy zweryfikowaæ dowolny pakiet. Informacje
124 dotycz±ce ka¿dego pakietu, takie jak jego opis, lista plików
125 wchodz±cych w sk³ad pakietu, zale¿no¶ci od innych pakietów, s±
126 przechowywane w bazie danych i mo¿na je uzyskaæ za pomoc± opcji
127 odpytywania programu rpm.
129 %description -l pt_BR
130 RPM é um poderoso gerenciador de pacotes, que pode ser usado para
131 construir, instalar, pesquisar, verificar, atualizar e desinstalar
132 pacotes individuais de software. Um pacote consiste de um conjunto de
133 arquivos e informações adicionais, incluindo nome, versão e descrição
134 do pacote, permissões dos arquivos, etc.
137 Summary: Header files and libraries
138 Summary(de): Header-Dateien uns Libraries
139 Summary(es): Archivos de inclusión y bibliotecas para programas de manipulación de paquetes rpm
140 Summary(pl): Pliki nag³ówkowe i biblioteki statyczne
141 Summary(pt_BR): Arquivos de inclusão e bibliotecas para programas de manipulação de pacotes RPM
142 Group: Development/Libraries
143 Requires: %{name} = %{version}
144 Requires: popt-devel >= 1.7
145 Requires: beecrypt-devel
149 The RPM packaging system includes a C library that makes it easy to
150 manipulate RPM packages and databases. It is intended to ease the
151 creation of graphical package managers and other tools that need
152 intimate knowledge of RPM packages.
154 %description devel -l de
155 Der RPM-Packensystem enthält eine C-Library, die macht es einfach
156 RPM-Pakete und Dateibanken zu manipulieren. Er eignet sich für
157 Vereinfachung des Schaffens grafischer Paket-Manager und anderer
158 Werkzeuge, die intime Kenntnis von RPM-Paketen brauchen.
160 %description devel -l es
161 El sistema de empaquetado RPM incluye una biblioteca C que vuelve
162 fácil la manipulación de paquetes y bases de datos RPM. Su objetivo es
163 facilitar la creación de administradores gráficos de paquetes y otras
164 herramientas que necesiten un conocimiento profundo de paquetes RPM.
166 %description devel -l pl
167 System RPM zawiera bibliotekê C, która u³atwia manipulowanie pakietami
168 RPM oraz bazami danych. W zamiarze ma to upro¶ciæ tworzenie
169 graficznych mened¿erów pakietów oraz innych narzêdzi, które wymagaj±
170 szczegó³owej wiedzy na temat pakietów RPM.
172 %description devel -l pt_BR
173 O sistema de empacotamento RPM inclui uma biblioteca C que torna fácil
174 a manipulação de pacotes e bases de dados RPM. Seu objetivo é
175 facilitar a criação de gerenciadores gráficos de pacotes e outras
176 ferramentas que precisem de conhecimento profundo de pacotes RPM.
179 Summary: RPM static libraries
180 Summary(de): RPMs statische Libraries
181 Summary(pl): Biblioteki statyczne RPM-a
182 Summary(pt_BR): Bibliotecas estáticas para o desenvolvimento de aplicações RPM
183 Group: Development/Libraries
184 Requires: %{name}-devel = %{version}
187 RPM static libraries.
189 %description static -l de
190 RPMs statische Libraries.
192 %description static -l pl
193 Biblioteki statyczne RPM-a.
195 %description static -l pt_BR
196 Bibliotecas estáticas para desenvolvimento.
199 Summary: Additional utilities for managing rpm packages and database
200 Summary(de): Zusatzwerkzeuge für Verwaltung RPM-Pakete und Datenbanken
201 Summary(pl): Dodatkowe narzêdzia do zarz±dzania baz± RPM-a i pakietami
202 Group: Applications/File
203 Requires: %{name} = %{version}
204 Requires: popt >= 1.7
207 Additional utilities for managing rpm packages and database.
209 %description utils -l de
210 Zusatzwerkzeuge für Verwaltung RPM-Pakete und Datenbanken.
212 %description utils -l pl
213 Dodatkowe narzêdzia do zarz±dzania baz± RPM-a i pakietami.
216 Summary: Additional utilities for checking perl provides/requires in rpm packages
217 Summary(de): Zusatzwerkzeuge fürs Nachsehen Perl-Abhängigkeiten in RPM-Paketen
218 Summary(pl): Dodatkowe narzêdzia do sprawdzenia zale¿no¶ci skryptów perla w pakietach rpm
219 Group: Applications/File
220 Requires: %{name} = %{version}
221 Requires: perl-modules
223 %description perlprov
224 Additional utilities for checking perl provides/requires in rpm
227 %description perlprov -l de
228 Zusatzwerkzeuge fürs Nachsehen Perl-Abhängigkeiten in RPM-Paketen.
230 %description perlprov -l pl
231 Dodatkowe narzêdzia do sprawdzenia zale¿no¶ci skryptów perla w
235 Summary: Python macros, which simplifies creation of rpm packages with Python software
236 Summary(pl): Makra u³atwiaj±ce tworzenie pakietów rpm z programami napisanymi w Pythonie
237 Group: Applications/File
238 Requires: %{name} = %{version}
239 Requires: python-modules
241 %description pythonprov
242 Python macros, which simplifies creation of rpm packages with Python
245 %description pythonprov -l pl
246 Makra u³atwiaj±ce tworzenie pakietów rpm z programami napisanymi w
249 %package php-pearprov
250 Summary: Additional utilities for managing rpm packages and database
251 Summary(pl): Dodatkowe narzêdzia do sprawdzania zale¿no¶ci skryptów php w rpm
252 Group: Applications/File
253 Requires: %{name} = %{version}
255 %description php-pearprov
256 Additional utilities for checking php pear provides/requires in rpm
259 %description php-pearprov -l pl
260 Dodatkowe narzêdzia do sprawdzenia zale¿no¶ci skryptów php pear w
263 %package -n python-rpm
264 Summary: Python interface to RPM library
265 Summary(pl): Pythonowy interfejs do biblioteki RPM-a
266 Summary(pt_BR): Módulo Python para aplicativos que manipulam pacotes RPM
267 Group: Development/Languages/Python
268 Requires: %{name} = %{version}
269 %pyrequires_eq python
270 Obsoletes: rpm-python
272 %description -n python-rpm
273 The rpm-python package contains a module which permits applications
274 written in the Python programming language to use the interface
275 supplied by RPM (RPM Package Manager) libraries.
277 This package should be installed if you want to develop Python
278 programs that will manipulate RPM packages and databases.
280 %description -n python-rpm -l pl
281 Pakiet rpm-python zawiera modu³, który pozwala aplikacjom napisanym w
282 Pythonie na u¿ywanie interfejsu dostarczanego przez biblioteki RPM-a.
284 Pakiet ten powinien zostaæ zainstalowany, je¶li chcesz pisaæ w
285 Pythonie programy manipuluj±ce pakietami i bazami danych rpm.
287 %description -n python-rpm -l pt_BR
288 O pacote rpm-python contém um módulo que permite que aplicações
289 escritas em Python utilizem a interface fornecida pelas bibliotecas
290 RPM (RPM Package Manager).
292 Esse pacote deve ser instalado se você quiser desenvolver programas em
293 Python para manipular pacotes e bancos de dados RPM.
296 Summary: RPMs library
297 Summary(pl): Biblioteki RPMa
303 %description lib -l pl
307 Summary: Scripts for building binary RPM packages
308 Summary(de): Scripts fürs Bauen binärer RPM-Pakete
309 Summary(pl): Skrypty pomocnicze do budowania binarnych RPM-ów
310 Summary(pt_BR): Scripts e programas executáveis usados para construir pacotes
311 Group: Applications/File
312 Requires: %{name} = %{version}
317 Requires: file >= 3.31
321 Requires: gcc >= 3.0.3
325 Requires: glibc-devel
330 Requires: popt >= 1.7
337 Scripts for building binary RPM packages.
339 %description build -l de
340 Scripts fürs Bauen binärer RPM-Pakete.
342 %description build -l pl
343 Skrypty pomocnicze do budowania binarnych RPM-ów.
345 %description build -l pt_BR
346 Este pacote contém scripts e programas executáveis que são usados para
347 construir pacotes usando o RPM.
350 Summary: Crypto library
351 Summary(pl): Biblioteka kryptograficzna
352 Version: %{beecrypt_ver}
353 Release: %{beecrypt_rel}
357 %description -n beecrypt
358 Crypto library (modified for rpm needs).
360 %description -n beecrypt -l pl
361 Biblioteka kryptograficzna (zmodyfikowana na potrzeby rpma).
363 %package -n beecrypt-devel
364 Summary: Crypto library - development files
365 Summary(pl): Biblioteka kryptograficzna - pliki developerskie
366 Version: %{beecrypt_ver}
367 Release: %{beecrypt_rel}
368 Group: Development/Libraries
369 Requires: beecrypt = %{beecrypt_ver}
372 %description -n beecrypt-devel
373 Crypto library - development files.
375 %description -n beecrypt-devel -l pl
376 Biblioteka kryptograficzna - pliki developerskie.
378 %package -n beecrypt-static
379 Summary: Crypto library - static version
380 Summary(pl): Statyczna biblioteka kryptograficzna
381 Version: %{beecrypt_ver}
382 Release: %{beecrypt_rel}
383 Group: Development/Libraries
384 Requires: beecrypt-devel = %{beecrypt_ver}
387 %description -n beecrypt-static
388 Static version of crypto library.
390 %description -n beecrypt-static -l pl
391 Statyczna wersja biblioteki kryptograficznej.
406 # not needed ? (break compilation)
411 # rejected (needed ?)
413 # too many rejects, Pawel please check if needed and rediff
444 sed -e 's/^/@pld@/' %{SOURCE2} >>platform.in
445 cp -f platform.in macros.pld.in
446 install %{SOURCE5} macros.perl.in
447 install %{SOURCE13} macros.python.in
448 install %{SOURCE21} macros.php.in
449 install %{SOURCE6} scripts/find-perl-provides
450 install %{SOURCE7} scripts/find-perl-requires
451 install %{SOURCE9} scripts/find-lang.sh
452 install %{SOURCE17} scripts/php.prov.in
453 install %{SOURCE18} scripts/php.req.in
454 install %{SOURCE19} scripts/find-php-provides
455 install %{SOURCE20} scripts/find-php-requires
458 mv -f perl.req perl.req.in
459 mv -f perl.prov perl.prov.in
463 rm -rf zlib libelf db db3 popt rpmdb/db.h
466 # generate Group translations to *.po
467 awk -f %{SOURCE14} %{SOURCE1}
484 %{__gettextize} --intl
485 if [ ! -f po/Makevars -a -f po/Makevars.template ] ; then
486 cp po/Makevars.template po/Makevars
494 # config.guess doesn't handle athlon, so we have to change it by hand.
495 # rpm checks for CPU type at runtime, but it looks better
496 sed -e 's|@host@|%{_target_cpu}-%{_target_vendor}-linux-gnu|' \
497 -e 's|@host_cpu@|%{_target_cpu}|' macros.in > macros.tmp
498 mv -f macros.tmp macros.in
508 %{?_without_static:rpm_LDFLAGS="\$(myLDFLAGS)"} \
509 myLDFLAGS="%{rpmldflags}"
512 rm -rf $RPM_BUILD_ROOT
515 DESTDIR=$RPM_BUILD_ROOT \
516 pkgbindir="%{_bindir}"
518 install macros.perl $RPM_BUILD_ROOT%{_libdir}/rpm/macros.perl
519 install macros.python $RPM_BUILD_ROOT%{_libdir}/rpm/macros.python
520 install macros.php $RPM_BUILD_ROOT%{_libdir}/rpm/macros.php
522 install %{SOURCE1} doc/manual/groups
523 install %{SOURCE3} $RPM_BUILD_ROOT%{_libdir}/rpm/install-build-tree
524 install %{SOURCE4} $RPM_BUILD_ROOT%{_libdir}/rpm/find-rpm-provides
525 install %{SOURCE8} $RPM_BUILD_ROOT%{_libdir}/rpm/find-spec-bcond
526 install %{SOURCE10} $RPM_BUILD_ROOT%{_libdir}/rpm/find-provides
527 install %{SOURCE11} $RPM_BUILD_ROOT%{_libdir}/rpm/find-requires
528 install %{SOURCE15} $RPM_BUILD_ROOT%{_libdir}/rpm/compress-doc
529 install %{SOURCE16} $RPM_BUILD_ROOT%{_libdir}/rpm/check-files
530 install scripts/find-php* $RPM_BUILD_ROOT%{_libdir}/rpm/
531 install scripts/php.{prov,req} $RPM_BUILD_ROOT%{_libdir}/rpm/
533 install rpmio/ugid.h $RPM_BUILD_ROOT%{_includedir}/rpm
535 install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm
536 cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros <<EOF
537 # customized rpm macros - global for host
539 #%%_install_langs pl_PL:en_US
545 rm -f doc/manual/Makefile*
548 rm -rf $RPM_BUILD_ROOT
550 %post lib -p /sbin/ldconfig
551 %postun lib -p /sbin/ldconfig
552 %post -n beecrypt -p /sbin/ldconfig
553 %postun -n beecrypt -p /sbin/ldconfig
555 %files -f %{name}.lang
556 %defattr(644,root,root,755)
557 %doc RPM-PGP-KEY CHANGES doc/manual/*
559 %attr(755,root,root) /bin/rpm
561 %dir %{_sysconfdir}/rpm
562 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/rpm/macros
564 %{_mandir}/man8/rpm.8*
565 %lang(fr) %{_mandir}/fr/man8/rpm.8*
566 %lang(ja) %{_mandir}/ja/man8/rpm.8*
567 %lang(ko) %{_mandir}/ko/man8/rpm.8*
568 %lang(pl) %{_mandir}/pl/man8/rpm.8*
569 %lang(ru) %{_mandir}/ru/man8/rpm.8*
570 %lang(sk) %{_mandir}/sk/man8/rpm.8*
575 %doc %attr(755,root,root) %{_libdir}/rpm/convertrpmrc.sh
578 %{_libdir}/rpm/rpmpopt*
579 %{_libdir}/rpm/macros
580 %{_libdir}/rpm/noarch-*
581 %ifarch i386 i486 i586 i686 athlon
583 %{_libdir}/rpm/athlon*
585 %ifarch sparc sparc64
586 %{_libdir}/rpm/sparc*
589 %{_libdir}/rpm/alpha*
596 %defattr(644,root,root,755)
597 %attr(755,root,root) %{_libdir}/librpm*-*.so
600 %defattr(644,root,root,755)
601 %attr(755,root,root) %{_libdir}/rpm/compress-doc
602 %attr(755,root,root) %{_libdir}/rpm/cross-build
603 %attr(755,root,root) %{_libdir}/rpm/find-requires
604 %attr(755,root,root) %{_libdir}/rpm/find-provides
605 %attr(755,root,root) %{_libdir}/rpm/find-rpm-provides
606 %attr(755,root,root) %{_libdir}/rpm/find-spec-bcond
607 %attr(755,root,root) %{_libdir}/rpm/find-lang.sh
608 %attr(755,root,root) %{_libdir}/rpm/mkinstalldirs
609 %attr(755,root,root) %{_libdir}/rpm/config.*
610 %attr(755,root,root) %{_libdir}/rpm/getpo.sh
611 %attr(755,root,root) %{_libdir}/rpm/install-build-tree
612 %attr(755,root,root) %{_libdir}/rpm/brp-*
613 %attr(755,root,root) %{_libdir}/rpm/check-files
614 %attr(755,root,root) %{_libdir}/rpm/check-prereqs
615 %attr(755,root,root) %{_libdir}/rpm/cpanflute
616 %attr(755,root,root) %{_libdir}/rpm/cpanflute2
617 %attr(755,root,root) %{_libdir}/rpm/Specfile.pm
618 %attr(755,root,root) %{_libdir}/rpm/http.req
619 %attr(755,root,root) %{_libdir}/rpm/magic.*
620 %attr(755,root,root) %{_libdir}/rpm/u_pkg.sh
621 %attr(755,root,root) %{_libdir}/rpm/vpkg-provides.sh
622 %attr(755,root,root) %{_libdir}/rpm/vpkg-provides2.sh
623 %attr(755,root,root) %{_libdir}/rpm/rpmb
624 %attr(755,root,root) %{_libdir}/rpm/rpmt
626 %{_libdir}/rpm/sql.prov
627 %{_libdir}/rpm/sql.req
628 %{_libdir}/rpm/tcl.req
631 %attr(755,root,root) %{_bindir}/javadeps
632 %attr(755,root,root) %{_bindir}/gendiff
633 %attr(755,root,root) %{_bindir}/rpmbuild
636 %{_mandir}/man8/rpmbuild.8*
639 %defattr(644,root,root,755)
641 %attr(755,root,root) %{_libdir}/librpm.la
642 %attr(755,root,root) %{_libdir}/librpm.so
643 %attr(755,root,root) %{_libdir}/librpmio.la
644 %attr(755,root,root) %{_libdir}/librpmio.so
645 %attr(755,root,root) %{_libdir}/librpmdb.la
646 %attr(755,root,root) %{_libdir}/librpmdb.so
647 %attr(755,root,root) %{_libdir}/librpmbuild.la
648 %attr(755,root,root) %{_libdir}/librpmbuild.so
651 %defattr(644,root,root,755)
655 %defattr(644,root,root,755)
656 %attr(755,root,root) %{_bindir}/rpm2cpio
657 %attr(755,root,root) %{_libdir}/rpm/rpmdiff*
658 %attr(755,root,root) %{_libdir}/rpm/tgpg
659 %attr(755,root,root) %{_libdir}/rpm/find-debuginfo.sh
660 %attr(755,root,root) %{_bindir}/rpmgraph
661 %attr(755,root,root) %{_bindir}/rpmcache
662 %attr(755,root,root) %{_bindir}/striptofile
663 %attr(755,root,root) %{_bindir}/unstripfile
665 #%{_prefix}/lib/rpm/rpm.daily
666 #%{_prefix}/lib/rpm/rpm.log
667 #%{_prefix}/lib/rpm/rpm.xinetd
668 %{_prefix}/lib/rpm/rpm2cpio.sh
670 %{_mandir}/man8/rpm2cpio.8*
671 %lang(ja) %{_mandir}/ja/man8/rpm2cpio.8*
672 %lang(ko) %{_mandir}/ko/man8/rpm2cpio.8*
673 %lang(pl) %{_mandir}/pl/man8/rpm2cpio.8*
674 %lang(ru) %{_mandir}/ru/man8/rpm2cpio.8*
675 %{_mandir}/man8/rpmcache.8*
676 %{_mandir}/man8/rpmgraph.8*
679 %defattr(644,root,root,755)
680 %attr(755,root,root) %{_libdir}/rpm/perl*
681 %attr(755,root,root) %{_libdir}/rpm/find-perl-*
682 %attr(755,root,root) %{_libdir}/rpm/find-*.perl
683 %attr(755,root,root) %{_libdir}/rpm/find-prov.pl
684 %attr(755,root,root) %{_libdir}/rpm/find-req.pl
685 %attr(755,root,root) %{_libdir}/rpm/get_magic.pl
687 %{_libdir}/rpm/macros.perl
690 %defattr(644,root,root,755)
691 %{_libdir}/rpm/macros.python
694 %defattr(644,root,root,755)
695 %attr(755,root,root) %{_libdir}/rpm/php*
696 %attr(755,root,root) %{_libdir}/rpm/find-php*
697 %{_libdir}/rpm/macros.php
700 %defattr(644,root,root,755)
701 %attr(755,root,root) %{py_sitedir}/*.so
702 %attr(755,root,root) %{py_sitedir}/rpmdb/*.so
703 %{py_sitedir}/rpmdb/*.py*
706 %defattr(644,root,root,755)
707 %attr(755,root,root) %{_libdir}/libbeecrypt.so.*.*
709 %files -n beecrypt-devel
710 %defattr(644,root,root,755)
711 %{_prefix}/lib/libbeecrypt.so
712 %attr(755,root,root) %{_prefix}/lib/libbeecrypt.la
713 %{_includedir}/beecrypt
715 %files -n beecrypt-static
716 %defattr(644,root,root,755)
717 %{_prefix}/lib/libbeecrypt.a