summaryrefslogtreecommitdiff
path: root/packaging/gawk.spec
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-09-09 02:21:00 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-09-09 02:21:00 +0900
commit4749f5b1a2c5c7e777e78179957fcfec74de0fd4 (patch)
tree7afa6469fd94b9aa4ad2618c22d6804a71e96e24 /packaging/gawk.spec
parent978e136b720bbb6113df5ac173599211200174c3 (diff)
downloadgawk-tizen_2.3.1.tar.gz
gawk-tizen_2.3.1.tar.bz2
gawk-tizen_2.3.1.zip
Diffstat (limited to 'packaging/gawk.spec')
-rw-r--r--packaging/gawk.spec14
1 files changed, 10 insertions, 4 deletions
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
-
-