1 Summary: Package maintenance system for Debian Linux
2 Summary(pl): Program do obs³ugi pakietów Debiana
7 Group: Applications/File
8 Source0: ftp://ftp.debian.org/debian/dists/potato/main/source/base/%{name}_%{version}.tar.gz
9 # Source0-md5: a7630586c2c50b27ad8d2800c6ce7d37
10 Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-pl-man-pages.tar.bz2
11 # Source1-md5: 55b735ac489c7db709c9e7b3ca535f97
12 Patch0: %{name}-no-debiandoc.patch
13 Patch1: %{name}-opt.patch
14 Patch2: %{name}-acfix.patch
15 Patch3: %{name}-no_man_section.patch
16 Patch4: %{name}-gcc33.patch
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: gettext-devel
20 BuildRequires: libtool
21 BuildRequires: perl-tools-pod
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 This package contains the programs which handle the installation and
26 removal of packages on your system.
28 The primary interface for the dpkg suite is the `dselect' program; a
29 more low-level and less user-friendly interface is available in the
30 form of the `dpkg' command.
32 In order to unpack and build Debian source packages you will need to
33 install the developers' package `dpkg-dev' as well as this one.
36 Ten pakiet zawiera narzêdzia do obs³ugi pakietów deb znanych z
55 --with-admindir=/var/lib/%{name}
57 %{__make} docdir=%{_defaultdocdir}/%{name}-%{version} \
58 CFLAGS="%{rpmcflags} -DSYS_SIGLIST_DECLARED"
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT%{_defaultdocdir}/dpkg
65 DESTDIR=$RPM_BUILD_ROOT
67 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
72 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
76 %doc doc/database-structure.fig doc/internals.sgml
77 %doc $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/*
78 %attr(755,root,root) %{_bindir}/822-date
79 %attr(755,root,root) %{_bindir}/dpkg*
81 %dir %{_libdir}/dpkg/methods
82 %dir %{_libdir}/dpkg/parsechangelog
83 %dir %{_libdir}/dpkg/methods/disk
84 %dir %{_libdir}/dpkg/methods/floppy
85 %{_libdir}/dpkg/controllib.pl
86 %attr(755,root,root) %{_libdir}/dpkg/mksplit
87 %dir %{_libdir}/dpkg/methods/*/desc*
88 %dir %{_libdir}/dpkg/methods/*/names
89 %attr(755,root,root) %dir %{_libdir}/dpkg/methods/*/install
90 %attr(755,root,root) %dir %{_libdir}/dpkg/methods/*/setup
91 %attr(755,root,root) %dir %{_libdir}/dpkg/methods/*/update
92 %attr(755,root,root) %dir %{_libdir}/dpkg/parsechangelog/debian
93 %attr(755,root,root) %{_sbindir}/start-stop-daemon
94 %attr(755,root,root) %{_sbindir}/dpkg-divert
95 %attr(755,root,root) %{_sbindir}/update-alternatives
96 %attr(755,root,root) %{_sbindir}/update-rc.d
99 %{_mandir}/man1/822-date.1*
100 %{_mandir}/man1/dpkg*
102 %{_mandir}/man8/dpkg*
103 %{_mandir}/man8/start-stop*
104 %{_mandir}/man8/update*
105 %lang(ja) %{_mandir}/ja/man1/dpkg*
106 %lang(ja) %{_mandir}/ja/man5/*
107 %lang(ja) %{_mandir}/ja/man8/dpkg*
108 %lang(ja) %{_mandir}/ja/man8/start-stop*
109 %lang(ja) %{_mandir}/ja/man8/update*
110 %lang(pl) %{_mandir}/pl/man1/dpkg*
111 %lang(pl) %{_mandir}/pl/man8/dpkg*
112 %lang(sv) %{_mandir}/sv/man5/*