SPECS: flixengine.spec - separate -docs

glen glen at pld-linux.org
Thu Dec 28 19:04:19 CET 2006


Author: glen                         Date: Thu Dec 28 18:04:19 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- separate -docs

---- Files affected:
SPECS:
   flixengine.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: SPECS/flixengine.spec
diff -u SPECS/flixengine.spec:1.18 SPECS/flixengine.spec:1.19
--- SPECS/flixengine.spec:1.18	Thu Dec 28 18:50:26 2006
+++ SPECS/flixengine.spec	Thu Dec 28 19:04:13 2006
@@ -16,7 +16,7 @@
 Summary(pl):	Silnik On2 Flix
 Name:		flixengine
 Version:	8.0.7.1
-Release:	0.6
+Release:	0.7
 License:	not distributable
 Group:		Applications
 # download demo from http://flix.on2.com/demos/
@@ -152,6 +152,13 @@
 %description -n python-flixengine -l pl
 Wiązania Pythona dla silnika On2 Flix.
 
+%package docs
+Summary:	HTML Documentation for On2 Flix Engine
+Group:		Documentation
+
+%description docs
+HTML Documentation for On2 Flix Engine
+
 %prep
 %setup -q -n flix-engine-installer-linux-%{version}_DEMO
 bin=flix-engine-installer-linux-%{version}_DEMO.bin
@@ -291,6 +298,7 @@
 cd ..
 %endif
 
+rm -f $RPM_BUILD_ROOT%{_docdir}/on2/flixengine/javadoc
 %if %{with java}
 %{__make} -C flixjava \
 	SOINST=$RPM_BUILD_ROOT%{_libdir} \
@@ -345,9 +353,8 @@
 
 %files
 %defattr(644,root,root,755)
-%doc %{_docdir}/on2
 %doc doc/*
-%exclude %{_docdir}/on2/flixengine/javadoc
+%{?with_java:%exclude %{_docdir}/on2/flixengine/javadoc}
 %attr(755,root,root) %{_sbindir}/flixd
 %attr(755,root,root) %{_sbindir}/lget
 %attr(755,root,root) %{_sbindir}/on2_host_info
@@ -415,12 +422,19 @@
 %{_examplesdir}/%{name}-%{version}/python
 %endif
 
+%files docs
+%defattr(644,root,root,755)
+%doc %{_docdir}/on2
+
 %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.19  2006/12/28 18:04:13  glen
+- separate -docs
+
 Revision 1.18  2006/12/28 17:50:26  glen
 - fix flixengine2.php location
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/flixengine.spec?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list