summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-12-19 09:46:15 +0100
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-12-24 14:17:07 +0100
commit770e3e71df4071efcb5189dec520af2b716d091e (patch)
tree111116c353024dc0a666eecee45b9e46a78257e8
parenteb7ca6d457b27544ce9ea37782450d9656569b1e (diff)
downloadgawk-accepted/tizen_ivi.tar.gz
gawk-accepted/tizen_ivi.tar.bz2
gawk-accepted/tizen_ivi.zip
Also improve the spec file. Bug-Tizen: TC-1819 Change-Id: I06ce5b78012d7efcef7ff75257b5a8d624afbd44 Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
-rw-r--r--packaging/gawk.spec27
1 files changed, 12 insertions, 15 deletions
diff --git a/packaging/gawk.spec b/packaging/gawk.spec
index 16ac2cd9..74cb932e 100644
--- a/packaging/gawk.spec
+++ b/packaging/gawk.spec
@@ -3,13 +3,13 @@ Url: http://www.gnu.org/software/gawk/
Provides: awk
BuildRequires: automake
BuildRequires: makeinfo
-Version: 4.0.1
+Version: 4.1.1
Release: 0
Summary: GNU awk
License: GPL-3.0+
Group: Base/Utilities
Source: gawk-%{version}.tar.bz2
-Source1001: gawk.manifest
+Source1001: gawk.manifest
# Temporary
Provides: /bin/awk
@@ -39,27 +39,25 @@ 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} .
-chmod -x COPYING
-# force rebuild with non-broken makeinfo
-rm -f doc/*.info
%build
AUTOPOINT=true autoreconf --force --install
%configure --libexecdir=%{_libdir} --disable-nls
%if %do_profiling
- make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS %cflags_profile_generate"
- make check
- make clean
- make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS %cflags_profile_feedback"
+ %__make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS %cflags_profile_generate"
+ %__make check
+ %__make clean
+ %__make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS %cflags_profile_feedback"
%else
- make %{?_smp_mflags}
+ %__make %{?_smp_mflags}
%endif
%check
-make check
+%__make check
%install
%make_install
@@ -73,15 +71,14 @@ make check
%license COPYING
%{_bindir}/awk
%{_bindir}/gawk*
+%{_libdir}/gawk/*.so
%files devel
%defattr(-,root,root)
-%{_bindir}/dgawk
-%{_bindir}/pgawk*
+%{_includedir}/gawkapi.h
%files extras
%defattr(-,root,root)
%{_bindir}/igawk
%{_libdir}/awk
-/usr/share/awk
-
+%{_datadir}/awk