OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web Date: 23-Jul-2003 21:19:55
Branch: HEAD Handle: 2003072320195401
Modified files:
openpkg-src/m4 m4.spec
openpkg-web news.txt
Log:
cleanup packaging
Summary:
Revision Changes Path
1.24 +19 -9 openpkg-src/m4/m4.spec
1.5770 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/m4/m4.spec
============================================================================
$ cvs diff -u -r1.23 -r1.24 m4.spec
--- openpkg-src/m4/m4.spec 8 Jul 2003 14:40:47 -0000 1.23
+++ openpkg-src/m4/m4.spec 23 Jul 2003 19:19:55 -0000 1.24
@@ -33,7 +33,7 @@
Group: Language
License: GPL
Version: 1.4o
-Release: 20030707
+Release: 20030723
# list of sources
Source0: ftp://ftp.seindal.dk/pub/rene/gnu/m4-%{version}.tar.gz
@@ -48,12 +48,11 @@
AutoReqProv: no
%description
- GNU m4 is an implementation of the traditional UNIX macro processor. It is
- mostly SVR4 compatible, although it has some extensions (for example,
- handling more than 9 positional parameters to macros). m4 also has builtin
- functions for including files, running shell commands, doing arithmetic,
- etc. Autoconf needs GNU m4 for generating `configure' scripts, but not
- for running them.
+ GNU m4 is an implementation of the traditional UNIX macro processor.
+ It is mostly SVR4 compatible, although it has some extensions (for
+ example, handling more than 9 positional parameters to macros).
+ m4 also has builtin functions for including files, running shell
+ commands, doing arithmetic, etc.
%prep
%setup -q
@@ -62,23 +61,34 @@
doc/Makefile.in
%build
+ # configure package
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
./configure \
--prefix=%{l_prefix} \
--disable-nls
+
+ # build package
%{l_make} %{l_mflags}
%install
rm -rf $RPM_BUILD_ROOT
+
+ # install package
%{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
%{l_shtool} install -c -m 644 \
%{SOURCE m4.1} \
$RPM_BUILD_ROOT%{l_prefix}/man/man1/
+ ln $RPM_BUILD_ROOT%{l_prefix}/bin/m4 \
+ $RPM_BUILD_ROOT%{l_prefix}/bin/gm4
+ ln $RPM_BUILD_ROOT%{l_prefix}/man/man1/m4.1 \
+ $RPM_BUILD_ROOT%{l_prefix}/man/man1/gm4.1
+
+ # strip down installation
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir
- ln $RPM_BUILD_ROOT%{l_prefix}/bin/m4 $RPM_BUILD_ROOT%{l_prefix}/bin/gm4
- ln $RPM_BUILD_ROOT%{l_prefix}/man/man1/m4.1
$RPM_BUILD_ROOT%{l_prefix}/man/man1/gm4.1
+
+ # determine installation files
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.5769 -r1.5770 news.txt
--- openpkg-web/news.txt 23 Jul 2003 19:16:54 -0000 1.5769
+++ openpkg-web/news.txt 23 Jul 2003 19:19:54 -0000 1.5770
@@ -1,3 +1,4 @@
+23-Jul-2003: Upgraded package: P<m4-1.4o-20030723>
23-Jul-2003: Upgraded package: P<libtool-1.5-20030723>
23-Jul-2003: Upgraded package: P<gzip-1.3.5-20030723>
23-Jul-2003: Upgraded package: P<cvs-1.12.1-20030723>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]