]> git.pld-linux.org Git - packages/apt.git/blobdiff - apt.spec
- release 3.
[packages/apt.git] / apt.spec
index 6c6299adc076680227ff782f93b3d681628a620c..e7ac923368b99cbe4eac5faa6f241f7cbf4004ee 100644 (file)
--- a/apt.spec
+++ b/apt.spec
@@ -1,10 +1,9 @@
 Summary:       Debian's Advanced Packaging Tool with RPM support
-Summary(es):   Advanced Packaging Tool frontend for rpm and dpkg
 Summary(pl):   Zawansowane narzêdzie do zarz±dzania pakietami
 Summary(pt):   Frontend avançado para pacotes rpm e deb
 Name:          apt
 Version:       0.3.19cnc52
-Release:       1
+Release:       3
 License:       GPL
 Group:         Applications/Archiving
 Group(de):     Applikationen/Archivierung
@@ -16,8 +15,10 @@ Source2:     %{name}-sources.list
 Source3:       vendors.list
 Source4:       rpmpriorities
 Patch0:                %{name}-norequires.patch
-Patch1:                %{name}-pld_user_in_ftp_pass.patch
-Patch2:                %{name}-FHS.patch
+Patch1:                %{name}-FHS.patch
+Patch2:                %{name}-no_PARALLEL_RUN.patch
+Patch3:                %{name}-ac_fixes.patch
+Patch4:                %{name}-newmethods.patch
 URL:           http://bazar.conectiva.com.br/~godoy/apt-howto/
 Requires:      gnupg
 Obsoletes:     libapt-pkg
@@ -29,6 +30,7 @@ BuildRequires:        zlib-devel
 BuildRequires: bzip2-devel
 BuildRequires: popt-devel
 BuildRequires: autoconf
+BuildRequires: automake
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -49,13 +51,16 @@ RPM. Sob desenvolvimento, use por sua pr
 
 %package devel
 Summary:       Development files for APT's libapt-pkg
-Summary(es):   Development files for APT's libapt-pkg
 Summary(pl):   Pliki nag³ówkowe dla libapt-pkg
 Summary(pt):   Arquivos de desenvolvimento para a biblioteca libapt-pkg do APT
 Group:         Development/Libraries
 Group(de):     Entwicklung/Libraries
+Group(es):     Desarrollo/Bibliotecas
 Group(fr):     Development/Librairies
 Group(pl):     Programowanie/Biblioteki
+Group(pt_BR):  Desenvolvimento/Bibliotecas
+Group(ru):     òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
+Group(uk):     òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
 Requires:      %{name} = %{version}
 Requires:      rpm-devel
 Obsoletes:     libapt-pkg-devel
@@ -81,12 +86,18 @@ Arquivos de desenvolvimento para a biblioteca libapt-pkg do APT
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 tar xzf docs.tar.gz
+%patch1 -p1
 %patch2 -p1
+%patch3 -p1
+%patch4 -p1
+
+rm -f po/{POTFILES,Makefile}
 
 %build
+aclocal -I buildlib
 autoconf
+CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
 %configure \
        --enable-nls \
        --with-gpm
@@ -124,20 +135,20 @@ gzip -9fn docs/*.text docs/examples/* README.RPM TODO
 
 %find_lang %{name}
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc docs/*.gz docs/examples/*.gz *.gz
 %attr(755,root,root) %{_bindir}/*
 %dir %{_sysconfdir}/apt
-%config(noreplace) %{_sysconfdir}/apt/apt.conf 
-%config(noreplace) %{_sysconfdir}/apt/sources.list
-%config(noreplace) %{_sysconfdir}/apt/vendors.list
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/apt/apt.conf 
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/apt/sources.list
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/apt/vendors.list
 %config %{_sysconfdir}/apt/rpmpriorities
 %dir %{_libdir}/apt
 %attr(755,root,root) %{_libdir}/apt/*
This page took 0.031707 seconds and 4 git commands to generate.