From 94415ecd9267c94e8d75c94463426e880d55f300 Mon Sep 17 00:00:00 2001 From: Hurnjoo Lee Date: Mon, 21 Dec 2015 14:44:20 +0900 Subject: [PATCH] Add packaging files Change-Id: I0c409feaf5db16b1d1646d87c3fed25bb29fddf7 Signed-off-by: Hurnjoo Lee --- packaging/gzip.changes | 10 ++++++++ packaging/gzip.manifest | 5 ++++ packaging/gzip.spec | 53 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 packaging/gzip.changes create mode 100644 packaging/gzip.manifest create mode 100644 packaging/gzip.spec diff --git a/packaging/gzip.changes b/packaging/gzip.changes new file mode 100644 index 0000000..f8f5ad6 --- /dev/null +++ b/packaging/gzip.changes @@ -0,0 +1,10 @@ +* Sat Jan 18 2014 Łukasz Stelmach upstream/1.6@0bd261 +- Import upstream version 1.6 +- Fix some spec problems + + Url + + Group + + Source0 + +* Mon Mar 18 2013 Anas Nashif upstream/1.5@0d495ea +- Fixed package group + diff --git a/packaging/gzip.manifest b/packaging/gzip.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/gzip.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/gzip.spec b/packaging/gzip.spec new file mode 100644 index 0000000..391ff8c --- /dev/null +++ b/packaging/gzip.spec @@ -0,0 +1,53 @@ +Name: gzip +Version: 1.3.12 +Release: 1 +License: GPL-2.0+ +Summary: The GNU data compression program +Url: http://www.gnu.org/software/gzip/ +Group: Base/Compression +Source0: %{name}-%{version}.tar.xz +Source1001: gzip.manifest +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 +cp %{SOURCE1001} . + +%build +%configure \ + --bindir=%{_bindir} + +make %{?_smp_mflags} + +%install +%make_install + +%docs_package + +%files +%manifest %{name}.manifest +%defattr(-,root,root,-) +%license COPYING +%{_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.34.1