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