From a8df67d2d809a55c9335337cebe42fe785714308 Mon Sep 17 00:00:00 2001 From: Jacek Bukarewicz Date: Fri, 6 Sep 2013 14:48:02 +0200 Subject: [PATCH] Introduced -devel and -extras subpackages for gawk Also moved package to Base/Utilities group so rpmlint doesn't complain Change-Id: Ic09064001561b3a7accb4e43a5b9c0122efe5b53 --- packaging/gawk.changes | 4 ++++ packaging/gawk.spec | 33 +++++++++++++++++++++++++++++---- 2 files changed, 33 insertions(+), 4 deletions(-) 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 -- 2.7.4