Summary: Package maintenance system for Debian Linux
Summary(pl.UTF-8): Program do obsługi pakietów Debiana
Name: dpkg
-Version: 1.16.5
+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.xz
-# Source0-md5: c70412c8b0f3609680104585ddb4ba5c
+# Source0-md5: 545f3cbac8b5f0b3d888574f3f79936c
+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
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
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.
%prep
%setup -q
+%patch0 -p1
%build
%configure \
PO4A="true" \
--disable-dselect \
- --disable-install-info \
--disable-silent-rules \
--disable-start-stop-daemon \
--with-admindir=/var/lib/%{name}
%{__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
%lang(fr) %{_mandir}/fr/man8/dpkg-*.8*
%lang(fr) %{_mandir}/fr/man8/update-alternatives.8*
%lang(hu) %{_mandir}/hu/man5/dpkg.cfg.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*