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