1 Summary: Red Hat & PLD Package Manager
2 Summary(pl): Aplikacja do zarz±dzania pakietami
9 Source0: ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/%{name}-%{version}.tar.gz
14 Source5: rpm-install-tree
15 Patch0: rpm-rpmrc.patch
16 Patch1: rpm-i18n.patch
17 Patch2: rpm-find-requires.patch
18 Patch3: rpm-macros.patch
20 Patch5: rpm-moredoc.patch
21 Patch6: rpm-arch.patch
23 Patch8: rpm-rpmpopt.patch
24 Patch37: %{name}-short_circuit.patch
25 Patch38: %{name}-section_test.patch
26 BuildRequires: bzip2-static
27 BuildRequires: gdbm-static
28 BuildRequires: zlib-static
29 BuildRequires: gettext-devel >= 0.10.38-3
30 BuildRequires: libtool
31 BuildRequires: automake
32 BuildRequires: autoconf >= 2.13-8
33 BuildRequires: gettext
34 Requires: glibc >= 2.1
35 BuildRoot: /tmp/%{name}-%{version}-root
37 %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, '.')"`)
38 RPM is a powerful package manager, which can be used to build, install,
39 query, verify, update, and uninstall individual software packages. A
40 package consists of an archive of files, and package information, including
41 name, version, and description.
42 packages. A package consists of an archive of files, and package
43 nombre, versión y descripción.
44 RPM jest doskona³ym menad¿erem pakietów. Dziêki niemu bêdziesz móg³ przebudowaæ,
45 zainstalowaæ czy zweryfikowaæ dowolny pakiet. Informacje dotycz±ce ka¿dego
46 pakietu s± przechowywane w bazie danych i dostêpne tylko dla administratora
48 przechowywane w bazie danych i mo¿na je uzyskaæ za pomoc± opcji
49 do pacote, permissões dos arquivos, etc.
50 Summary: Header files and libraries
51 Summary(pl): Pliki nag³ówkowe i biblioteki statyczne
52 Summary(pl): Pliki nag³ówkowe i biblioteki statyczne
53 Group(pl): Programowanie/Biblioteki
54 Requires: %{name} = %{version}
55 Requires: %{name} = %{version}
59 The RPM packaging system includes a C library that makes it easy to
60 manipulate RPM packages and databases. It is intended to ease the
61 creation of graphical package managers and other tools that need
62 %description -l pl devel
63 Pliki nag³ówkowe i biblioteki statyczne.
64 graficznych mened¿erów pakietów oraz innych narzêdzi, które wymagaj±
65 construir pacotes usando o RPM.
77 install %{SOURCE4} po/pl.po
78 install %{SOURCE3} macros.pld.in
79 install %{SOURCE13} macros.python.in
80 mv -f perl.prov perl.prov.in)
81 LDFLAGS="-s"; export LDFLAGS
92 %{__make} %{?_without_static:rpm_LDFLAGS="\\$(myLDFLAGS)"}
93 install -d $RPM_BUILD_ROOT/var/db/rpm \
94 $RPM_BUILD_ROOT%{_mandir}/{ru,pl}/man8
96 make DESTDIR="$RPM_BUILD_ROOT" pkgbindir="%{_bindir}" install
98 install macros.pld $RPM_BUILD_ROOT%{_libdir}/rpm/macros.pld
99 install -m755 %{SOURCE5} $RPM_BUILD_ROOT%{_libdir}/rpm/install-build-tree
100 pkgbindir="%{_bindir}"
101 install rpm.8ru $RPM_BUILD_ROOT%{_mandir}/ru/man8/rpm.8
102 install rpm2cpio.8ru $RPM_BUILD_ROOT%{_mandir}/ru/man8/rpm2cpio.8
103 install %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/pl/man8/rpm.8
105 install %{SOURCE1} docs/groups
106 install %{SOURCE8} $RPM_BUILD_ROOT%{_libdir}/rpm/find-spec-bcond
107 strip $RPM_BUILD_ROOT/{bin/rpm,%{_bindir}/*} || :
109 #%%_install_langs pl_PL:en_US
111 gzip -9fn $RPM_BUILD_ROOT%{_mandir}/{{ru,pl}/man8/*,man8/*} \
112 RPM-PGP-KEY CHANGES docs/*
115 if [ -e /var/lib/rpm ] && [ ! -L /var/lib/rpm ]; then
116 mkdir -p /var/db/rpm /var/db/rpm.old
117 cp -ap /var/lib/rpm/* /var/db/rpm
118 cp -ap /var/lib/rpm/* /var/db/rpm.old
119 echo "Yours old rpm database backuped in /var/db/rpm.old" >&2
120 echo "Run 'rpm --rebuilddb' to update rpm database" >&2
125 if [ -e /var/lib/rpm ] && [ ! -L /var/lib/rpm ]; then
127 ln -s ../db/rpm /var/lib/rpm
131 rm -rf $RPM_BUILD_ROOT
133 rm -rf $RPM_BUILD_ROOT
135 %doc RPM-PGP-KEY.gz CHANGES.gz docs/*
136 %postun -p /sbin/ldconfig
138 %attr(755,root,root) %{_bindir}/*
139 %attr(755,root,root) %{_libdir}/rpm/rpmdb
141 %lang(ru) %{_mandir}/ru/man8/*
142 %lang(pl) %{_mandir}/pl/man8/*
143 %lang(ru) %{_mandir}/ru/man8/rpm.8*
144 %attr(755,root,root) %dir /var/db/rpm
147 %attr(755,root,root) %{_libdir}/rpm/find-*
148 %attr(755,root,root) %{_libdir}/rpm/freshen.sh
149 %attr(755,root,root) %{_libdir}/rpm/find-requires
150 %attr(755,root,root) %{_libdir}/rpm/find-provides
151 %attr(755,root,root) %{_libdir}/rpm/find-rpm-provides
152 %attr(755,root,root) %{_libdir}/rpm/find-spec-bcond
155 %{_libdir}/rpm/macros*
156 %attr(755,root,root) %{_libdir}/rpm/rpmb
157 %attr(755,root,root) %{_libdir}/rpm/rpmi
158 %attr(755,root,root) %{_libdir}/rpm/rpmt
159 %attr(755,root,root) %{_libdir}/rpm/rpme
161 %{_libdir}/librpm*.la
165 * %{date} PLD Team <pld-list@pld.org.pl>
166 All below listed persons can be reached on <cvs_login>@pld.org.pl