rpms/pyvnc2swf/devel pyvnc2swf-play.desktop, NONE, 1.1 pyvnc2swf.spec, 1.9, 1.10

David Timms dtimms at fedoraproject.org
Tue Feb 23 12:38:24 UTC 2010


Author: dtimms

Update of /cvs/pkgs/rpms/pyvnc2swf/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28078

Modified Files:
	pyvnc2swf.spec 
Added Files:
	pyvnc2swf-play.desktop 
Log Message:
add nautilus swf open with menu item to run vnc2swf-play



--- NEW FILE pyvnc2swf-play.desktop ---
[Desktop Entry]
Type=Application
Name=vnc2swf Screen Recordings Player
Comment=Watch screen recording SWF file created with vnc2swf
Exec=vnc2swf-play %f
Icon=view-presentation
Terminal=false
MimeType=application/x-shockwave-flash;
NoDisplay=true
#refresh F5 nautilus to see changes to this file


Index: pyvnc2swf.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pyvnc2swf/devel/pyvnc2swf.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- pyvnc2swf.spec	23 Feb 2010 09:43:07 -0000	1.9
+++ pyvnc2swf.spec	23 Feb 2010 12:38:24 -0000	1.10
@@ -3,7 +3,7 @@
 Summary: VNC screen recorder
 Name:    pyvnc2swf
 Version: 0.9.5
-Release: 7%{?dist}
+Release: 8%{?dist}
 License: GPLv2+
 Group:   System Environment/Base
 URL:     http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf.html
@@ -13,6 +13,8 @@ Source0: http://www.unixuser.org/~euske/
 Source1: %{name}.png
 # This desktop file was created by hand.
 Source2: %{name}.desktop
+Source3: %{name}-play.desktop
+
 
 BuildArch: noarch
 BuildRequires: python
@@ -64,6 +66,8 @@ install -p -m 644 %{SOURCE1} \
 mkdir -p %{buildroot}%{_datadir}/applications
 desktop-file-install --vendor fedora \
     --dir %{buildroot}%{_datadir}/applications %{SOURCE2}
+desktop-file-install \
+    --dir=%{buildroot}%{_datadir}/applications %{SOURCE3}
 
 
 %clean
@@ -75,6 +79,7 @@ touch --no-create %{_datadir}/icons/hico
 if [ -x %{_bindir}/gtk-update-icon-cache ]; then
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
 fi
+update-desktop-database &> /dev/null || :
 
 
 %postun
@@ -82,6 +87,7 @@ touch --no-create %{_datadir}/icons/hico
 if [ -x %{_bindir}/gtk-update-icon-cache ]; then
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
 fi
+update-desktop-database &> /dev/null || :
 
 
 %files
@@ -91,12 +97,16 @@ fi
 %{_bindir}/vnc2swf*
 %{_bindir}/recordwin.sh
 %{_datadir}/applications/fedora-%{name}.desktop
+%{_datadir}/applications/%{name}-play.desktop
 %{_datadir}/icons/hicolor/*/apps/%{name}.png
 
 %exclude %{python_sitelib}/pyvnc2swf/Makefile
 
 
 %changelog
+* Tue Feb 23 2010 David Timms <iinet.net.au @ dtimms> 0.9.5-8
+- add nautilus swf open with menu item to run vnc2swf-play
+
 * Tue Feb 23 2010 David Timms <iinet.net.au @ dtimms> 0.9.5-7
 - undelete __init__.py from package; python paths use the empty file ;)
 - include play.py since it no longer requires pymedia



More information about the scm-commits mailing list