]> git.pld-linux.org Git - packages/dpkg.git/blob - dpkg.spec
- Up to 1.14.30
[packages/dpkg.git] / dpkg.spec
1 Summary:        Package maintenance system for Debian Linux
2 Summary(pl.UTF-8):      Program do obsługi pakietów Debiana
3 Name:           dpkg
4 Version:        1.14.30
5 Release:        1
6 License:        GPL
7 Group:          Applications/File
8 Source0:        ftp://ftp.debian.org/debian/pool/main/d/dpkg/%{name}_%{version}.tar.gz
9 # Source0-md5:  e2845304af0dad33a33437023e4a1fa1
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  bzip2-devel
13 BuildRequires:  gettext-devel
14 BuildRequires:  libselinux-devel
15 BuildRequires:  libtool
16 BuildRequires:  perl-tools-pod
17 BuildRequires:  zlib-devel
18 Requires:       perl-base
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 This package contains the programs which handle the installation and
23 removal of packages on your system.
24
25 The primary interface for the dpkg suite is the `dselect' program; a
26 more low-level and less user-friendly interface is available in the
27 form of the `dpkg' command.
28
29 In order to unpack and build Debian source packages you will need to
30 install the developers' package `dpkg-dev' as well as this one.
31
32 %description -l pl.UTF-8
33 Ten pakiet zawiera narzędzia do obsługi pakietów deb znanych z
34 Debiana.
35
36 %prep
37 %setup -q
38
39 %build
40 %configure \
41         --enable-shared \
42         --without-dselect \
43         --without-start-stop-daemon \
44         --with-zlib \
45         --with-bz2 \
46         --with-selinux \
47         --with-admindir=/var/lib/%{name} \
48         SELINUX_LIBS=-lselinux
49
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 rm -f $RPM_BUILD_ROOT%{_mandir}/{,*/}man5/dselect.cfg.5
59 rm -f $RPM_BUILD_ROOT%{_mandir}/{,*/}man1/dselect.1
60 rm -f $RPM_BUILD_ROOT%{_mandir}/{,*/}man8/start-stop-daemon.8
61 rm -f $RPM_BUILD_ROOT%{_mandir}/{,*/}man8/cleanup-info.8
62 rm -f $RPM_BUILD_ROOT%{_mandir}/{,*/}man8/install-info.8
63 rm -f $RPM_BUILD_ROOT%{_sbindir}/cleanup-info
64 rm -f $RPM_BUILD_ROOT%{_sbindir}/install-info
65 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/alternatives/README
66
67 %find_lang dpkg
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files -f dpkg.lang
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_bindir}/822-date
75 %attr(755,root,root) %{_bindir}/dpkg*
76
77 %attr(755,root,root) %{_sbindir}/dpkg-divert
78 %attr(755,root,root) %{_sbindir}/update-alternatives
79
80 %dir %{_sysconfdir}/dpkg
81 %dir %{_sysconfdir}/dpkg/origins
82 %{_sysconfdir}/dpkg/origins/debian
83
84 %dir %{_libdir}/dpkg
85 %dir %{_libdir}/dpkg/parsechangelog
86 %attr(755,root,root) %{_libdir}/dpkg/mksplit
87 %dir %{_libdir}/dpkg/parsechangelog
88 %attr(755,root,root) %{_libdir}/dpkg/parsechangelog/debian
89
90 %attr(755,root,root) %{_sbindir}/dpkg-statoverride
91
92 %dir %{_datadir}/dpkg
93 %{_datadir}/dpkg/cputable
94 %{_datadir}/dpkg/ostable
95 %{_datadir}/dpkg/triplettable
96 %{perl_vendorlib}/*.pm
97 %{perl_vendorlib}/Dpkg
98
99 %dir /var/lib/dpkg
100 /var/lib/dpkg/*
101
102 %{_mandir}/man1/822*
103 %{_mandir}/man5/deb*
104 %{_mandir}/man8/update*
105 %{_mandir}/man*/dpkg*
106 %lang(de) %{_mandir}/de/man1/822*
107 %lang(de) %{_mandir}/de/man5/deb*
108 %lang(de) %{_mandir}/de/man8/update*
109 %lang(de) %{_mandir}/de/man*/dpkg*
110 %lang(fr) %{_mandir}/fr/man1/822*
111 %lang(fr) %{_mandir}/fr/man5/deb*
112 %lang(fr) %{_mandir}/fr/man8/update*
113 %lang(fr) %{_mandir}/fr/man*/dpkg*
114 %lang(hu) %{_mandir}/hu/man*/dpkg*
115 %lang(ja) %{_mandir}/ja/man5/deb*
116 %lang(ja) %{_mandir}/ja/man8/update*
117 %lang(pl) %{_mandir}/pl/man1/822*
118 %lang(pl) %{_mandir}/pl/man5/deb*
119 %lang(pl) %{_mandir}/pl/man8/update*
120 %lang(pl) %{_mandir}/pl/man*/dpkg*
121 %lang(sv) %{_mandir}/sv/man1/822*
122 %lang(sv) %{_mandir}/sv/man5/deb*
123 %lang(sv) %{_mandir}/sv/man*/dpkg*
124 %lang(sv) %{_mandir}/sv/man8/update*
This page took 0.134345 seconds and 3 git commands to generate.