]> git.pld-linux.org Git - packages/dpkg.git/commitdiff
- release 2:
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 17 Jan 2001 00:27:05 +0000 (00:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- use RPM_OPT_FLAGS
- use rpm automation (stripping, gzipping man)
- BuildRequires

Changed files:
    dpkg.spec -> 1.2

dpkg.spec

index f61fa7b28f9caf14bd67a6ec7c40243785e95ed1..54f745dceee79528eed3c285f88ae66202b44d5b 100644 (file)
--- a/dpkg.spec
+++ b/dpkg.spec
@@ -1,13 +1,16 @@
 Summary:       Package maintenance system for Debian Linux
 Name:          dpkg
 Version:       1.6.14
-Release:       1
+Release:       2
 License:       GPL
 Group:         Utilities/File
 Group(pl):     Narzêdzia/Pliki
 Source:                ftp://ftp.debian.org/debian/dists/potato/main/source/base/%{name}_%{version}.tar.gz
-Patch0:                dpkg-no-debiandoc.patch
+Patch0:                %{name}-no-debiandoc.patch
+Patch1:                %{name}-opt.patch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRequires: gettext-devel
+BuildRequires: autoconf
 
 %description
 This package contains the programs which handle the installation and
@@ -23,9 +26,11 @@ install the developers' package `dpkg-dev' as well as this one.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 gettextize --copy --force
+autoconf
 %configure \
        --enable-shared \
        --without-dselect \
@@ -40,11 +45,7 @@ install -d $RPM_BUILD_ROOT%{_defaultdocdir}/dpkg
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-strip --strip-unneeded $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/* || :
-
-gzip -9nf $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/* \
-       $RPM_BUILD_ROOT%{_mandir}/man*/* \
-       $RPM_BUILD_ROOT%{_mandir}/*/man*/*
+gzip -9nf $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/*
 
 %find_lang dpkg
 
This page took 0.033068 seconds and 4 git commands to generate.