From: Jacek Bukarewicz Date: Fri, 6 Sep 2013 12:48:02 +0000 (+0200) Subject: Introduced -devel and -extras subpackages for gawk X-Git-Tag: accepted/tizen/generic/20140314.080253^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_3.0.m14.2_ivi;p=platform%2Fupstream%2Fgawk.git Introduced -devel and -extras subpackages for gawk Also moved package to Base/Utilities group so rpmlint doesn't complain Change-Id: Ic09064001561b3a7accb4e43a5b9c0122efe5b53 --- diff --git a/packaging/gawk.changes b/packaging/gawk.changes index 4ef9528..dcea945 100644 --- a/packaging/gawk.changes +++ b/packaging/gawk.changes @@ -1,3 +1,7 @@ +* Fri Sep 06 2013 Jacek Bukarewicz accepted/tizen/20130710.220613@ae5a523 +- Add -devel and -extras gawk subpackages +- Moved package to Base/Utilities group + * Mon Mar 18 2013 Anas Nashif submit/trunk/20130222.013012@6c19cd8 - Fixed package group diff --git a/packaging/gawk.spec b/packaging/gawk.spec index e16f94d..16ac2cd 100644 --- a/packaging/gawk.spec +++ b/packaging/gawk.spec @@ -7,7 +7,7 @@ Version: 4.0.1 Release: 0 Summary: GNU awk License: GPL-3.0+ -Group: Base/Tools +Group: Base/Utilities Source: gawk-%{version}.tar.bz2 Source1001: gawk.manifest @@ -19,6 +19,26 @@ Provides: /bin/gawk GNU awk is upwardly compatible with the System V Release 4 awk. It is almost completely POSIX 1003.2 compliant. +%package devel +License: GPL-3.0+ +Summary: Utilities for awk scripts development +Group: Base/Utilities +Requires: gawk + +%description devel +Package contains tools for debugging and profiling of awk scripts + +%package extras +License: TIZEN-Public-Domain +Summary: Files not essential for basic AWK usage +Group: Base/Utilities +Requires: gawk + +%description extras +Package contains igawk utility which allows to include source files in +AWK programs. Several reusable AWK scripts and their dependencies are +also included. + %prep %setup -q cp %{SOURCE1001} . @@ -52,11 +72,16 @@ make check %defattr(-,root,root) %license COPYING %{_bindir}/awk -%{_bindir}/dgawk %{_bindir}/gawk* -%{_bindir}/igawk + +%files devel +%defattr(-,root,root) +%{_bindir}/dgawk %{_bindir}/pgawk* + +%files extras +%defattr(-,root,root) +%{_bindir}/igawk %{_libdir}/awk /usr/share/awk -%changelog