###############################################################################
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