]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - gzip/gzip.nm
screen: Make screen FHS compliant
[ipfire-3.x.git] / gzip / gzip.nm
index ca3970b20084ca6daa2a7347156a458185484b52..4d19885a85ccdda2f1b07d90343944555516ab46 100644 (file)
@@ -4,48 +4,51 @@
 ###############################################################################
 
 name       = gzip
-version    = 1.4
+version    = 1.12
 release    = 1
 
-groups     = Base Build Applications/Compression
-url        = http://www.gzip.org/
+groups     = Applications/Compression
+url        = https://www.gzip.org/
 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  = https://ftp.gnu.org/gnu/%{name}/
 
 build
-       build
-               # NO_ASM is for textrels.
-               DEFS=NO_ASM \
-               CPPFLAGS="-DHAVE_LSTAT" \
-               ./configure \
-                       --prefix=/usr \
-                       --bindir=/bin
-
-               make %{PARALLELISMFLAGS}
-       end
+       requires
+               coreutils
+               less
+               texinfo
 
-       test
-               make check
+               /usr/bin/more
        end
 
-       install
-               make install DESTDIR=%{BUILDROOT}
+       # NO_ASM is for textrels.
+       ##configure_options += \
+       #       DEFS=NO_ASM \
+       #       CPPFLAGS="-DHAVE_LSTAT"
 
-               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
+       test
+               make check
        end
 end
 
 packages
        package %{name}
+               provides
+                       /bin/gunzip
+                       /bin/gzip
+                       /bin/zcat
+               end
+
+               conflicts
+                       filesystem < 002
+               end
        end
 
        package %{name}-debuginfo