Summary: Package maintenance system for Debian Linux Summary(pl.UTF-8): Program do obsługi pakietów Debiana Name: dpkg Version: 1.10.23 Release: 2 License: GPL Group: Applications/File Source0: ftp://ftp.debian.org/debian/pool/main/d/dpkg/%{name}_%{version}.tar.gz # Source0-md5: 94a845ab0e14deb196d43e03c48a16b9 Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-pl-man-pages.tar.bz2 # Source1-md5: 55b735ac489c7db709c9e7b3ca535f97 #Patch0: %{name}-no-debiandoc.patch #Patch1: %{name}-opt.patch #Patch2: %{name}-acfix.patch #Patch3: %{name}-no_man_section.patch #Patch4: %{name}-gcc33.patch #Patch5: %{name}-po.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gettext-devel BuildRequires: libtool BuildRequires: perl-tools-pod BuildRequires: zlib-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This package contains the programs which handle the installation and removal of packages on your system. The primary interface for the dpkg suite is the `dselect' program; a more low-level and less user-friendly interface is available in the form of the `dpkg' command. In order to unpack and build Debian source packages you will need to install the developers' package `dpkg-dev' as well as this one. %description -l pl.UTF-8 Ten pakiet zawiera narzędzia do obsługi pakietów deb znanych z Debiana. %prep %setup -q #%patch0 -p1 #%patch1 -p1 #%patch2 -p1 #%patch3 -p0 #%patch4 -p1 #%patch5 -p1 %build cp -f /usr/share/automake/config.sub . #%%{__libtoolize} #%%{__gettextize} #%%{__aclocal} #%%{__autoconf} %configure \ --enable-shared \ --without-dselect \ --without-sgml-doc \ --with-admindir=/var/lib/%{name} %{__make} docdir=%{_docdir}/%{name}-%{version} \ CFLAGS="%{rpmcflags} -DSYS_SIGLIST_DECLARED" %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_docdir}/dpkg %{__make} install \ DESTDIR=$RPM_BUILD_ROOT bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} %find_lang dpkg %clean rm -rf $RPM_BUILD_ROOT %files -f dpkg.lang %defattr(644,root,root,755) %doc doc/database-structure.fig doc/internals.sgml %doc $RPM_BUILD_ROOT%{_docdir}/%{name}/* %attr(755,root,root) %{_bindir}/822-date %attr(755,root,root) %{_bindir}/dpkg* %dir %{_libdir}/dpkg %dir %{_libdir}/dpkg/methods %dir %{_libdir}/dpkg/parsechangelog %dir %{_libdir}/dpkg/methods/disk %dir %{_libdir}/dpkg/methods/floppy %{_libdir}/dpkg/controllib.pl %attr(755,root,root) %{_libdir}/dpkg/mksplit %dir %{_libdir}/dpkg/methods/*/desc* %dir %{_libdir}/dpkg/methods/*/names %attr(755,root,root) %dir %{_libdir}/dpkg/methods/*/install %attr(755,root,root) %dir %{_libdir}/dpkg/methods/*/setup %attr(755,root,root) %dir %{_libdir}/dpkg/methods/*/update %attr(755,root,root) %dir %{_libdir}/dpkg/parsechangelog/debian #%attr(755,root,root) %{_sbindir}/start-stop-daemon %attr(755,root,root) %{_sbindir}/dpkg-divert %attr(755,root,root) %{_sbindir}/update-alternatives %dir /var/lib/dpkg /var/lib/dpkg/* %{_mandir}/man1/822-date.1* %{_mandir}/man1/dpkg* %{_mandir}/man5/* %{_mandir}/man8/dpkg* #%{_mandir}/man8/start-stop* %{_mandir}/man8/update* %lang(es) %{_mandir}/es/man1/dpkg* %lang(es) %{_mandir}/es/man5/* %lang(es) %{_mandir}/es/man8/dpkg* %lang(fr) %{_mandir}/fr/man1/dpkg* %lang(fr) %{_mandir}/fr/man5/* %lang(fr) %{_mandir}/fr/man8/dpkg* %lang(ja) %{_mandir}/ja/man1/dpkg* %lang(ja) %{_mandir}/ja/man5/* %lang(ja) %{_mandir}/ja/man8/dpkg* #%lang(ja) %{_mandir}/ja/man8/start-stop* %lang(ja) %{_mandir}/ja/man8/update* %lang(pl) %{_mandir}/pl/man1/dpkg* %lang(pl) %{_mandir}/pl/man8/dpkg* %lang(pt_BR) %{_mandir}/pt_BR/man8/dpkg* %lang(ru) %{_mandir}/ru/man1/dpkg* %lang(ru) %{_mandir}/ru/man5/* %lang(ru) %{_mandir}/ru/man8/dpkg* %lang(sv) %{_mandir}/sv/man1/dpkg* %lang(sv) %{_mandir}/sv/man5/* %lang(sv) %{_mandir}/sv/man8/dpkg*