diff options
author | jk7744.park <jk7744.park@samsung.com> | 2015-09-09 02:21:00 +0900 |
---|---|---|
committer | jk7744.park <jk7744.park@samsung.com> | 2015-09-09 02:21:00 +0900 |
commit | 4749f5b1a2c5c7e777e78179957fcfec74de0fd4 (patch) | |
tree | 7afa6469fd94b9aa4ad2618c22d6804a71e96e24 | |
parent | 978e136b720bbb6113df5ac173599211200174c3 (diff) | |
download | gawk-tizen_2.3.1.tar.gz gawk-tizen_2.3.1.tar.bz2 gawk-tizen_2.3.1.zip |
tizen 2.3.1 releasetizen_2.3.1_releasesubmit/tizen_2.3.1/20150915.095437tizen_2.3.1
-rw-r--r-- | packaging/Makefile | 6 | ||||
-rw-r--r-- | packaging/gawk.changes | 11 | ||||
-rw-r--r-- | packaging/gawk.manifest | 9 | ||||
-rw-r--r-- | packaging/gawk.spec | 14 | ||||
-rw-r--r-- | packaging/gawk.yaml | 45 |
5 files changed, 68 insertions, 17 deletions
diff --git a/packaging/Makefile b/packaging/Makefile new file mode 100644 index 0000000..4b92028 --- /dev/null +++ b/packaging/Makefile @@ -0,0 +1,6 @@ +PKG_NAME := gawk +SPECFILE = $(addsuffix .spec, $(PKG_NAME)) +YAMLFILE = $(addsuffix .yaml, $(PKG_NAME)) + +include /usr/share/packaging-tools/Makefile.common + diff --git a/packaging/gawk.changes b/packaging/gawk.changes deleted file mode 100644 index 3ee2fb3..0000000 --- a/packaging/gawk.changes +++ /dev/null @@ -1,11 +0,0 @@ -* Fri Jun 15 2012 Anas Nashif <anas.nashif@intel.com> 2204cdb -- remove obsolete yaml files - -* Wed May 30 2012 Ryan Ware <ryan.r.ware@intel.com> 8a622da -- Add default Smack manifest for gawk.spec - -* Mon May 21 2012 Kim Kibum <kb0929.kim@samsung.com> 4a2c24a -- Upload Tizen:Base source -[ Hyesook Choi ] -- Initial empty repository - diff --git a/packaging/gawk.manifest b/packaging/gawk.manifest index 017d22d..8df8af7 100644 --- a/packaging/gawk.manifest +++ b/packaging/gawk.manifest @@ -1,5 +1,10 @@ <manifest> - <request> + <request> <domain name="_"/> - </request> + </request> + <assign> + <filesystem path="/bin/*" exec_label="none" /> + <filesystem path="/usr/libexec/awk/grcat" exec_label="none" /> + <filesystem path="/usr/libexec/awk/pwcat" exec_label="none" /> + </assign> </manifest> diff --git a/packaging/gawk.spec b/packaging/gawk.spec index f583310..8049a7a 100644 --- a/packaging/gawk.spec +++ b/packaging/gawk.spec @@ -62,7 +62,10 @@ considered to be a standard Linux tool for processing text. %build cp %{SOURCE1001} . -%configure --bindir=/bin --disable-nls +%configure \ + --bindir=/bin \ + --disable-man \ + --disable-nls make %{?_smp_mflags} @@ -76,14 +79,17 @@ ln -s ../../bin/gawk awk ln -s ../../bin/gawk gawk popd +mkdir -p %{buildroot}%{_datadir}/license +cat COPYING >> %{buildroot}%{_datadir}/license/%{name} + %remove_docs -%files +%files %manifest gawk.manifest %doc COPYING +%{_datadir}/license/%{name} /bin/* +%exclude /bin/pgawk* %{_bindir}/* %{_libexecdir}/awk %{_datadir}/awk - - diff --git a/packaging/gawk.yaml b/packaging/gawk.yaml new file mode 100644 index 0000000..8ab013a --- /dev/null +++ b/packaging/gawk.yaml @@ -0,0 +1,45 @@ +Name: gawk +Summary: The GNU version of the awk text processing utility +Version: 3.1.5 +Release: 1 +Epoch: 1 +Group: Applications/Text +License: GPLv2+ +URL: http://www.gnu.org/software/gawk/gawk.html +Sources: + - ftp://ftp.gnu.org/gnu/gawk/gawk-%{version}.tar.bz2 +Patches: + - gawk-3.1.3-getpgrp_void.patch + - gawk-3.1.5-free.patch + - gawk-3.1.5-fieldwidths.patch + - gawk-3.1.5-binmode.patch + - gawk-3.1.5-num2str.patch + - gawk-3.1.5-wconcat.patch + # fix internal names like /dev/user, /dev/pid, as well as /dev/fd/N + - gawk-3.1.5-internal.patch + # 194214 - gawk coredumps on syntax error + - gawk-3.1.5-syntaxerror.patch + # http://lists.gnu.org/archive/html/bug-gnu-utils/2006-07/msg00004.html + - gawk-3.1.5-numflags.patch + # IPv6 support + - gawk-3.1.5-ipv6.patch + # 222080 - double free or corruption + - gawk-3.1.5-freewstr.patch + # upstream patch - Invalid read of size 4 + - gawk-3.1.5-mbread.patch +Description: | + The gawk package contains the GNU version of awk, a text processing + utility. Awk interprets a special-purpose programming language to do + quick and easy text pattern matching and reformatting jobs. + + Install the gawk package if you need a text processing utility. Gawk is + considered to be a standard Linux tool for processing text. + +PkgBR: + - flex + - bison +Requires: + - /bin/mktemp +ConfigOptions: + - --bindir=/bin +LocaleName: gawk |