dpkg/dpkg.spec

changeset 59
65ddf2e1fe94
parent 49
3ca9c03168f4
child 85
e6a1cd7ed6ba
equal deleted inserted replaced
0:9f187a54bc6c 1:bc219026af42
34 Distribution: OpenPKG Community 34 Distribution: OpenPKG Community
35 Class: EVAL 35 Class: EVAL
36 Group: Archiver 36 Group: Archiver
37 License: GPL 37 License: GPL
38 Version: %{V_tarball} 38 Version: %{V_tarball}
39 Release: 20081229 39 Release: 20090106
40 40
41 # list of sources 41 # list of sources
42 Source0: http://ftp.debian.org/debian/pool/main/d/dpkg/dpkg_%{version}.tar.gz 42 Source0: http://ftp.debian.org/debian/pool/main/d/dpkg/dpkg_%{version}.tar.gz
43 Patch0: dpkg.patch 43 Patch0: dpkg.patch
44 44
85 --without-start-stop-daemon \ 85 --without-start-stop-daemon \
86 --with-admindir=%{l_prefix}/var/dpkg \ 86 --with-admindir=%{l_prefix}/var/dpkg \
87 --with-zlib \ 87 --with-zlib \
88 --with-bz2 \ 88 --with-bz2 \
89 --without-selinux 89 --without-selinux
90 %{l_make} %{l_mflags} 90 %{l_make} %{l_mflags -O}
91 91
92 %install 92 %install
93 rm -rf $RPM_BUILD_ROOT 93 rm -rf $RPM_BUILD_ROOT
94 %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" 94 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT LINGUAS=doit
95 strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true 95 strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
96 rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/locale 96 rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/locale
97 for bin in 822-date cleanup-info install-info update-alternatives; do 97 for bin in 822-date cleanup-info install-info update-alternatives; do
98 if [ -f $RPM_BUILD_ROOT%{l_prefix}/bin/$bin ]; then 98 if [ -f $RPM_BUILD_ROOT%{l_prefix}/bin/$bin ]; then
99 mv $RPM_BUILD_ROOT%{l_prefix}/bin/$bin \ 99 mv $RPM_BUILD_ROOT%{l_prefix}/bin/$bin \

mercurial