]> git.pld-linux.org Git - packages/dpkg.git/blame - dpkg.spec
- converted to UTF-8
[packages/dpkg.git] / dpkg.spec
CommitLineData
aea5b33f 1Summary: Package maintenance system for Debian Linux
f8701fb4 2Summary(pl.UTF-8): Program do obsługi pakietów Debiana
aea5b33f 3Name: dpkg
5e9ec313 4Version: 1.10.23
e01bf1ae 5Release: 2
aea5b33f 6License: GPL
71d0ff61 7Group: Applications/File
5e9ec313 8Source0: ftp://ftp.debian.org/debian/pool/main/d/dpkg/%{name}_%{version}.tar.gz
9# Source0-md5: 94a845ab0e14deb196d43e03c48a16b9
da03fdf8 10Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-pl-man-pages.tar.bz2
d8fbebf3 11# Source1-md5: 55b735ac489c7db709c9e7b3ca535f97
5e9ec313 12#Patch0: %{name}-no-debiandoc.patch
13#Patch1: %{name}-opt.patch
14#Patch2: %{name}-acfix.patch
15#Patch3: %{name}-no_man_section.patch
16#Patch4: %{name}-gcc33.patch
17#Patch5: %{name}-po.patch
71d0ff61
JB
18BuildRequires: autoconf
19BuildRequires: automake
f8e067bd 20BuildRequires: gettext-devel
dc9ed1c4
TP
21BuildRequires: libtool
22BuildRequires: perl-tools-pod
589726b5 23BuildRequires: zlib-devel
607070d7 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
aea5b33f
JR
25
26%description
27This package contains the programs which handle the installation and
28removal of packages on your system.
29
30The primary interface for the dpkg suite is the `dselect' program; a
31more low-level and less user-friendly interface is available in the
32form of the `dpkg' command.
33
34In order to unpack and build Debian source packages you will need to
35install the developers' package `dpkg-dev' as well as this one.
36
f8701fb4
JR
37%description -l pl.UTF-8
38Ten pakiet zawiera narzędzia do obsługi pakietów deb znanych z
71d0ff61 39Debiana.
289d26c0 40
aea5b33f
JR
41%prep
42%setup -q
5e9ec313 43#%patch0 -p1
44#%patch1 -p1
45#%patch2 -p1
46#%patch3 -p0
47#%patch4 -p1
48#%patch5 -p1
aea5b33f
JR
49
50%build
e01bf1ae 51cp -f /usr/share/automake/config.sub .
5e9ec313 52#%%{__libtoolize}
53#%%{__gettextize}
54#%%{__aclocal}
55#%%{__autoconf}
71d0ff61 56%configure \
aea5b33f
JR
57 --enable-shared \
58 --without-dselect \
5e9ec313 59 --without-sgml-doc \
aea5b33f
JR
60 --with-admindir=/var/lib/%{name}
61
36851ec8 62%{__make} docdir=%{_docdir}/%{name}-%{version} \
dc9ed1c4 63 CFLAGS="%{rpmcflags} -DSYS_SIGLIST_DECLARED"
aea5b33f
JR
64
65%install
66rm -rf $RPM_BUILD_ROOT
36851ec8 67install -d $RPM_BUILD_ROOT%{_docdir}/dpkg
aea5b33f
JR
68
69%{__make} install \
70 DESTDIR=$RPM_BUILD_ROOT
71
62cdc654 72bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
73
aea5b33f
JR
74%find_lang dpkg
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%files -f dpkg.lang
80%defattr(644,root,root,755)
81%doc doc/database-structure.fig doc/internals.sgml
36851ec8 82%doc $RPM_BUILD_ROOT%{_docdir}/%{name}/*
aea5b33f
JR
83%attr(755,root,root) %{_bindir}/822-date
84%attr(755,root,root) %{_bindir}/dpkg*
85%dir %{_libdir}/dpkg
86%dir %{_libdir}/dpkg/methods
87%dir %{_libdir}/dpkg/parsechangelog
88%dir %{_libdir}/dpkg/methods/disk
89%dir %{_libdir}/dpkg/methods/floppy
90%{_libdir}/dpkg/controllib.pl
91%attr(755,root,root) %{_libdir}/dpkg/mksplit
92%dir %{_libdir}/dpkg/methods/*/desc*
93%dir %{_libdir}/dpkg/methods/*/names
94%attr(755,root,root) %dir %{_libdir}/dpkg/methods/*/install
95%attr(755,root,root) %dir %{_libdir}/dpkg/methods/*/setup
96%attr(755,root,root) %dir %{_libdir}/dpkg/methods/*/update
97%attr(755,root,root) %dir %{_libdir}/dpkg/parsechangelog/debian
33f88a50 98#%attr(755,root,root) %{_sbindir}/start-stop-daemon
aea5b33f
JR
99%attr(755,root,root) %{_sbindir}/dpkg-divert
100%attr(755,root,root) %{_sbindir}/update-alternatives
aea5b33f
JR
101%dir /var/lib/dpkg
102/var/lib/dpkg/*
103%{_mandir}/man1/822-date.1*
104%{_mandir}/man1/dpkg*
105%{_mandir}/man5/*
106%{_mandir}/man8/dpkg*
33f88a50 107#%{_mandir}/man8/start-stop*
aea5b33f 108%{_mandir}/man8/update*
5e9ec313 109%lang(es) %{_mandir}/es/man1/dpkg*
110%lang(es) %{_mandir}/es/man5/*
111%lang(es) %{_mandir}/es/man8/dpkg*
112%lang(fr) %{_mandir}/fr/man1/dpkg*
113%lang(fr) %{_mandir}/fr/man5/*
114%lang(fr) %{_mandir}/fr/man8/dpkg*
aea5b33f
JR
115%lang(ja) %{_mandir}/ja/man1/dpkg*
116%lang(ja) %{_mandir}/ja/man5/*
117%lang(ja) %{_mandir}/ja/man8/dpkg*
33f88a50 118#%lang(ja) %{_mandir}/ja/man8/start-stop*
aea5b33f 119%lang(ja) %{_mandir}/ja/man8/update*
62cdc654 120%lang(pl) %{_mandir}/pl/man1/dpkg*
121%lang(pl) %{_mandir}/pl/man8/dpkg*
5e9ec313 122%lang(pt_BR) %{_mandir}/pt_BR/man8/dpkg*
123%lang(ru) %{_mandir}/ru/man1/dpkg*
124%lang(ru) %{_mandir}/ru/man5/*
125%lang(ru) %{_mandir}/ru/man8/dpkg*
126%lang(sv) %{_mandir}/sv/man1/dpkg*
aea5b33f 127%lang(sv) %{_mandir}/sv/man5/*
5e9ec313 128%lang(sv) %{_mandir}/sv/man8/dpkg*
This page took 0.444602 seconds and 4 git commands to generate.