]>
Commit | Line | Data |
---|---|---|
1c3e1c0e | 1 | %include /usr/lib/rpm/macros.perl |
aea5b33f | 2 | Summary: Package maintenance system for Debian Linux |
b81e7419 | 3 | Summary(pl.UTF-8): Program do obsługi pakietów Debiana |
aea5b33f | 4 | Name: dpkg |
73b6759a | 5 | Version: 1.15.8.10 |
d52c6c83 | 6 | Release: 1 |
99403999 | 7 | License: GPL v2+ |
71d0ff61 | 8 | Group: Applications/File |
99403999 | 9 | Source0: ftp://ftp.debian.org/debian/pool/main/d/dpkg/%{name}_%{version}.tar.bz2 |
73b6759a | 10 | # Source0-md5: bce745c7083ace01da1df6cdcad35f9a |
99403999 | 11 | URL: http://packages.debian.org/search?keywords=dpkg |
dcaefd63 | 12 | BuildRequires: bzip2-devel |
73b6759a | 13 | BuildRequires: gettext-devel >= 0.18 |
dcaefd63 | 14 | BuildRequires: libselinux-devel |
dc9ed1c4 | 15 | BuildRequires: perl-tools-pod |
1c3e1c0e | 16 | BuildRequires: pkgconfig |
17 | BuildRequires: po4a | |
18 | BuildRequires: rpm-perlprov | |
589726b5 | 19 | BuildRequires: zlib-devel |
80622688 | 20 | Requires: perl-base |
607070d7 | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
aea5b33f JR |
22 | |
23 | %description | |
99403999 JB |
24 | This package contains the programs to handle deb packages known from |
25 | Debian. | |
aea5b33f | 26 | |
f8701fb4 JR |
27 | %description -l pl.UTF-8 |
28 | Ten pakiet zawiera narzędzia do obsługi pakietów deb znanych z | |
71d0ff61 | 29 | Debiana. |
289d26c0 | 30 | |
99403999 JB |
31 | %package -n libdpkg-devel |
32 | Summary: dpkg library and header files | |
33 | Summary(pl.UTF-8): Biblioteka i pliki nagłówkowe dpkg | |
34 | Group: Development/Libraries | |
35 | ||
36 | %description -n libdpkg-devel | |
37 | dpkg library and header files. | |
38 | ||
39 | %description -n libdpkg-devel -l pl.UTF-8 | |
40 | Biblioteka i pliki nagłówkowe dpkg. | |
41 | ||
aea5b33f JR |
42 | %prep |
43 | %setup -q | |
aea5b33f JR |
44 | |
45 | %build | |
71d0ff61 | 46 | %configure \ |
99403999 | 47 | --disable-silent-rules \ |
aea5b33f JR |
48 | --enable-shared \ |
49 | --without-dselect \ | |
99403999 | 50 | --without-install-info \ |
dcaefd63 JR |
51 | --without-start-stop-daemon \ |
52 | --with-zlib \ | |
53 | --with-bz2 \ | |
54 | --with-selinux \ | |
99403999 | 55 | --with-admindir=/var/lib/%{name} |
aea5b33f | 56 | |
dcaefd63 | 57 | %{__make} |
aea5b33f JR |
58 | |
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
aea5b33f JR |
61 | |
62 | %{__make} install \ | |
63 | DESTDIR=$RPM_BUILD_ROOT | |
64 | ||
99403999 | 65 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/alternatives/README |
47be6b2f | 66 | |
99403999 JB |
67 | # dpkg for main part, dpkg-dev for perl-based build script |
68 | # don't use --all-name to avoid e.g. dselect inclusion | |
aea5b33f | 69 | %find_lang dpkg |
99403999 JB |
70 | %find_lang dpkg-dev |
71 | cat dpkg-dev.lang >>dpkg.lang | |
aea5b33f JR |
72 | |
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %files -f dpkg.lang | |
77 | %defattr(644,root,root,755) | |
99403999 | 78 | %doc AUTHORS ChangeLog README THANKS TODO |
aea5b33f | 79 | %attr(755,root,root) %{_bindir}/dpkg* |
99403999 JB |
80 | %attr(755,root,root) %{_bindir}/update-alternatives |
81 | %dir %{_sysconfdir}/alternatives | |
47be6b2f | 82 | %dir %{_sysconfdir}/dpkg |
99403999 | 83 | %dir %{_sysconfdir}/dpkg/dpkg.cfg.d |
47be6b2f | 84 | |
aea5b33f | 85 | %dir %{_libdir}/dpkg |
aea5b33f | 86 | %dir %{_libdir}/dpkg/parsechangelog |
47be6b2f | 87 | %attr(755,root,root) %{_libdir}/dpkg/parsechangelog/debian |
47be6b2f ER |
88 | %dir %{_datadir}/dpkg |
89 | %{_datadir}/dpkg/cputable | |
90 | %{_datadir}/dpkg/ostable | |
91 | %{_datadir}/dpkg/triplettable | |
99403999 JB |
92 | |
93 | %{perl_vendorlib}/Dpkg.pm | |
d52c6c83 | 94 | %{perl_vendorlib}/Dpkg |
47be6b2f | 95 | |
aea5b33f | 96 | %dir /var/lib/dpkg |
99403999 JB |
97 | %dir /var/lib/dpkg/alternatives |
98 | %dir /var/lib/dpkg/info | |
99 | %dir /var/lib/dpkg/parts | |
100 | %dir /var/lib/dpkg/updates | |
101 | ||
102 | %{_mandir}/man1/dpkg*.1* | |
103 | %{_mandir}/man3/Dpkg::*.3* | |
104 | %{_mandir}/man5/deb*.5* | |
105 | %{_mandir}/man5/dpkg.cfg.5* | |
106 | %{_mandir}/man8/dpkg-*.8* | |
107 | %{_mandir}/man8/update-alternatives.8* | |
108 | %lang(de) %{_mandir}/de/man1/dpkg*.1* | |
109 | %lang(de) %{_mandir}/de/man5/deb*.5* | |
110 | %lang(de) %{_mandir}/de/man5/dpkg.cfg.5* | |
111 | %lang(de) %{_mandir}/de/man8/dpkg-*.8* | |
112 | %lang(de) %{_mandir}/de/man8/update-alternatives.8* | |
113 | %lang(es) %{_mandir}/es/man1/dpkg*.1* | |
114 | %lang(es) %{_mandir}/es/man5/deb*.5* | |
115 | %lang(es) %{_mandir}/es/man5/dpkg.cfg.5* | |
116 | %lang(es) %{_mandir}/es/man8/dpkg-*.8* | |
117 | %lang(es) %{_mandir}/es/man8/update-alternatives.8* | |
118 | %lang(fr) %{_mandir}/fr/man1/dpkg*.1* | |
119 | %lang(fr) %{_mandir}/fr/man5/deb*.5* | |
120 | %lang(fr) %{_mandir}/fr/man5/dpkg.cfg.5* | |
121 | %lang(fr) %{_mandir}/fr/man8/dpkg-*.8* | |
122 | %lang(fr) %{_mandir}/fr/man8/update-alternatives.8* | |
123 | %lang(hu) %{_mandir}/hu/man5/dpkg.cfg.5* | |
124 | %lang(ja) %{_mandir}/ja/man5/deb-old.5* | |
125 | %lang(pl) %{_mandir}/pl/man1/dpkg*.1* | |
126 | %lang(pl) %{_mandir}/pl/man5/deb*.5* | |
127 | %lang(pl) %{_mandir}/pl/man5/dpkg.cfg.5* | |
128 | %lang(pl) %{_mandir}/pl/man8/dpkg-*.8* | |
129 | %lang(pl) %{_mandir}/pl/man8/update-alternatives.8* | |
130 | %lang(sv) %{_mandir}/sv/man1/dpkg*.1* | |
131 | %lang(sv) %{_mandir}/sv/man5/deb*.5* | |
132 | %lang(sv) %{_mandir}/sv/man5/dpkg.cfg.5* | |
133 | %lang(sv) %{_mandir}/sv/man8/dpkg-*.8* | |
134 | %lang(sv) %{_mandir}/sv/man8/update-alternatives.8* | |
135 | ||
136 | %files -n libdpkg-devel | |
137 | %defattr(644,root,root,755) | |
138 | %{_libdir}/libdpkg.a | |
139 | %{_includedir}/dpkg | |
140 | %{_pkgconfigdir}/libdpkg.pc |