SPECS: gawk.spec - created -devel
glen
glen at pld-linux.org
Fri Mar 24 23:54:27 CET 2006
Author: glen Date: Fri Mar 24 22:54:27 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- created -devel
---- Files affected:
SPECS:
gawk.spec (1.85 -> 1.86)
---- Diffs:
================================================================
Index: SPECS/gawk.spec
diff -u SPECS/gawk.spec:1.85 SPECS/gawk.spec:1.86
--- SPECS/gawk.spec:1.85 Tue Aug 16 22:52:12 2005
+++ SPECS/gawk.spec Fri Mar 24 23:54:22 2006
@@ -11,7 +11,7 @@
Summary(uk): GNU ×ĹŇÓŚŃ ŐÔÉĚŚÔÉ ĎÂŇĎÂËÉ ÔĹËÓÔŚ× awk
Name: gawk
Version: 3.1.5
-Release: 1
+Release: 1.1
License: GPL
Group: Applications/Text
Source0: ftp://ftp.gnu.org/gnu/gawk/%{name}-%{version}.tar.bz2
@@ -23,13 +23,15 @@
Patch2: %{name}-pl.po-update.patch
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1:1.7
-BuildRequires: texinfo >= 4.3
BuildRequires: gettext-devel >= 0.14.4
+BuildRequires: texinfo >= 4.3
Requires: mktemp
Requires: sed
Obsoletes: gawk-doc
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _includedir %{_prefix}/include/awk
+
%description
The gawk packages contains the GNU version of awk, a text processing
utility. Awk interprets a special-purpose programming language to do
@@ -97,6 +99,13 @@
ÔĹËÓÔŚ×. Gawk ÍÁ¤ ÂŐÔÉ ÓŐÍŚÓÎÉÍ Ú ×ĹŇÓŚ¤Ŕ awk ×ŚÄ Bell Labs Ś
ĐŇÁËÔÉŢÎĎ ĐĎ×ÎŚÓÔŔ ׌ÄĐĎ׌ÄÁ¤ ÓÔÁÎÄÁŇÔŐ 1993 POSIX 1003.2 ÎÁ awk.
+%package devel
+Summary: Header files for gawk
+Group: Development/Libraries
+
+%description devel
+This is the package containing the header files for gawk.
+
%prep
%setup -q
%patch0 -p1
@@ -113,7 +122,7 @@
%{__automake}
%configure
-%{__make}
+%{__make} -j1
%install
rm -rf $RPM_BUILD_ROOT
@@ -121,9 +130,13 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT%{_bindir}/gawk-%{version}
+install -d $RPM_BUILD_ROOT%{_includedir}
+install *.h $RPM_BUILD_ROOT%{_includedir}
bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
+rm -f $RPM_BUILD_ROOT%{_bindir}/gawk-%{version}
+rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
+rm -f $RPM_BUILD_ROOT%{_mandir}/README.gawk-non-english-man-pages
%find_lang %{name}
@@ -153,12 +166,19 @@
%attr(755,root,root) %{_libdir}/awk
%{_datadir}/awk
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.86 2006/03/24 22:54:22 glen
+- created -devel
+
Revision 1.85 2005/08/16 20:52:12 qboosh
- updated to 3.1.5
- removed obsolete pmake,it_po,gettext-m4 patches, added pl.po-update patch
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/gawk.spec?r1=1.85&r2=1.86&f=u
More information about the pld-cvs-commit
mailing list