add packaging
authorAnas Nashif <anas.nashif@intel.com>
Tue, 16 Oct 2012 17:41:39 +0000 (10:41 -0700)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Thu, 16 Jan 2014 16:52:21 +0000 (17:52 +0100)
packaging/gzip.spec [new file with mode: 0644]

diff --git a/packaging/gzip.spec b/packaging/gzip.spec
new file mode 100644 (file)
index 0000000..c261355
--- /dev/null
@@ -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
+