rpms/gnash/F-7 gnash.spec,1.7,1.8

Patrice Dumas (pertusus) fedora-extras-commits at redhat.com
Thu Sep 20 21:35:54 UTC 2007


Author: pertusus

Update of /cvs/extras/rpms/gnash/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16125

Modified Files:
	gnash.spec 
Log Message:
* Thu Sep 20 2007 Patrice Dumas <pertusus at free.fr> 0.8.1-5
- info files are empty, don't install them

* Thu Sep 20 2007 Patrice Dumas <pertusus at free.fr> 0.8.1-4
- omf/scrollkeeper doc is broken, remove it

* 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/F-7/gnash.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- gnash.spec	6 Sep 2007 15:57:50 -0000	1.7
+++ gnash.spec	20 Sep 2007 21:35:21 -0000	1.8
@@ -1,6 +1,6 @@
 Name:           gnash
 Version:        0.8.1
-Release:        2%{?dist}
+Release:        5%{?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
@@ -101,16 +113,19 @@
  $RPM_BUILD_ROOT%{_libdir}/gnash/libltdl*
 rm \
  $RPM_BUILD_ROOT%{_includedir}/ltdl.h
-# asspec info isn't generated rightly
-rm \
- $RPM_BUILD_ROOT%{_infodir}/asspec.info
-# omf was broken
-#rm -rf \
-# $RPM_BUILD_ROOT%{_datadir}/omf
+# info isn't generated rightly
+rm -rf \
+ $RPM_BUILD_ROOT%{_infodir}/
+# omf/scrollkeeper related files are broken, some files are missing, and
+# omf files are wrong
+rm -rf \
+ $RPM_BUILD_ROOT%{_datadir}/omf
 # cygnal just segfaults
 #rm \
 # $RPM_BUILD_ROOT%{_bindir}/cygnal
 
+# cp -p doc/C/actionscript.info $RPM_BUILD_ROOT%{_infodir}/
+
 %find_lang %{name}
 
 %clean
@@ -119,15 +134,18 @@
 
 %post 
 /sbin/ldconfig
-# currently help system is broken
-scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
-scrollkeeper-update -q -o %{_datadir}/omf/asspec || :
-/sbin/install-info --entry="* Gnash: (gnash). GNU Flash Player" %{_infodir}/%{name}.info %{_infodir}/dir || :
+#scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
+# 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 || :
-fi
+#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
 /sbin/ldconfig
@@ -136,7 +154,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
@@ -146,9 +164,9 @@
 #%{_libdir}/libgnash*-*.so
 #%{_libdir}/libklash*-*.so
 %{_mandir}/man1/gnash*
-%{_infodir}/gnash*
+#%{_infodir}/gnash*
 %{_datadir}/gnash/
-%{_datadir}/omf/gnash/
+#%{_datadir}/omf/gnash/
 
 %files plugin
 %defattr(-,root,root,-)
@@ -167,6 +185,15 @@
 #%{_bindir}/cygnal
 
 %changelog
+* Thu Sep 20 2007 Patrice Dumas <pertusus at free.fr> 0.8.1-5
+- info files are empty, don't install them
+
+* Thu Sep 20 2007 Patrice Dumas <pertusus at free.fr> 0.8.1-4
+- omf/scrollkeeper doc is broken, remove it
+
+* 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 fedora-extras-commits mailing list