From 298ea8485599a7a69a968c27122021787166453f Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 16 Oct 2012 10:41:39 -0700 Subject: [PATCH] add packaging --- packaging/gzip.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 packaging/gzip.spec diff --git a/packaging/gzip.spec b/packaging/gzip.spec new file mode 100644 index 0000000..c261355 --- /dev/null +++ b/packaging/gzip.spec @@ -0,0 +1,49 @@ +Name: gzip +Version: 1.5 +Release: 1 +License: GPLv3 +Summary: The GNU data compression program +Url: http://www.gzip.org/ +Group: Applications/File +Source0: ftp://alpha.gnu.org/gnu/gzip/gzip-%{version}.tar.xz +Requires: /usr/bin/mktemp + +%description +The gzip package contains the popular GNU gzip data compression +program. Gzipped files have a .gz extension. + +Gzip should be installed on your system, because it is a +very commonly used data compression program. + + +%prep +%setup -q + +%build +%configure \ + --bindir=%{_bindir} + +make %{?_smp_mflags} + +%install +%make_install + +%docs_package + +%files +%defattr(-,root,root,-) +%{_bindir}/gzip +%{_bindir}/gunzip +%{_bindir}/zcmp +%{_bindir}/zegrep +%{_bindir}/zforce +%{_bindir}/znew +%{_bindir}/gzexe +%{_bindir}/zdiff +%{_bindir}/zfgrep +%{_bindir}/zgrep +%{_bindir}/zmore +%{_bindir}/zcat +%{_bindir}/uncompress +%{_bindir}/zless + -- 2.7.4