Introduced -devel and -extras subpackages for gawk
authorJacek Bukarewicz <j.bukarewicz@samsung.com>
Fri, 6 Sep 2013 12:48:02 +0000 (14:48 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Tue, 4 Nov 2014 15:11:11 +0000 (16:11 +0100)
Also moved package to Base/Utilities group so rpmlint doesn't complain

Change-Id: Ic09064001561b3a7accb4e43a5b9c0122efe5b53

packaging/gawk.changes
packaging/gawk.spec

index 4ef9528..dcea945 100644 (file)
@@ -1,3 +1,7 @@
+* Fri Sep 06 2013 Jacek Bukarewicz <j.bukarewicz@samsung.com> accepted/tizen/20130710.220613@ae5a523
+- Add -devel and -extras gawk subpackages
+- Moved package to Base/Utilities group
+
 * Mon Mar 18 2013 Anas Nashif <anas.nashif@intel.com> submit/trunk/20130222.013012@6c19cd8
 - Fixed package group
 
index e16f94d..16ac2cd 100644 (file)
@@ -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