swfdec-gnome-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. Summary: Programs to integrate Flash into the GNOME desktop
  2. Summary(ja): Flash を GNOME デスクトップに統合するためのプログラム
  3. Name: swfdec-gnome
  4. Version: 2.30.1
  5. Release: 2%{?_dist_release}
  6. Group: Applications/Internet
  7. License: GPLv2+
  8. URL: http://swfdec.freedesktop.org/
  9. Source0: http://swfdec.freedesktop.org/download/%{name}/2.30/%{name}-%{version}.tar.bz2
  10. Patch1: swfdec-gnome-2.26.0-swfdec-0.9.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildRequires: gtk2-devel >= 2.14.0
  13. BuildRequires: swfdec-gtk-devel >= 0.9.2
  14. BuildRequires: GConf2
  15. BuildRequires: desktop-file-utils
  16. BuildRequires: gettext
  17. BuildRequires: perl(XML::Parser)
  18. Requires(pre): GConf2
  19. Requires(post): GConf2
  20. Requires(preun): GConf2
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. %description
  24. This package contains programs to integrate Flash functionality into the GNOME
  25. desktop. It's main application is swfdec-player, a stand-alone viewer for
  26. Flash files. It also contains swfdec-thumbnailer, a program that provides
  27. screenshots for files to display in the Nautilus file manager
  28. %prep
  29. %setup -q
  30. %patch1 -p1
  31. %build
  32. %configure
  33. make %{?_smp_mflags}
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. make DESTDIR=$RPM_BUILD_ROOT install INSTALL='install -p'
  37. %find_lang %{name}
  38. desktop-file-install --vendor "fedora" --delete-original \
  39. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  40. $RPM_BUILD_ROOT%{_datadir}/applications/swfdec-player.desktop
  41. %clean
  42. rm -rf $RPM_BUILD_ROOT
  43. %pre
  44. if [ "$1" -gt 1 ]; then
  45. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  46. gconftool-2 --makefile-uninstall-rule \
  47. %{_sysconfdir}/gconf/schemas/swfdec-thumbnailer.schemas >/dev/null || :
  48. fi
  49. %post
  50. update-desktop-database &> /dev/null || :
  51. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  52. gconftool-2 --makefile-install-rule \
  53. %{_sysconfdir}/gconf/schemas/swfdec-thumbnailer.schemas > /dev/null || :
  54. touch --no-create %{_datadir}/icons/hicolor || :
  55. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  56. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  57. fi
  58. %postun
  59. update-desktop-database &> /dev/null || :
  60. touch --no-create %{_datadir}/icons/hicolor || :
  61. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  62. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  63. fi
  64. %preun
  65. if [ "$1" -eq 0 ]; then
  66. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  67. gconftool-2 --makefile-uninstall-rule \
  68. %{_sysconfdir}/gconf/schemas/swfdec-thumbnailer.schemas > /dev/null || :
  69. fi
  70. %files -f %{name}.lang
  71. %defattr(-,root,root,-)
  72. %doc COPYING AUTHORS NEWS README
  73. %{_bindir}/swfdec-player
  74. %{_bindir}/swfdec-thumbnailer
  75. %{_sysconfdir}/gconf/schemas/swfdec-thumbnailer.schemas
  76. %{_datadir}/applications/fedora-swfdec-player.desktop
  77. %{_datadir}/%{name}/
  78. %{_mandir}/man1/swfdec*.1.gz
  79. %{_datadir}/icons/hicolor/*/apps/%{name}.png
  80. %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
  81. %changelog
  82. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-2
  83. - rebuild with VineSeed environment
  84. * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  85. - new upstream release
  86. * Wed Apr 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  87. - new upstream release
  88. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  89. - new upstream release
  90. - add patch1 to build with swfdec-0.9
  91. * Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  92. - initial build for Vine Linux
  93. * Mon Sep 8 2008 Brian Pepple <bpepple@fedoraproject.org> - 2.23.4-1
  94. - Update to 2.23.4.
  95. * Wed Jul 30 2008 Brian Pepple <bpepple@fedoraproject.org> - 2.23.2-1
  96. - Update to 2.23.2.
  97. - Drop configure patch. Fixed upstream.
  98. * Wed Jul 09 2008 Nikolay Vladimirov <nikolay@vladimiroff.com> - 2.22.2-1
  99. - Update to 2.22.2
  100. - Add patch to build with swfdec-0.7.*
  101. * Fri Jun 27 2008 Brian Pepple <bpepple@fedoraproject.org> - 2.22.0-2
  102. - Rebuild for new swfdec.
  103. * Sat Mar 15 2008 Matthias Clasen <mclasen@redhat.com> - 2.22.0-1
  104. - Update to 2.22.0
  105. * Sun Feb 24 2008 Brian Pepple <bpepple@fedoraproject.org> - 2.21.91-1
  106. - Update to 2.21.91.
  107. * Wed Feb 20 2008 Brian Pepple <bpepple@fedoraproject.org> - 2.21.90-3
  108. - Rebuild for new swfdec.
  109. * Fri Feb 8 2008 Brian Pepple <bpepple@fedoraproject.org> - 2.21.90-2
  110. - Rebuild for gcc-4.3.
  111. * Tue Jan 29 2008 Brian Pepple <bpepple@fedoraproject.org> - 2.21.90-1
  112. - Update to 2.21.90.
  113. - Add man pages.
  114. - Update version of swfdec needed.
  115. * Wed Dec 19 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.5-2
  116. - Rebuild for pulse audio enable swfdec.
  117. * Mon Dec 17 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.5-1
  118. - Update to 0.5.5.
  119. * Tue Nov 20 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.4-2
  120. - Add scriptlet to update desktop-database.
  121. - Add vendor to desktop file, even though it's not really necessary.
  122. * Thu Nov 15 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.4-1
  123. - Intial Fedora spec.