]> git.pld-linux.org Git - packages/dpkg.git/blobdiff - dpkg.spec
- updated to 1.17.6
[packages/dpkg.git] / dpkg.spec
index 4b3bafd64d57781595c4e0d6eed9097b6bcbb881..7e8c443cd0150cc48d212d9db27ff1d0c636ce67 100644 (file)
--- a/dpkg.spec
+++ b/dpkg.spec
@@ -2,25 +2,30 @@
 Summary:       Package maintenance system for Debian Linux
 Summary(pl.UTF-8):     Program do obsługi pakietów Debiana
 Name:          dpkg
-Version:       1.16.0.1
+Version:       1.17.6
 Release:       1
 License:       GPL v2+
 Group:         Applications/File
-Source0:       ftp://ftp.debian.org/debian/pool/main/d/dpkg/%{name}_%{version}.tar.bz2
-# Source0-md5: 8cb4d0c1b45ccd50ad7142b8da6bbce6
+Source0:       ftp://ftp.debian.org/debian/pool/main/d/dpkg/%{name}_%{version}.tar.xz
+# Source0-md5: c87f2ae291d460015353e01d121bea85
+Patch0:                %{name}-md5.patch
 URL:           http://packages.debian.org/search?keywords=dpkg
 BuildRequires: bzip2-devel
-BuildRequires: gettext-devel >= 0.18
+BuildRequires: gettext-devel >= 0.18.2
 BuildRequires: libselinux-devel
 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)' 'perl(file)' 'perl(in)' 'perl(Tie::ExtraHash)'
+%define                _noautoreq_perl         extra file in Tie::ExtraHash
 
 %description
 This package contains the programs to handle deb packages known from
@@ -34,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.
@@ -43,18 +51,14 @@ 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}
 
 %{__make}
@@ -89,9 +93,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
@@ -124,7 +130,15 @@ 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/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.075022 seconds and 4 git commands to generate.