]>
Commit | Line | Data |
---|---|---|
aea5b33f | 1 | Summary: Package maintenance system for Debian Linux |
b81e7419 | 2 | Summary(pl.UTF-8): Program do obsługi pakietów Debiana |
aea5b33f | 3 | Name: dpkg |
dcaefd63 | 4 | Version: 1.14.4 |
47be6b2f | 5 | Release: 2 |
aea5b33f | 6 | License: GPL |
71d0ff61 | 7 | Group: Applications/File |
5e9ec313 | 8 | Source0: ftp://ftp.debian.org/debian/pool/main/d/dpkg/%{name}_%{version}.tar.gz |
dcaefd63 | 9 | # Source0-md5: c9d6a52582bc39fa725b498e095d3ee1 |
71d0ff61 JB |
10 | BuildRequires: autoconf |
11 | BuildRequires: automake | |
dcaefd63 | 12 | BuildRequires: bzip2-devel |
f8e067bd | 13 | BuildRequires: gettext-devel |
dcaefd63 | 14 | BuildRequires: libselinux-devel |
dc9ed1c4 TP |
15 | BuildRequires: libtool |
16 | BuildRequires: perl-tools-pod | |
589726b5 | 17 | BuildRequires: zlib-devel |
80622688 | 18 | Requires: perl-base |
607070d7 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
aea5b33f JR |
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 | ||
f8701fb4 JR |
32 | %description -l pl.UTF-8 |
33 | Ten pakiet zawiera narzędzia do obsługi pakietów deb znanych z | |
71d0ff61 | 34 | Debiana. |
289d26c0 | 35 | |
aea5b33f JR |
36 | %prep |
37 | %setup -q | |
aea5b33f JR |
38 | |
39 | %build | |
71d0ff61 | 40 | %configure \ |
aea5b33f JR |
41 | --enable-shared \ |
42 | --without-dselect \ | |
dcaefd63 JR |
43 | --without-start-stop-daemon \ |
44 | --with-zlib \ | |
45 | --with-bz2 \ | |
46 | --with-selinux \ | |
47 | --with-admindir=/var/lib/%{name} \ | |
48 | SELINUX_LIBS=-lselinux | |
aea5b33f | 49 | |
dcaefd63 | 50 | %{__make} |
aea5b33f JR |
51 | |
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
aea5b33f JR |
54 | |
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
47be6b2f ER |
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 | ||
aea5b33f JR |
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) | |
aea5b33f JR |
74 | %attr(755,root,root) %{_bindir}/822-date |
75 | %attr(755,root,root) %{_bindir}/dpkg* | |
47be6b2f ER |
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 | ||
aea5b33f | 84 | %dir %{_libdir}/dpkg |
aea5b33f | 85 | %dir %{_libdir}/dpkg/parsechangelog |
ef2ba917 | 86 | %{_libdir}/dpkg/*.pl |
47be6b2f | 87 | %attr(755,root,root) %{_libdir}/dpkg/enoent |
aea5b33f | 88 | %attr(755,root,root) %{_libdir}/dpkg/mksplit |
47be6b2f ER |
89 | %dir %{_libdir}/dpkg/parsechangelog |
90 | %attr(755,root,root) %{_libdir}/dpkg/parsechangelog/debian | |
91 | ||
92 | %attr(755,root,root) %{_sbindir}/dpkg-statoverride | |
93 | ||
94 | %dir %{_datadir}/dpkg | |
95 | %{_datadir}/dpkg/cputable | |
96 | %{_datadir}/dpkg/ostable | |
97 | %{_datadir}/dpkg/triplettable | |
98 | ||
aea5b33f JR |
99 | %dir /var/lib/dpkg |
100 | /var/lib/dpkg/* | |
47be6b2f | 101 | |
dcaefd63 JR |
102 | %{_mandir}/man1/822* |
103 | %{_mandir}/man5/deb* | |
aea5b33f | 104 | %{_mandir}/man8/update* |
47be6b2f | 105 | %{_mandir}/man*/dpkg* |
dcaefd63 JR |
106 | %lang(de) %{_mandir}/de/man1/822* |
107 | %lang(de) %{_mandir}/de/man5/deb* | |
dcaefd63 | 108 | %lang(de) %{_mandir}/de/man8/update* |
47be6b2f | 109 | %lang(de) %{_mandir}/de/man*/dpkg* |
dcaefd63 JR |
110 | %lang(fr) %{_mandir}/fr/man1/822* |
111 | %lang(fr) %{_mandir}/fr/man5/deb* | |
dcaefd63 | 112 | %lang(fr) %{_mandir}/fr/man8/update* |
47be6b2f | 113 | %lang(fr) %{_mandir}/fr/man*/dpkg* |
dcaefd63 JR |
114 | %lang(hu) %{_mandir}/hu/man5/deb* |
115 | %lang(hu) %{_mandir}/hu/man*/dpkg* | |
116 | %lang(ja) %{_mandir}/ja/man5/deb* | |
aea5b33f | 117 | %lang(ja) %{_mandir}/ja/man8/update* |
47be6b2f | 118 | %lang(ja) %{_mandir}/ja/man*/dpkg* |
dcaefd63 | 119 | %lang(pl) %{_mandir}/pl/man1/822* |
dcaefd63 | 120 | %lang(pl) %{_mandir}/pl/man8/update* |
47be6b2f | 121 | %lang(pl) %{_mandir}/pl/man*/dpkg* |
dcaefd63 JR |
122 | %lang(ru) %{_mandir}/ru/man5/deb* |
123 | %lang(ru) %{_mandir}/ru/man*/dpkg* | |
124 | %lang(sv) %{_mandir}/sv/man5/deb* | |
125 | %lang(sv) %{_mandir}/sv/man*/dpkg* |