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