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