From: Anas Nashif Date: Tue, 16 Oct 2012 17:41:39 +0000 (-0700) Subject: add packaging X-Git-Tag: accepted/tizen/base/20151223.052222~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=298ea8485599a7a69a968c27122021787166453f;p=platform%2Fupstream%2Fgzip.git add packaging --- 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 +