]> git.pld-linux.org Git - packages/dpkg.git/blob - dpkg.spec
- added man-pages tar URL
[packages/dpkg.git] / dpkg.spec
1 Summary:        Package maintenance system for Debian Linux
2 Summary(pl):    Program do obs³ugi pakietów Debiana
3 Name:           dpkg
4 Version:        1.6.15
5 Release:        3
6 License:        GPL
7 Group:          Applications/File
8 Group(de):      Applikationen/Datei
9 Group(pl):      Aplikacje/Pliki
10 Source0:        ftp://ftp.debian.org/debian/dists/potato/main/source/base/%{name}_%{version}.tar.gz
11 Source1:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-pl-man-pages.tar.bz2
12 Patch0:         %{name}-no-debiandoc.patch
13 Patch1:         %{name}-opt.patch
14 Patch2:         %{name}-acfix.patch
15 Patch3:         %{name}-no_man_section.patch
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  gettext-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 This package contains the programs which handle the installation and
23 removal of packages on your system.
24
25 The primary interface for the dpkg suite is the `dselect' program; a
26 more low-level and less user-friendly interface is available in the
27 form of the `dpkg' command.
28
29 In order to unpack and build Debian source packages you will need to
30 install the developers' package `dpkg-dev' as well as this one.
31
32 %description -l pl
33 Ten pakiet zawiera narzêdzia do obs³ugi pakietów deb znanych z
34 Debiana.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39 %patch1 -p1
40 %patch2 -p1
41 %patch3 -p0
42
43 %build
44 gettextize --copy --force
45 aclocal
46 autoconf
47 %configure \
48         --enable-shared \
49         --without-dselect \
50         --with-admindir=/var/lib/%{name}
51
52 %{__make} docdir=%{_defaultdocdir}/%{name}-%{version}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT%{_defaultdocdir}/dpkg
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 gzip -9nf $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/*
62
63 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
64
65 %find_lang dpkg
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files -f dpkg.lang
71 %defattr(644,root,root,755)
72 %doc doc/database-structure.fig doc/internals.sgml
73 %doc $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/*
74 %attr(755,root,root) %{_bindir}/822-date
75 %attr(755,root,root) %{_bindir}/dpkg*
76 %dir %{_libdir}/dpkg
77 %dir %{_libdir}/dpkg/methods
78 %dir %{_libdir}/dpkg/parsechangelog
79 %dir %{_libdir}/dpkg/methods/disk
80 %dir %{_libdir}/dpkg/methods/floppy
81 %{_libdir}/dpkg/controllib.pl
82 %attr(755,root,root) %{_libdir}/dpkg/mksplit
83 %dir %{_libdir}/dpkg/methods/*/desc*
84 %dir %{_libdir}/dpkg/methods/*/names
85 %attr(755,root,root) %dir %{_libdir}/dpkg/methods/*/install
86 %attr(755,root,root) %dir %{_libdir}/dpkg/methods/*/setup
87 %attr(755,root,root) %dir %{_libdir}/dpkg/methods/*/update
88 %attr(755,root,root) %dir %{_libdir}/dpkg/parsechangelog/debian
89 %attr(755,root,root) %{_sbindir}/start-stop-daemon
90 %attr(755,root,root) %{_sbindir}/dpkg-divert
91 %attr(755,root,root) %{_sbindir}/update-alternatives
92 %attr(755,root,root) %{_sbindir}/update-rc.d
93 %dir /var/lib/dpkg
94 /var/lib/dpkg/*
95 %{_mandir}/man1/822-date.1*
96 %{_mandir}/man1/dpkg*
97 %{_mandir}/man5/*
98 %{_mandir}/man8/dpkg*
99 %{_mandir}/man8/start-stop*
100 %{_mandir}/man8/update*
101 %lang(ja) %{_mandir}/ja/man1/dpkg*
102 %lang(ja) %{_mandir}/ja/man5/*
103 %lang(ja) %{_mandir}/ja/man8/dpkg*
104 %lang(ja) %{_mandir}/ja/man8/start-stop*
105 %lang(ja) %{_mandir}/ja/man8/update*
106 %lang(pl) %{_mandir}/pl/man1/dpkg*
107 %lang(pl) %{_mandir}/pl/man8/dpkg*
108 %lang(sv) %{_mandir}/sv/man5/*
This page took 0.128621 seconds and 3 git commands to generate.