]> git.pld-linux.org Git - packages/dpkg.git/blob - dpkg.spec
969d5009cc7aa841d3200a77d9c23fedbddb6d62
[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 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)
23
24 %description
25 This package contains the programs which handle the installation and
26 removal of packages on your system.
27
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.
31
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.
34
35 %description -l pl
36 Ten pakiet zawiera narzêdzia do obs³ugi pakietów deb znanych z
37 Debiana.
38
39 %prep
40 %setup -q
41 %patch0 -p1
42 %patch1 -p1
43 %patch2 -p1
44 %patch3 -p0
45 %patch4 -p1
46
47 %build
48 %{__libtoolize}
49 %{__gettextize}
50 %{__aclocal}
51 %{__autoconf}
52 %configure \
53         --enable-shared \
54         --without-dselect \
55         --with-admindir=/var/lib/%{name}
56
57 %{__make} docdir=%{_defaultdocdir}/%{name}-%{version} \
58         CFLAGS="%{rpmcflags} -DSYS_SIGLIST_DECLARED"
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT%{_defaultdocdir}/dpkg
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
68
69 %find_lang dpkg
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files -f dpkg.lang
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*
80 %dir %{_libdir}/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
97 %dir /var/lib/dpkg
98 /var/lib/dpkg/*
99 %{_mandir}/man1/822-date.1*
100 %{_mandir}/man1/dpkg*
101 %{_mandir}/man5/*
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/*
This page took 0.212403 seconds and 3 git commands to generate.