]> git.pld-linux.org Git - packages/dpkg.git/blame - dpkg.spec
- updated to 1.18.1
[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
663dd486 5Version: 1.18.1
b8a00aaf 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
663dd486 10# Source0-md5: 809169e14489dbcc603dc011381fdc67
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
663dd486
JB
57# "ac_cv_header_md5_h=no" to disable error on md5.h from libmd5
58# (dpkg expects this header from FreeBSD-compatible libmd, having different API)
71d0ff61 59%configure \
663dd486 60 ac_cv_header_md5_h=no \
e2582a24 61 PO4A="true" \
3477ad18 62 --disable-dselect \
99403999 63 --disable-silent-rules \
3477ad18 64 --disable-start-stop-daemon \
99403999 65 --with-admindir=/var/lib/%{name}
aea5b33f 66
dcaefd63 67%{__make}
aea5b33f
JR
68
69%install
70rm -rf $RPM_BUILD_ROOT
aea5b33f
JR
71
72%{__make} install \
73 DESTDIR=$RPM_BUILD_ROOT
74
99403999 75%{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/alternatives/README
47be6b2f 76
ddae01a5
JB
77# obsoleted by pkg-config
78%{__rm} $RPM_BUILD_ROOT%{_libdir}/libdpkg.la
79
99403999
JB
80# dpkg for main part, dpkg-dev for perl-based build script
81# don't use --all-name to avoid e.g. dselect inclusion
aea5b33f 82%find_lang dpkg
99403999
JB
83%find_lang dpkg-dev
84cat dpkg-dev.lang >>dpkg.lang
aea5b33f
JR
85
86%clean
87rm -rf $RPM_BUILD_ROOT
88
89%files -f dpkg.lang
90%defattr(644,root,root,755)
99403999 91%doc AUTHORS ChangeLog README THANKS TODO
aea5b33f 92%attr(755,root,root) %{_bindir}/dpkg*
99403999
JB
93%attr(755,root,root) %{_bindir}/update-alternatives
94%dir %{_sysconfdir}/alternatives
47be6b2f 95%dir %{_sysconfdir}/dpkg
99403999 96%dir %{_sysconfdir}/dpkg/dpkg.cfg.d
47be6b2f 97
aea5b33f 98%dir %{_libdir}/dpkg
aea5b33f 99%dir %{_libdir}/dpkg/parsechangelog
47be6b2f 100%attr(755,root,root) %{_libdir}/dpkg/parsechangelog/debian
47be6b2f 101%dir %{_datadir}/dpkg
fa52672c 102%{_datadir}/dpkg/abitable
47be6b2f
ER
103%{_datadir}/dpkg/cputable
104%{_datadir}/dpkg/ostable
105%{_datadir}/dpkg/triplettable
3e75a3a3 106%{_datadir}/dpkg/*.mk
99403999
JB
107
108%{perl_vendorlib}/Dpkg.pm
d52c6c83 109%{perl_vendorlib}/Dpkg
47be6b2f 110
aea5b33f 111%dir /var/lib/dpkg
99403999
JB
112%dir /var/lib/dpkg/alternatives
113%dir /var/lib/dpkg/info
114%dir /var/lib/dpkg/parts
115%dir /var/lib/dpkg/updates
116
117%{_mandir}/man1/dpkg*.1*
663dd486 118%{_mandir}/man1/update-alternatives.1*
b8a00aaf 119%{_mandir}/man3/Dpkg.3*
99403999
JB
120%{_mandir}/man3/Dpkg::*.3*
121%{_mandir}/man5/deb*.5*
122%{_mandir}/man5/dpkg.cfg.5*
99403999 123%lang(de) %{_mandir}/de/man1/dpkg*.1*
663dd486 124%lang(de) %{_mandir}/de/man1/update-alternatives.1*
99403999
JB
125%lang(de) %{_mandir}/de/man5/deb*.5*
126%lang(de) %{_mandir}/de/man5/dpkg.cfg.5*
99403999 127%lang(es) %{_mandir}/es/man1/dpkg*.1*
663dd486 128%lang(es) %{_mandir}/es/man1/update-alternatives.1*
99403999
JB
129%lang(es) %{_mandir}/es/man5/deb*.5*
130%lang(es) %{_mandir}/es/man5/dpkg.cfg.5*
99403999 131%lang(fr) %{_mandir}/fr/man1/dpkg*.1*
663dd486 132%lang(fr) %{_mandir}/fr/man1/update-alternatives.1*
99403999
JB
133%lang(fr) %{_mandir}/fr/man5/deb*.5*
134%lang(fr) %{_mandir}/fr/man5/dpkg.cfg.5*
99403999 135%lang(hu) %{_mandir}/hu/man5/dpkg.cfg.5*
42d55ea9 136%lang(it) %{_mandir}/it/man1/dpkg*.1*
663dd486 137%lang(it) %{_mandir}/it/man1/update-alternatives.1*
42d55ea9
JB
138%lang(it) %{_mandir}/it/man5/deb*.5*
139%lang(it) %{_mandir}/it/man5/dpkg.cfg.5*
3e75a3a3 140%lang(ja) %{_mandir}/ja/man1/dpkg*.1*
663dd486 141%lang(ja) %{_mandir}/ja/man1/update-alternatives.1*
3e75a3a3
JB
142%lang(ja) %{_mandir}/ja/man5/deb*.5*
143%lang(ja) %{_mandir}/ja/man5/dpkg.cfg.5*
99403999 144%lang(pl) %{_mandir}/pl/man1/dpkg*.1*
663dd486 145%lang(pl) %{_mandir}/pl/man1/update-alternatives.1*
99403999
JB
146%lang(pl) %{_mandir}/pl/man5/deb*.5*
147%lang(pl) %{_mandir}/pl/man5/dpkg.cfg.5*
99403999 148%lang(sv) %{_mandir}/sv/man1/dpkg*.1*
663dd486 149%lang(sv) %{_mandir}/sv/man1/update-alternatives.1*
99403999
JB
150%lang(sv) %{_mandir}/sv/man5/deb*.5*
151%lang(sv) %{_mandir}/sv/man5/dpkg.cfg.5*
99403999
JB
152
153%files -n libdpkg-devel
154%defattr(644,root,root,755)
155%{_libdir}/libdpkg.a
156%{_includedir}/dpkg
157%{_pkgconfigdir}/libdpkg.pc
This page took 0.120385 seconds and 4 git commands to generate.