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