summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-06-15 20:48:51 +0100
committerAnas Nashif <anas.nashif@intel.com>2012-06-15 22:46:43 +0100
commit978e136b720bbb6113df5ac173599211200174c3 (patch)
treecbbc9ba616e73d010c6322391ff06f677373bad9
parent8a622dac05a47a5523391336099631c70a6b6975 (diff)
downloadgawk-978e136b720bbb6113df5ac173599211200174c3.tar.gz
gawk-978e136b720bbb6113df5ac173599211200174c3.tar.bz2
gawk-978e136b720bbb6113df5ac173599211200174c3.zip
remove obsolete yaml filesHEAD2.0_alphamaster2.0alpha1.0_post
Change-Id: Iea7244ffec1bc0661620adde411bfab1421685cf
-rw-r--r--packaging/Makefile6
-rw-r--r--packaging/gawk.changes11
-rw-r--r--packaging/gawk.spec100
-rw-r--r--packaging/gawk.yaml45
4 files changed, 43 insertions, 119 deletions
diff --git a/packaging/Makefile b/packaging/Makefile
deleted file mode 100644
index 4b92028..0000000
--- a/packaging/Makefile
+++ /dev/null
@@ -1,6 +0,0 @@
-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
index e69de29..3ee2fb3 100644
--- a/packaging/gawk.changes
+++ b/packaging/gawk.changes
@@ -0,0 +1,11 @@
+* 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.spec b/packaging/gawk.spec
index d7a2585..f583310 100644
--- a/packaging/gawk.spec
+++ b/packaging/gawk.spec
@@ -1,37 +1,27 @@
-#
-# Do not Edit! Generated by:
-# spectacle version 0.18
-#
-# >> macros
-# << macros
-
-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
-Source0: ftp://ftp.gnu.org/gnu/gawk/gawk-%{version}.tar.bz2
-Source100: gawk.yaml
-Source1001: packaging/gawk.manifest
-Patch0: gawk-3.1.3-getpgrp_void.patch
-Patch1: gawk-3.1.5-free.patch
-Patch2: gawk-3.1.5-fieldwidths.patch
-Patch3: gawk-3.1.5-binmode.patch
-Patch4: gawk-3.1.5-num2str.patch
-Patch5: gawk-3.1.5-wconcat.patch
-Patch6: gawk-3.1.5-internal.patch
-Patch7: gawk-3.1.5-syntaxerror.patch
-Patch8: gawk-3.1.5-numflags.patch
-Patch9: gawk-3.1.5-ipv6.patch
-Patch10: gawk-3.1.5-freewstr.patch
-Patch11: gawk-3.1.5-mbread.patch
-Requires: /bin/mktemp
-BuildRequires: flex
+Name: gawk
+Version: 3.1.5
+Release: 1
+License: GPL-2.0+
+Summary: The GNU version of the awk text processing utility
+Url: http://www.gnu.org/software/gawk/gawk.html
+Group: Applications/Text
+Source0: ftp://ftp.gnu.org/gnu/gawk/gawk-%{version}.tar.bz2
+Source1001: packaging/gawk.manifest
+Patch0: gawk-3.1.3-getpgrp_void.patch
+Patch1: gawk-3.1.5-free.patch
+Patch2: gawk-3.1.5-fieldwidths.patch
+Patch3: gawk-3.1.5-binmode.patch
+Patch4: gawk-3.1.5-num2str.patch
+Patch5: gawk-3.1.5-wconcat.patch
+Patch6: gawk-3.1.5-internal.patch
+Patch7: gawk-3.1.5-syntaxerror.patch
+Patch8: gawk-3.1.5-numflags.patch
+Patch9: gawk-3.1.5-ipv6.patch
+Patch10: gawk-3.1.5-freewstr.patch
+Patch11: gawk-3.1.5-mbread.patch
BuildRequires: bison
-
+BuildRequires: flex
+Requires: /bin/mktemp
%description
The gawk package contains the GNU version of awk, a text processing
@@ -41,11 +31,8 @@ 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.
-
-
-
%prep
-%setup -q -n %{name}-%{version}
+%setup -q
# gawk-3.1.3-getpgrp_void.patch
%patch0 -p1
@@ -71,55 +58,32 @@ considered to be a standard Linux tool for processing text.
%patch10 -p1
# gawk-3.1.5-mbread.patch
%patch11 -p1
-# >> setup
-# << setup
%build
cp %{SOURCE1001} .
-# >> build pre
-# << build pre
-%configure --disable-static \
- --bindir=/bin
+%configure --bindir=/bin --disable-nls
-make %{?jobs:-j%jobs}
+make %{?_smp_mflags}
-# >> build post
-# << build post
%install
-rm -rf %{buildroot}
-# >> install pre
-# << install pre
-%make_install
+%make_install
-# >> install post
chmod a-x COPYING
-mkdir -p $RPM_BUILD_ROOT/usr/bin
-pushd $RPM_BUILD_ROOT/usr/bin
+mkdir -p %{buildroot}%{_prefix}/bin
+pushd %{buildroot}%{_prefix}/bin
ln -s ../../bin/gawk awk
ln -s ../../bin/gawk gawk
popd
-# << install post
-%find_lang gawk
-
-
-
-
+%remove_docs
-%files -f gawk.lang
+%files
%manifest gawk.manifest
-%defattr(-,root,root,-)
-# >> files
-%doc FUTURES LIMITATIONS NEWS POSIX.STD README README_d/README.multibyte README_d/README.tests
%doc COPYING
-%doc %{_mandir}/man1/*
-%doc %{_infodir}/gawk.info*
-%doc %{_infodir}/gawkinet.info*
/bin/*
-/usr/bin/*
+%{_bindir}/*
%{_libexecdir}/awk
%{_datadir}/awk
-# << files
diff --git a/packaging/gawk.yaml b/packaging/gawk.yaml
deleted file mode 100644
index 8ab013a..0000000
--- a/packaging/gawk.yaml
+++ /dev/null
@@ -1,45 +0,0 @@
-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