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