X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=rpm.spec;h=f6fb7443ae1519f7c5ce1fa5ad557c2625a2fd0b;hb=9e42d68afa9953243f2f33e97eac37482ef5f66e;hp=6d19fb847a6c6afdfd7cb89a4a0e48f8ce7ba2e4;hpb=7b2497ee0e549cc46a491c475f7de067ca4e8645;p=packages%2Frpm.git diff --git a/rpm.spec b/rpm.spec index 6d19fb8..f6fb744 100644 --- a/rpm.spec +++ b/rpm.spec @@ -3,7 +3,7 @@ Summary(de): Red Hat (und jetzt auch PLD) Packet-Manager Summary(pl): Aplikacja do zarz±dzania pakietami Name: rpm Version: 4.0.2 -Release: 44 +Release: 45 License: GPL Group: Base Group(de): Gründsätzlich @@ -78,11 +78,11 @@ Obsoletes: rpm-libs %define __find_provides %{SOURCE4} %define _binary_payload w9.gzdio %define __find_provides %{SOURCE4} -%define python_prefix %(echo `python -c "import sys; print sys.prefix"`) -%define python_version %(echo `python -c "import sys; print sys.version[:3]"`) -%define python_includedir %{_includedir}/python%{python_version} -%define python_libdir %{python_prefix}/lib/python%{python_version} -%define python_sitedir %{python_libdir}/site-packages +%define py_ver %(echo `python -c "import sys; print sys.version[:3]"`) +%define py_prefix %(echo `python -c "import sys; print sys.prefix"`) +%define py_libdir %{py_prefix}/lib/python%{py_ver} +%define py_sitedir %{py_libdir}/site-packages +%define py_dyndir %{py_libdir}/lib-dynload %define py_dyndir %{py_libdir}/lib-dynload %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, '.')"`) @@ -133,12 +133,15 @@ Der RPM-Packensystem enth RPM-Pakete und Dateibanken zu manipulieren. Er eignet sich für Vereinfachung des Schaffens grafischer Paket-Manager und anderer herramientas que necesiten un conocimiento profundo de paquetes RPM. -Pliki nag³ówkowe i biblioteki statyczne. + +%description devel -l pl +System RPM zawiera bibliotekê C, która u³atwia manipulowanie pakietami +RPM oraz bazami danych. W zamiarze ma to upro¶ciæ tworzenie graficznych mened¿erów pakietów oraz innych narzêdzi, które wymagaj± ferramentas que precisem de conhecimento profundo de pacotes RPM. %package static -Summary(pl): Biblioteki statyczne rpm-a +Summary: RPM static libraries Summary(pl): Biblioteki statyczne RPM-a Group(de): Entwicklung/Libraries Group(es): Desarrollo/Bibliotecas @@ -156,12 +159,12 @@ RPM static libraries. %description static -l de RPMs statische Libraries. -Biblioteki statyczne rpm-a. + %description static -l pl Bibliotecas estáticas para desenvolvimento. %package utils -Summary(pl): Dodatkowe narzêdzia do zarz±dzania baz± rpm-a i pakietami +Summary: Additional utilities for managing rpm packages and database Summary(de): Zusatzwerkzeuge für Verwaltung RPM-Pakete und Datenbanken Group(de): Applikationen/Datei Group(pl): Aplikacje/Pliki @@ -174,7 +177,7 @@ Additional utilities for managing rpm packages and database. %description utils -l de Zusatzwerkzeuge für Verwaltung RPM-Pakete und Datenbanken. -Dodatkowe narzêdzia do zarz±dzania baz± rpm-a i pakietami. + %description utils -l pl Dodatkowe narzêdzia do zarz±dzania baz± RPM-a i pakietami. @@ -207,10 +210,12 @@ Summary(pl): Makra u Requires: python Requires: %{name} = %{version} Requires: python-modules -Python macros, which simplifies creation of rpm packages with Python software. + +%description pythonprov Python macros, which simplifies creation of rpm packages with Python software. -Makra u³atwiaj±ce tworzenie pakietów rpm z programami napisanymi w Pythonie. +Makra u³atwiaj±ce tworzenie pakietów rpm z programami napisanymi +w Pythonie. Makra u³atwiaj±ce tworzenie pakietów rpm z programami napisanymi w %package python @@ -227,10 +232,17 @@ written in the Python programming language to use the interface supplied by RPM (RPM Package Manager) libraries. This package should be installed if you want to develop Python +%description python -l pl +Pakiet rpm-python zawiera modu³, który pozwala aplikacjom napisanym +w Pythonie na u¿ywanie interfejsu dostarczanego przez biblioteki rpma. +Pakiet rpm-python zawiera modu³, który pozwala aplikacjom napisanym w +Pakiet ten powinien zostaæ zainstalowany, je¶li chcesz pisaæ +w Pythonie programy manipuluj±ce pakietami i bazami danych rpm. +Esse pacote deve ser instalado se você quiser desenvolver programas em Python para manipular pacotes e bancos de dados RPM. %package build -Summary(pl): Skrypty pomocnicze do budowania binarnych RPMów +Summary: Scripts for building binary RPM packages Summary(pl): Skrypty pomocnicze do budowania binarnych RPM-ów Group(de): Applikationen/Datei Group(pl): Aplikacje/Pliki @@ -257,7 +269,7 @@ Scripts for building binary RPM packages. %description build -l de Scripts fürs Bauen binärer RPM-Pakete. -Skrypty pomocnicze do budowania binarnych RPMów. + %description build -l pl construir pacotes usando o RPM. @@ -327,7 +339,7 @@ sed -e 's#cpio.c depends.c#cpio.c $(DBLIBOBJS) depends.c#g' \ lib/Makefile.in > lib/Makefile.in.new mv -f lib/Makefile.in.new lib/Makefile.in -sed -e 's#python1.5#python%{python_version}#g' \ +sed -e 's#python1.5#python%{py_ver}#g' \ python/Makefile.in > python/Makefile.in.new mv -f python/Makefile.in.new python/Makefile.in @@ -342,7 +354,7 @@ sed -e 's|@host@|%{_target_cpu}-%{_target_vendor}-linux-gnu|' macros.in | \ %{__make} %{?_without_static:rpm_LDFLAGS="\\$(myLDFLAGS)"} - DESTDIR="$RPM_BUILD_ROOT" \ + DESTDIR"$RPM_BUILD_ROOT \ rm -rf $RPM_BUILD_ROOT %{__make} install \ @@ -419,6 +431,10 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/rpm/athlon* %endif %ifarch sparc sparc64 +%{_libdir}/rpm/sparc* +%endif +%ifarch alpha +%{_libdir}/rpm/alpha* %endif %ifarch ppc %{_libdir}/rpm/ppc* @@ -484,7 +500,7 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/rpm/macros.perl %files python %defattr(644,root,root,755) -%{python_sitedir}/*.so +%{py_sitedir}/*.so %{_libdir}/rpm/macros.python %files -n python-rpm