SPECS: ApacheJServ.spec - try new java build method - updated init...

glen glen at pld-linux.org
Mon Jan 8 12:04:09 CET 2007


Author: glen                         Date: Mon Jan  8 11:04:09 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- try new java build method
- updated initscript to run output logged to a file

---- Files affected:
SPECS:
   ApacheJServ.spec (1.53 -> 1.54) 

---- Diffs:

================================================================
Index: SPECS/ApacheJServ.spec
diff -u SPECS/ApacheJServ.spec:1.53 SPECS/ApacheJServ.spec:1.54
--- SPECS/ApacheJServ.spec:1.53	Wed May 24 13:07:40 2006
+++ SPECS/ApacheJServ.spec	Mon Jan  8 12:04:04 2007
@@ -12,7 +12,7 @@
 Summary(pl):	Silnik serwletów ze wsparciem dla wiodącego serwera WWW
 Name:		ApacheJServ
 Version:	1.1.2
-Release:	1
+Release:	1.1
 License:	freely distributable & usable (JServ), LGPL (JSDK)
 Group:		Networking/Daemons
 Source0:	http://java.apache.org/jserv/dist/%{name}-%{version}.tar.gz
@@ -22,6 +22,7 @@
 Source2:	%{name}.conf
 Source3:	%{name}.init
 Source4:	%{name}.sysconfig
+Source5:	runjserv
 Patch0:		%{name}-enable-secret.patch
 Patch1:		%{name}-ac.patch
 Patch2:		%{name}-jre-env.patch
@@ -125,6 +126,8 @@
 sed -i -e '/^SUBDIRS/s,example,,' Makefile.am
 
 %build
+export JAVA_HOME="%{java_home}"
+
 if [ ! -f _autotools.done.1 ]; then
 	%{__gettextize}
 	%{__libtoolize}
@@ -166,11 +169,12 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/{sysconfig,rc.d/init.d},%{httpdconf}/conf.d,%{_javadir}}
+install -d $RPM_BUILD_ROOT{/etc/{sysconfig,rc.d/init.d},%{httpdconf}/conf.d,%{_javadir},%{_sbindir}}
 
 install %{SOURCE2} $RPM_BUILD_ROOT%{httpdconf}/conf.d/80_mod_jserv.conf
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/jserv
 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/jserv
+install %{SOURCE5} $RPM_BUILD_ROOT%{_sbindir}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -282,6 +286,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.54  2007/01/08 11:04:04  glen
+- try new java build method
+- updated initscript to run output logged to a file
+
 Revision 1.53  2006/05/24 11:07:40  glen
 - drop non-cvs changelog
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ApacheJServ.spec?r1=1.53&r2=1.54&f=u



More information about the pld-cvs-commit mailing list