Also moved package to Base/Utilities group so rpmlint doesn't complain
Change-Id: Ic09064001561b3a7accb4e43a5b9c0122efe5b53
+* 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
Release: 0
Summary: GNU awk
License: GPL-3.0+
-Group: Base/Tools
+Group: Base/Utilities
Source: gawk-%{version}.tar.bz2
Source1001: gawk.manifest
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} .
%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