]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - gzip/gzip.nm
perl-XML-SAX-Base: New package.
[people/ms/ipfire-3.x.git] / gzip / gzip.nm
index 624226a451b4aba8fa6a9c70bf1a4d15af0215f6..20c389b09ede51ea559675d0ca74c583b4e310af 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = gzip
-version    = 1.4
-release    = 2
+version    = 1.6
+release    = 1
 
 groups     = Applications/Compression
 url        = http://www.gzip.org/
@@ -13,40 +13,44 @@ license    = GPLv2
 summary    = The GNU data compression program.
 
 description
-       The gzip package contains the popular GNU gzip data compression \
+       The gzip package contains the popular GNU gzip data compression
        program. Gzipped files have a .gz extension.
 end
 
-source_dl  =
+source_dl  = ftp://ftp.gnu.org/gnu/%{name}/
 
 build
-       build
-               # NO_ASM is for textrels.
-               DEFS=NO_ASM \
-               CPPFLAGS="-DHAVE_LSTAT" \
-               ./configure \
-                       --prefix=/usr \
-                       --bindir=/bin
+       requires
+               coreutils
+               less
+               texinfo
 
-               make %{PARALLELISMFLAGS}
+               /usr/bin/more
        end
 
+       # NO_ASM is for textrels.
+       configure_options += \
+               DEFS=NO_ASM \
+               CPPFLAGS="-DHAVE_LSTAT"
+
        test
                make check
        end
-
-       install
-               make install DESTDIR=%{BUILDROOT}
-
-               mkdir -pv %{BUILDROOT}/usr/bin
-               mv -v %{BUILDROOT}/bin/{gzexe,uncompress,zcmp,zdiff,zegrep} %{BUILDROOT}/usr/bin
-               mv -v %{BUILDROOT}/bin/{zfgrep,zforce,zgrep,zless,zmore,znew} %{BUILDROOT}/usr/bin
-       end
 end
 
 packages
        package %{name}
                groups += Base Build
+
+               provides
+                       /bin/gunzip
+                       /bin/gzip
+                       /bin/zcat
+               end
+
+               conflicts
+                       filesystem < 002
+               end
        end
 
        package %{name}-debuginfo