From: Hurnjoo Lee Date: Mon, 21 Dec 2015 05:47:30 +0000 (+0900) Subject: Add packaging files X-Git-Tag: accepted/tizen/3.0.m2/base/20170104.081859^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_3.0;p=product%2Fupstream%2Fgrep.git Add packaging files Change-Id: I2551ed7c2450960748aeda2a0fd3ad14db578d1c Signed-off-by: Hurnjoo Lee --- 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}/*