rpms/gnash/devel gnash.spec,1.9,1.10

Patrice Dumas (pertusus) fedora-extras-commits at redhat.com
Fri Sep 7 06:45:19 UTC 2007


Author: pertusus

Update of /cvs/extras/rpms/gnash/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9438

Modified Files:
	gnash.spec 
Log Message:
* Fri Sep  7 2007 Patrice Dumas <pertusus at free.fr> 0.8.1-3
- better documentation generation



Index: gnash.spec
===================================================================
RCS file: /cvs/extras/rpms/gnash/devel/gnash.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- gnash.spec	6 Sep 2007 14:46:22 -0000	1.9
+++ gnash.spec	7 Sep 2007 06:44:43 -0000	1.10
@@ -1,6 +1,6 @@
 Name:           gnash
 Version:        0.8.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        GNU flash movie player
 
 Group:          Applications/Multimedia
@@ -80,6 +80,18 @@
 #doesn't work currently: %%{?_smp_mflags}
 make 
 
+# texinfo and therefore info generation is broken, still we have the
+# code to regenerate them
+pushd doc/C
+rm gnash.html gnash.1 gnash.info gnash.texi actionscript.html \
+   actionscript.info actionscript.texi
+make man html info
+pushd asspec
+rm asspec.info asspec.html asspec.texi
+make html info
+popd
+popd
+
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -111,6 +123,8 @@
 #rm \
 # $RPM_BUILD_ROOT%{_bindir}/cygnal
 
+# cp -p doc/C/actionscript.info $RPM_BUILD_ROOT%{_infodir}/
+
 %find_lang %{name}
 
 %clean
@@ -119,14 +133,17 @@
 
 %post 
 /sbin/ldconfig
-# currently help system is broken
 scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
-scrollkeeper-update -q -o %{_datadir}/omf/asspec || :
+# the info is empty, but doesn't hurt
 /sbin/install-info --entry="* Gnash: (gnash). GNU Flash Player" %{_infodir}/%{name}.info %{_infodir}/dir || :
+#/sbin/install-info %{_infodir}/asspec.info %{_infodir}/dir || :
+#/sbin/install-info %{_infodir}/actionscript.info %{_infodir}/dir || :
 
 %preun
 if [ $1 = 0 ]; then
     /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
+    #/sbin/install-info --delete %{_infodir}/asspec.info %{_infodir}/dir || :
+    #/sbin/install-info --delete %{_infodir}/actionscript.info %{_infodir}/dir || :
 fi
 
 %postun
@@ -136,7 +153,7 @@
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc README AUTHORS COPYING NEWS 
-%doc doc/C/gnash.html 
+%doc doc/C/gnash.html doc/C/actionscript.html doc/C/asspec/asspec.html
 %doc doc/C/images
 %{_bindir}/gtk-gnash
 %{_bindir}/gnash
@@ -167,6 +184,9 @@
 #%{_bindir}/cygnal
 
 %changelog
+* Fri Sep  7 2007 Patrice Dumas <pertusus at free.fr> 0.8.1-3
+- better documentation generation
+
 * Wed Sep  5 2007 Patrice Dumas <pertusus at free.fr> 0.8.1-2
 - update to 0.8.1
 - agg is now the default renderer




More information about the scm-commits mailing list