Introduced -devel and -extras subpackages for gawk 21/9821/1 accepted/tizen/ivi/genivi accepted/tizen/ivi/stable accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi accepted/tizen_generic accepted/tizen_ivi_panda sandbox/pcoval/previous/tizen tizen_3.0.2014.q3_common tizen_3.0.m14.2_ivi tizen_3.0.m14.3_ivi tizen_ivi_genivi accepted/tizen/generic/20140314.080253 accepted/tizen/ivi/20140314.011634 accepted/tizen/ivi/genivi/20140131.021428 accepted/tizen/ivi/panda/20140318.013721 accepted/tizen/mobile/20140702.064352 ivi_oct_m2 submit/tizen/20130906.103023 submit/tizen/20140314.000702 submit/tizen_ivi_genivi/20140131.021016 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.2_ivi_release tizen_3.0.m14.3_ivi_release
authorJacek Bukarewicz <j.bukarewicz@samsung.com>
Fri, 6 Sep 2013 12:48:02 +0000 (14:48 +0200)
committerJacek Bukarewicz <j.bukarewicz@samsung.com>
Fri, 6 Sep 2013 12:48:02 +0000 (14:48 +0200)
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