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