From 89b6768046f08b7e319b44eae9bb3dab50714da4 Mon Sep 17 00:00:00 2001 From: Hurnjoo Lee Date: Mon, 21 Dec 2015 14:47:30 +0900 Subject: [PATCH] Add packaging files Change-Id: I2551ed7c2450960748aeda2a0fd3ad14db578d1c Signed-off-by: Hurnjoo Lee --- packaging/grep.changes | 10 ++++++++++ packaging/grep.manifest | 5 +++++ packaging/grep.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 packaging/grep.changes create mode 100644 packaging/grep.manifest create mode 100644 packaging/grep.spec diff --git a/packaging/grep.changes b/packaging/grep.changes new file mode 100644 index 0000000..856c7a4 --- /dev/null +++ b/packaging/grep.changes @@ -0,0 +1,10 @@ +* Thu Jan 16 2014 Jacek Bukarewicz upstream/2.16@028b2d9 +- Update to version 2.16, minor packaging fixes +- resetting manifest requested domain to floor + +* Thu Jun 27 2013 Patrick McCarty f1093be +- packaging: provide /bin/grep for compatibility + +* Mon Mar 18 2013 Anas Nashif upstream/2.14@b484a10 +- Fixed package group/license + diff --git a/packaging/grep.manifest b/packaging/grep.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/grep.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/grep.spec b/packaging/grep.spec new file mode 100644 index 0000000..f1fbc13 --- /dev/null +++ b/packaging/grep.spec @@ -0,0 +1,46 @@ +Name: grep +BuildRequires: automake +BuildRequires: pcre-devel +Url: http://www.gnu.org/software/grep/ +Version: 2.5.2 +Release: 0 +Summary: Print lines matching a pattern +License: GPL-2.0+ +Group: Base/Utilities +Source0: grep-%{version}.tar.xz +Source1001: grep.manifest +Provides: base:/usr/bin/grep +Provides: /bin/grep +BuildRequires: makeinfo +BuildRequires: gettext-tools + +%description +The grep command searches one or more input files for lines +containing a match to a specified pattern. By default, grep prints +the matching lines. + +%prep +%setup -q +cp %{SOURCE1001} . + +%build +%configure --disable-silent-rules --without-included-regex +%{__make} %{?_smp_mflags} + +%check +make check VERBOSE=1 + +%install +%make_install +%find_lang %name + +%docs_package + +%lang_package + + +%files +%manifest %{name}.manifest +%defattr(-,root,root) +%license COPYING +%{_bindir}/* -- 2.7.4