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