]> git.pld-linux.org Git - packages/dpkg.git/blame - dpkg.spec
- updated to 1.17.24
[packages/dpkg.git] / dpkg.spec
CommitLineData
1c3e1c0e 1%include /usr/lib/rpm/macros.perl
aea5b33f 2Summary: Package maintenance system for Debian Linux
b81e7419 3Summary(pl.UTF-8): Program do obsługi pakietów Debiana
aea5b33f 4Name: dpkg
b8a00aaf
JB
5Version: 1.17.24
6Release: 1
99403999 7License: GPL v2+
71d0ff61 8Group: Applications/File
3477ad18 9Source0: ftp://ftp.debian.org/debian/pool/main/d/dpkg/%{name}_%{version}.tar.xz
b8a00aaf 10# Source0-md5: 4c62dd2675ea75759faf03e2c758a805
42d55ea9 11Patch0: %{name}-md5.patch
99403999 12URL: http://packages.debian.org/search?keywords=dpkg
dcaefd63 13BuildRequires: bzip2-devel
abb5ca11 14BuildRequires: gettext-tools >= 0.18.2
dcaefd63 15BuildRequires: libselinux-devel
dc9ed1c4 16BuildRequires: perl-tools-pod
1c3e1c0e 17BuildRequires: pkgconfig
42d55ea9 18BuildRequires: rpmbuild(macros) >= 1.654
1c3e1c0e 19BuildRequires: rpm-perlprov
3477ad18
JB
20BuildRequires: tar >= 1:1.22
21BuildRequires: xz
22BuildRequires: xz-devel
589726b5 23BuildRequires: zlib-devel
80622688 24Requires: perl-base
607070d7 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
aea5b33f 26
392fa822 27# blacklist false positives
c4540769 28%define _noautoreq_perl extra file in Tie::ExtraHash
392fa822 29
aea5b33f 30%description
99403999
JB
31This package contains the programs to handle deb packages known from
32Debian.
aea5b33f 33
f8701fb4
JR
34%description -l pl.UTF-8
35Ten pakiet zawiera narzędzia do obsługi pakietów deb znanych z
71d0ff61 36Debiana.
289d26c0 37
99403999
JB
38%package -n libdpkg-devel
39Summary: dpkg library and header files
40Summary(pl.UTF-8): Biblioteka i pliki nagłówkowe dpkg
41Group: Development/Libraries
184a11e8
JB
42Requires: bzip2-devel
43Requires: xz-devel
44Requires: zlib-devel
99403999
JB
45
46%description -n libdpkg-devel
47dpkg library and header files.
48
49%description -n libdpkg-devel -l pl.UTF-8
50Biblioteka i pliki nagłówkowe dpkg.
51
aea5b33f
JR
52%prep
53%setup -q
42d55ea9 54%patch0 -p1
aea5b33f
JR
55
56%build
71d0ff61 57%configure \
e2582a24 58 PO4A="true" \
3477ad18 59 --disable-dselect \
99403999 60 --disable-silent-rules \
3477ad18 61 --disable-start-stop-daemon \
99403999 62 --with-admindir=/var/lib/%{name}
aea5b33f 63
dcaefd63 64%{__make}
aea5b33f
JR
65
66%install
67rm -rf $RPM_BUILD_ROOT
aea5b33f
JR
68
69%{__make} install \
70 DESTDIR=$RPM_BUILD_ROOT
71
99403999 72%{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/alternatives/README
47be6b2f 73
ddae01a5
JB
74# obsoleted by pkg-config
75%{__rm} $RPM_BUILD_ROOT%{_libdir}/libdpkg.la
76
99403999
JB
77# dpkg for main part, dpkg-dev for perl-based build script
78# don't use --all-name to avoid e.g. dselect inclusion
aea5b33f 79%find_lang dpkg
99403999
JB
80%find_lang dpkg-dev
81cat dpkg-dev.lang >>dpkg.lang
aea5b33f
JR
82
83%clean
84rm -rf $RPM_BUILD_ROOT
85
86%files -f dpkg.lang
87%defattr(644,root,root,755)
99403999 88%doc AUTHORS ChangeLog README THANKS TODO
aea5b33f 89%attr(755,root,root) %{_bindir}/dpkg*
99403999
JB
90%attr(755,root,root) %{_bindir}/update-alternatives
91%dir %{_sysconfdir}/alternatives
47be6b2f 92%dir %{_sysconfdir}/dpkg
99403999 93%dir %{_sysconfdir}/dpkg/dpkg.cfg.d
47be6b2f 94
aea5b33f 95%dir %{_libdir}/dpkg
aea5b33f 96%dir %{_libdir}/dpkg/parsechangelog
47be6b2f 97%attr(755,root,root) %{_libdir}/dpkg/parsechangelog/debian
47be6b2f 98%dir %{_datadir}/dpkg
fa52672c 99%{_datadir}/dpkg/abitable
47be6b2f
ER
100%{_datadir}/dpkg/cputable
101%{_datadir}/dpkg/ostable
102%{_datadir}/dpkg/triplettable
3e75a3a3 103%{_datadir}/dpkg/*.mk
99403999
JB
104
105%{perl_vendorlib}/Dpkg.pm
d52c6c83 106%{perl_vendorlib}/Dpkg
47be6b2f 107
aea5b33f 108%dir /var/lib/dpkg
99403999
JB
109%dir /var/lib/dpkg/alternatives
110%dir /var/lib/dpkg/info
111%dir /var/lib/dpkg/parts
112%dir /var/lib/dpkg/updates
113
114%{_mandir}/man1/dpkg*.1*
b8a00aaf 115%{_mandir}/man3/Dpkg.3*
99403999
JB
116%{_mandir}/man3/Dpkg::*.3*
117%{_mandir}/man5/deb*.5*
118%{_mandir}/man5/dpkg.cfg.5*
119%{_mandir}/man8/dpkg-*.8*
120%{_mandir}/man8/update-alternatives.8*
121%lang(de) %{_mandir}/de/man1/dpkg*.1*
122%lang(de) %{_mandir}/de/man5/deb*.5*
123%lang(de) %{_mandir}/de/man5/dpkg.cfg.5*
124%lang(de) %{_mandir}/de/man8/dpkg-*.8*
125%lang(de) %{_mandir}/de/man8/update-alternatives.8*
126%lang(es) %{_mandir}/es/man1/dpkg*.1*
127%lang(es) %{_mandir}/es/man5/deb*.5*
128%lang(es) %{_mandir}/es/man5/dpkg.cfg.5*
129%lang(es) %{_mandir}/es/man8/dpkg-*.8*
130%lang(es) %{_mandir}/es/man8/update-alternatives.8*
131%lang(fr) %{_mandir}/fr/man1/dpkg*.1*
132%lang(fr) %{_mandir}/fr/man5/deb*.5*
133%lang(fr) %{_mandir}/fr/man5/dpkg.cfg.5*
134%lang(fr) %{_mandir}/fr/man8/dpkg-*.8*
135%lang(fr) %{_mandir}/fr/man8/update-alternatives.8*
136%lang(hu) %{_mandir}/hu/man5/dpkg.cfg.5*
42d55ea9
JB
137%lang(it) %{_mandir}/it/man1/dpkg*.1*
138%lang(it) %{_mandir}/it/man5/deb*.5*
139%lang(it) %{_mandir}/it/man5/dpkg.cfg.5*
ddae01a5 140%lang(it) %{_mandir}/it/man8/dpkg-*.8*
42d55ea9 141%lang(it) %{_mandir}/it/man8/update-alternatives.8*
3e75a3a3
JB
142%lang(ja) %{_mandir}/ja/man1/dpkg*.1*
143%lang(ja) %{_mandir}/ja/man5/deb*.5*
144%lang(ja) %{_mandir}/ja/man5/dpkg.cfg.5*
145%lang(ja) %{_mandir}/ja/man8/dpkg*.8*
146%lang(ja) %{_mandir}/ja/man8/update-alternatives.8*
99403999
JB
147%lang(pl) %{_mandir}/pl/man1/dpkg*.1*
148%lang(pl) %{_mandir}/pl/man5/deb*.5*
149%lang(pl) %{_mandir}/pl/man5/dpkg.cfg.5*
150%lang(pl) %{_mandir}/pl/man8/dpkg-*.8*
151%lang(pl) %{_mandir}/pl/man8/update-alternatives.8*
152%lang(sv) %{_mandir}/sv/man1/dpkg*.1*
153%lang(sv) %{_mandir}/sv/man5/deb*.5*
154%lang(sv) %{_mandir}/sv/man5/dpkg.cfg.5*
155%lang(sv) %{_mandir}/sv/man8/dpkg-*.8*
156%lang(sv) %{_mandir}/sv/man8/update-alternatives.8*
157
158%files -n libdpkg-devel
159%defattr(644,root,root,755)
160%{_libdir}/libdpkg.a
161%{_includedir}/dpkg
162%{_pkgconfigdir}/libdpkg.pc
This page took 0.246086 seconds and 4 git commands to generate.