]> git.pld-linux.org Git - packages/dpkg.git/blobdiff - dpkg.spec
- updated to 1.17.10
[packages/dpkg.git] / dpkg.spec
index 18bfbd648c0261f7bf2c27ffece55ebdd896d28f..5fde87e975c60126ccdd662100ebb6ab9dbe7b46 100644 (file)
--- a/dpkg.spec
+++ b/dpkg.spec
@@ -1,24 +1,32 @@
+%include       /usr/lib/rpm/macros.perl
 Summary:       Package maintenance system for Debian Linux
 Summary(pl.UTF-8):     Program do obsługi pakietów Debiana
 Name:          dpkg
-Version:       1.15.8.8
+Version:       1.17.10
 Release:       1
 License:       GPL v2+
 Group:         Applications/File
-Source0:       ftp://ftp.debian.org/debian/pool/main/d/dpkg/%{name}_%{version}.tar.bz2
-# Source0-md5: 39600c01d03c997bc12898ff85424377
+Source0:       ftp://ftp.debian.org/debian/pool/main/d/dpkg/%{name}_%{version}.tar.xz
+# Source0-md5: 545f3cbac8b5f0b3d888574f3f79936c
+Patch0:                %{name}-md5.patch
 URL:           http://packages.debian.org/search?keywords=dpkg
-BuildRequires: autoconf
-BuildRequires: automake
 BuildRequires: bzip2-devel
-BuildRequires: gettext-devel
+BuildRequires: gettext-devel >= 0.18.2
 BuildRequires: libselinux-devel
-BuildRequires: libtool
 BuildRequires: perl-tools-pod
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.654
+BuildRequires: rpm-perlprov
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRequires: xz-devel
 BuildRequires: zlib-devel
 Requires:      perl-base
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# blacklist false positives
+%define                _noautoreq_perl         extra file in Tie::ExtraHash
+
 %description
 This package contains the programs to handle deb packages known from
 Debian.
@@ -31,6 +39,9 @@ Debiana.
 Summary:       dpkg library and header files
 Summary(pl.UTF-8):     Biblioteka i pliki nagłówkowe dpkg
 Group:         Development/Libraries
+Requires:      bzip2-devel
+Requires:      xz-devel
+Requires:      zlib-devel
 
 %description -n libdpkg-devel
 dpkg library and header files.
@@ -40,19 +51,15 @@ Biblioteka i pliki nagłówkowe dpkg.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure \
+       PO4A="true" \
+       --disable-dselect \
        --disable-silent-rules \
-       --enable-shared \
-       --without-dselect \
-       --without-install-info \
-       --without-start-stop-daemon \
-       --with-zlib \
-       --with-bz2 \
-       --with-selinux \
+       --disable-start-stop-daemon \
        --with-admindir=/var/lib/%{name}
-#      SELINUX_LIBS=-lselinux
 
 %{__make}
 
@@ -64,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/alternatives/README
 
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libdpkg.la
+
 # dpkg for main part, dpkg-dev for perl-based build script
 # don't use --all-name to avoid e.g. dselect inclusion
 %find_lang dpkg
@@ -86,9 +96,11 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_libdir}/dpkg/parsechangelog
 %attr(755,root,root) %{_libdir}/dpkg/parsechangelog/debian
 %dir %{_datadir}/dpkg
+%{_datadir}/dpkg/abitable
 %{_datadir}/dpkg/cputable
 %{_datadir}/dpkg/ostable
 %{_datadir}/dpkg/triplettable
+%{_datadir}/dpkg/*.mk
 
 %{perl_vendorlib}/Dpkg.pm
 %{perl_vendorlib}/Dpkg
@@ -121,7 +133,16 @@ rm -rf $RPM_BUILD_ROOT
 %lang(fr) %{_mandir}/fr/man8/dpkg-*.8*
 %lang(fr) %{_mandir}/fr/man8/update-alternatives.8*
 %lang(hu) %{_mandir}/hu/man5/dpkg.cfg.5*
-%lang(ja) %{_mandir}/ja/man5/deb-old.5*
+%lang(it) %{_mandir}/it/man1/dpkg*.1*
+%lang(it) %{_mandir}/it/man5/deb*.5*
+%lang(it) %{_mandir}/it/man5/dpkg.cfg.5*
+%lang(it) %{_mandir}/it/man8/dpkg-*.8*
+%lang(it) %{_mandir}/it/man8/update-alternatives.8*
+%lang(ja) %{_mandir}/ja/man1/dpkg*.1*
+%lang(ja) %{_mandir}/ja/man5/deb*.5*
+%lang(ja) %{_mandir}/ja/man5/dpkg.cfg.5*
+%lang(ja) %{_mandir}/ja/man8/dpkg*.8*
+%lang(ja) %{_mandir}/ja/man8/update-alternatives.8*
 %lang(pl) %{_mandir}/pl/man1/dpkg*.1*
 %lang(pl) %{_mandir}/pl/man5/deb*.5*
 %lang(pl) %{_mandir}/pl/man5/dpkg.cfg.5*
This page took 0.03173 seconds and 4 git commands to generate.