[gnash/gnash-git] Remove desktop and swf files from sources

Hicham HAOUARI hicham at fedoraproject.org
Wed Feb 16 19:53:18 UTC 2011


commit 1ca1bb027d933d83d0b15bc405035922bfef0bba
Author: Hicham HAOUARI <hicham.haouari at gmail.com>
Date:   Wed Feb 16 19:52:35 2011 +0000

    Remove desktop and swf files from sources

 0001-Add-desktop-files.patch |    4 ++--
 gnash-splash.swf             |  Bin 12799 -> 0 bytes
 gnash.desktop                |   11 -----------
 gnash.spec                   |   15 +++++++++------
 4 files changed, 11 insertions(+), 19 deletions(-)
---
diff --git a/0001-Add-desktop-files.patch b/0001-Add-desktop-files.patch
index a3bb691..41a75ff 100644
--- a/0001-Add-desktop-files.patch
+++ b/0001-Add-desktop-files.patch
@@ -444,10 +444,10 @@ index 0000000..f127335
 +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 +#
 +
-+if test "x\$1" = "x" -a -f @datadir@/gnash/gnash-splash.swf; then
++if test "x$1" = "x" -a -f @datadir@/gnash/gnash-splash.swf; then
 +  kde4-gnash @datadir@/gnash-splash.swf
 +else
-+  kde4-gnash "\$@"
++  kde4-gnash "$@"
 +fi
 -- 
 1.7.4
diff --git a/gnash.spec b/gnash.spec
index 1d25729..10563c8 100644
--- a/gnash.spec
+++ b/gnash.spec
@@ -1,5 +1,6 @@
 %define gitdate 20110214
-%filter_provides_in %{python_sitearch}/gtk-2.0/gnash.so
+%filter_provides_in %{python_sitearch}/.*\.so$ 
+%filter_setup
 
 Name:           gnash
 Version:        0.8.9
@@ -13,6 +14,7 @@ URL:            http://www.gnu.org/software/gnash/
 #Source0:        http://ftp.gnu.org/gnu/gnash/%{version}/%{name}-%{version}.tar.bz2
 Source0:        %{name}-%{version}-%{gitdate}git.tar.bz2
 
+# https://savannah.gnu.org/bugs/index.php?32504
 Patch0:         0001-Add-desktop-files.patch
 
 BuildRequires:  libxml2-devel libpng-devel libjpeg-devel libogg-devel
@@ -36,7 +38,7 @@ Requires(post): /sbin/install-info
 Requires(preun): /sbin/install-info
 
 %description
-Gnash is capable of reading up to SWF v9 files and opcodes, but primarily
+Gnash is capable of reading up to SWF v9 files and op-codes, but primarily
 supports SWF v7, with better SWF v8 and v9 support under heavy development.
 Gnash includes initial parser support for SWF v8 and v9. Not all 
 ActionScript 2 classes are implemented yet, but all of the most heavily 
@@ -51,7 +53,7 @@ Requires:  mozilla-filesystem%{?_isa} webclient
 Group:     Applications/Internet
 
 %description plugin
-The gnash flash movie player plugin for firefox or mozilla.
+The gnash flash movie player plugin for Firefox or Mozilla.
 
 %package klash
 Summary:   Konqueror flash movie player plugin
@@ -108,7 +110,8 @@ autoreconf -if
   --enable-gui=gtk,kde4,sdl,fb \
   --enable-hwaccel=none \
   --enable-renderer=all \
-  --with-plugins-install=system
+  --with-plugins-install=system \
+  --enable-doublebuf
 
 make %{?_smp_mflags}
 
@@ -186,6 +189,7 @@ touch --no-create %{_datadir}/icons/hicolor
 %{_mandir}/man1/findmicrophones.1*
 %{_mandir}/man1/findwebcams.1*
 %{_mandir}/man1/gtk-gnash.1*
+%{_mandir}/man1/rtmpget.1*
 %{_infodir}/gnash*
 %{_datadir}/gnash/
 %{_datadir}/icons/hicolor/32x32/apps/gnash.xpm
@@ -214,7 +218,6 @@ touch --no-create %{_datadir}/icons/hicolor
 %config(noreplace) %{_sysconfdir}/cygnalrc
 %{_bindir}/cygnal
 %{_mandir}/man1/cygnal.1*
-%{_mandir}/man1/rtmpget.1*
 %dir %{_libdir}/cygnal
 %{_libdir}/cygnal/plugins/*.so*
 
@@ -230,7 +233,7 @@ touch --no-create %{_datadir}/icons/hicolor
 %{python_sitearch}/gtk-2.0/gnash.so
 
 %changelog
-* Sun Jan 30 2011 Hicham HAOUARI <hicham.haouari at gmail.com> - 1:0.8.9-0.1.20110130git
+* Mon Feb 14 2011 Hicham HAOUARI <hicham.haouari at gmail.com> - 1:0.8.9-0.1.20110214git
 - Switch to 0.8.9 branch
 - Drop the curl patches
 - Explicitly disable testsuite ( we don't have the necessary deps )


More information about the scm-commits mailing list