]> git.pld-linux.org Git - packages/file.git/blobdiff - file.spec
- modyfications for using neew rpm automation.
[packages/file.git] / file.spec
index c406e8cf2bba06862d2dc28b9d6e22c7f4aaa81d..ae4e3c642a81cbd914038e692355f0761087bf21 100644 (file)
--- a/file.spec
+++ b/file.spec
@@ -4,15 +4,15 @@ Summary(fr):  Commande file(1)
 Summary(pl):   komenda file(1)
 Summary(tr):   Dosya tipini belirleme aracý
 Name:          file
-Version:       3.28
+Version:       3.32
 Release:       1
 Copyright:     distributable
 Group:         Utilities/File
 Group(pl):     Narzêdzia/Pliki
 Source0:       ftp://ftp.astron.com/pub/file/%{name}-%{version}.tar.gz
-Source1:       file.xdelta
-Patch0:                file-sparc.patch
-Patch1:                file-tfm.patch
+Patch0:                %{name}-sparc.patch
+Patch1:                %{name}-tfm.patch
+Patch2:                %{name}-ia64.patch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Conflicts:     xdelta < 1.0.0
 
@@ -63,25 +63,21 @@ kitapl
 %setup  -q
 %patch0 -p1
 %patch1 -p1
-
-install %{SOURCE1} ./Magdir/xdelta
+%patch2 -p1
 
 %build
 aclocal
 autoconf
 rm -f install-sh missing mkinstalldirs
 automake --copy --add-missing
-LDFLAGS="-s"; export LDFLAGS
 %configure
        
-make LDFLAGS="-s"
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make install DESTDIR=$RPM_BUILD_ROOT
-
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man{1,4}/*
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.090687 seconds and 4 git commands to generate.