###############################################################################
name = gzip
-version = 1.4
-release = 2
+version = 1.6
+release = 1
groups = Applications/Compression
url = http://www.gzip.org/
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