+%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.16.2
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-md5: 629ba7ee2024e6a5c0ff807aa2db02f8
URL: http://packages.debian.org/search?keywords=dpkg
-BuildRequires: autoconf
-BuildRequires: automake
BuildRequires: bzip2-devel
-BuildRequires: gettext-devel
+BuildRequires: gettext-devel >= 0.18
BuildRequires: libselinux-devel
-BuildRequires: libtool
BuildRequires: perl-tools-pod
+BuildRequires: pkgconfig
+BuildRequires: rpm-perlprov
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)'
+
%description
This package contains the programs to handle deb packages known from
Debian.
%build
%configure \
+ PO4A="true" \
--disable-silent-rules \
--enable-shared \
--without-dselect \
--with-bz2 \
--with-selinux \
--with-admindir=/var/lib/%{name}
-# SELINUX_LIBS=-lselinux
%{__make}
%{_datadir}/dpkg/cputable
%{_datadir}/dpkg/ostable
%{_datadir}/dpkg/triplettable
+%{_datadir}/dpkg/*.mk
%{perl_vendorlib}/Dpkg.pm
%{perl_vendorlib}/Dpkg
%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(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*