swfdec-mozilla-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. Summary: Mozilla/Gecko player Flash plugin using swfdec
  2. Summary(ja): swfdec を利用した Mozilla/Gecko 用 Flash プラグイン
  3. Name: swfdec-mozilla
  4. Version: 0.9.2
  5. Release: 1%{?_dist_release}
  6. Group: Applications/Internet
  7. License: LGPLv2+
  8. URL: http://swfdec.freedesktop.org/
  9. Source0: http://swfdec.freedesktop.org/download/%{name}/0.9/%{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildRequires: gtk2-devel
  12. BuildRequires: swfdec-gtk-devel >= %{version}
  13. Requires: %{_libdir}/mozilla/plugins
  14. %description
  15. swfdec is a library for rendering Adobe Flash animations. Currently it handles
  16. most Flash 3, 4 and many Flash 7 videos. This is the viewer plugin for Firefox
  17. and other Gecko-based browsers such as Epiphany and Galeon.
  18. %prep
  19. %setup -q
  20. %build
  21. %configure --disable-static --with-plugin-dir=%{_libdir}/mozilla/plugins
  22. make %{?_smp_mflags}
  23. %install
  24. rm -rf $RPM_BUILD_ROOT
  25. make install DESTDIR=$RPM_BUILD_ROOT
  26. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  27. %clean
  28. rm -rf $RPM_BUILD_ROOT
  29. %post
  30. touch --no-create %{_datadir}/icons/hicolor || :
  31. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  32. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  33. fi
  34. %postun
  35. touch --no-create %{_datadir}/icons/hicolor || :
  36. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  37. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  38. fi
  39. %files
  40. %defattr(-,root,root)
  41. %doc AUTHORS COPYING NEWS README
  42. %{_libdir}/mozilla/plugins/*.so
  43. %{_datadir}/icons/hicolor/*/apps/%{name}.png
  44. %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
  45. %changelog
  46. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.2-1
  47. - new upstream release
  48. * Wed Dec 31 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.2-1
  49. - new upstream release
  50. * Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.0-1
  51. - initial build for Vine Linux
  52. * Tue Sep 9 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.8.0-1
  53. - Update to 0.8.0.
  54. * Wed Jul 30 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.4-1
  55. - Update to 0.7.4.
  56. * Wed Jun 25 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.2-1
  57. - Update to 0.7.2.
  58. * Wed Feb 20 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.0-1
  59. - Update to 0.6.0.
  60. * Fri Feb 8 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.5.90-2
  61. - Rebuild for gcc-4.3.
  62. * Tue Jan 29 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.5.90-1
  63. - Update to 0.5.90.
  64. * Wed Dec 19 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.5-2
  65. - Drop BR on alsa-libs-devel.
  66. - Rebuild for pulseaudio-enabled swfdec.
  67. * Mon Dec 17 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.5-1
  68. - Update to 0.5.5.
  69. * Sat Nov 17 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.4-2
  70. - Update license tag.
  71. - Drop BR on firefox-devel.
  72. * Thu Nov 15 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.4-1
  73. - Update to 0.5.4.
  74. * Fri Oct 12 2007 Peter Gordon <peter@thecodergeek.com> - 0.5.3-1
  75. - Update to new upstream release (0.5.3)
  76. * Wed Oct 10 2007 Peter Gordon <peter@thecodergeek.com> - 0.5.2-1
  77. - Update to new upstream release (0.5.2)
  78. * Wed Aug 15 2007 Peter Gordon <peter@thecodergeek.com> - 0.5.1-1
  79. - Update to new upstream release (0.5.1)
  80. * Thu Jul 5 2007 kwizart <kwizart at gmail.com> - 0.4.5-2
  81. - Fix directory ownership
  82. - Add missing BR ( swfdec-gtk-devel )
  83. * Thu Jul 5 2007 kwizart <kwizart at gmail.com> - 0.4.5-1
  84. - Update to 0.4.5
  85. - Use --with-plugin-dir
  86. * Sat Mar 31 2007 Peter Gordon <peter@thecodergeek.com> - 0.4.3-3
  87. - Remove %%post and %%postun ldconfig calls (not necessary for this package).
  88. - Remove empty ChangeLog from %%doc.
  89. * Sun Mar 25 2007 Peter Gordon <peter@thecodergeek.com> - 0.4.3-2
  90. - Fix firefox dependency versioning.
  91. * Sat Mar 24 2007 Peter Gordon <peter@thecodergeek.com> - 0.4.3-1
  92. - Initial packaging for Fedora/Livna