SPECS: ApacheJServ.spec - doc subpackage

glen glen at pld-linux.org
Fri Aug 19 18:12:29 CEST 2005


Author: glen                         Date: Fri Aug 19 16:12:29 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- doc subpackage

---- Files affected:
SPECS:
   ApacheJServ.spec (1.36 -> 1.37) 

---- Diffs:

================================================================
Index: SPECS/ApacheJServ.spec
diff -u SPECS/ApacheJServ.spec:1.36 SPECS/ApacheJServ.spec:1.37
--- SPECS/ApacheJServ.spec:1.36	Fri Aug 19 17:26:00 2005
+++ SPECS/ApacheJServ.spec	Fri Aug 19 18:12:22 2005
@@ -8,7 +8,7 @@
 Summary(pl):	Silnik serwletów ze wsparciem dla wiodącego serwera WWW
 Name:		ApacheJServ
 Version:	1.1.2
-Release:	0.1
+Release:	0.4
 License:	freely distributable & usable (JServ), LGPL (JSDK)
 Group:		Networking/Daemons
 Source0:	http://java.apache.org/jserv/dist/%{name}-%{version}.tar.gz
@@ -47,6 +47,7 @@
 %define		logdir		/var/log/httpd
 %define		servletdir	%{_datadir}/jserv/servlets
 %define		classesdir	%{_datadir}/jserv/classes
+%define		_noautocompressdoc  package-list
 
 %description
 Apache JServ is a servlet engine, developed by the Java Apache Project
@@ -67,6 +68,13 @@
 (na licencji LGPL) napisana przez Paula Siegmanna
 <http://www.euronet.nl/~pauls/java/servlet/>
 
+%package doc
+Summary:	ApacheJServ documentation
+Group:		Development/Languages/Java
+
+%description doc
+ApacheJserv documentation.
+
 %prep
 %setup -q -a1
 %patch0 -p0
@@ -151,7 +159,7 @@
 install classpathx_servlet-%{jsdkversion}/servlet-2.0.jar $RPM_BUILD_ROOT%{classesdir}
 
 find jsdk-doc -name 'Makefile*' | xargs rm -f
-rm -rf jsdk-doc/{COPYING.LIB,CVS}
+rm -rf jsdk-doc/{COPYING.LIB,CVS} jsdk-doc/apidoc/CVS
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -359,7 +367,7 @@
 %files
 %defattr(644,root,root,755)
 # mmh, we can't give %{_prefix}/docs to %doc ..
-%doc index.html LICENSE README docs jsdk-doc
+%doc LICENSE README
 
 %dir %{jservconf}
 %config(noreplace) %verify(not md5 mtime size) %{jservconf}/jserv.properties
@@ -395,12 +403,19 @@
 # we need to have write access here
 %attr(770,root,http) %dir %{logdir}
 
+%files doc
+%doc index.html docs
+%doc jsdk-doc
+
 %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.37  2005/08/19 16:12:22  glen
+- doc subpackage
+
 Revision 1.36  2005/08/19 15:26:00  glen
 - compiles, dirty, needs more work
 
================================================================

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




More information about the pld-cvs-commit mailing list