plugger-vl.spec 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. Summary: Streaming Netscape Plugin
  2. Summary(ja): Netscape用マルチメディアプラグイン
  3. Name: plugger
  4. Version: 4.0
  5. Release: 0vl2
  6. License: GPL
  7. Group: Development/Languages
  8. URL: http://www.hubbe.net/~hubbe/plugger.html
  9. Source0: http://www.hubbe.net/~hubbe/plugger/plugger-%{version}.tar.gz
  10. Source1: unix-sdk-3.0b5.tar.Z
  11. Patch: plugger-4.0-vine.patch
  12. AutoReqProv: no
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. %description
  15. Streaming Multimedia plugin for UNIX Netscape.
  16. %prep
  17. %setup -q -a 1
  18. %patch -p1
  19. %build
  20. CC="gcc -fPIC" LD="gcc -shared -fPIC" make linux
  21. %install
  22. rm -rf %{buildroot}
  23. %define ns_plugins /usr/lib/netscape/plugins
  24. %define mz_plugins /usr/lib/mozilla/plugins
  25. mkdir -p %{buildroot}/%{ns_plugins}
  26. mkdir -p %{buildroot}/%{mz_plugins}
  27. mkdir -p %{buildroot}%{_mandir}/man7
  28. mkdir -p %{buildroot}%{_sysconfdir}
  29. mkdir -p %{buildroot}/%{_bindir}
  30. install -m 755 plugger-4.0 %{buildroot}/%{_bindir}/
  31. install -m 755 plugger.so %{buildroot}/%{ns_plugins}
  32. install -m 755 plugger.so %{buildroot}/%{mz_plugins}
  33. install -m 644 plugger.7 %{buildroot}%{_mandir}/man7
  34. install -m 644 pluggerrc %{buildroot}/etc/pluggerrc
  35. %clean
  36. rm -rf %{buildroot}
  37. %files
  38. %defattr(-,root,root)
  39. %doc README COPYING
  40. %{_bindir}/plugger*
  41. %{ns_plugins}/plugger.so
  42. %{mz_plugins}/plugger.so
  43. %config %{_sysconfdir}/pluggerrc
  44. %{_mandir}/man7/plugger.7*
  45. %changelog
  46. * Mon Jul 22 2002 Masaki Shinomiya <shino@pos.to> 4.0-0vl2
  47. - directory name of mz_plugins
  48. * Wed Feb 27 2002 Jun Nishii <jun@vinelinux.org> 4.0-0vl1
  49. - ver.up
  50. * Thu Sep 06 2001 Toru Sagami <sagami@vinelinux.org>
  51. - 3.3-0vl1: use better macros
  52. * Sun Oct 15 2000 MACHINO, Satoshi <machino@vinelinux.org> 3.2-1vl2
  53. - fixed in %files for brp-redhat
  54. * Sun Jan 23 2000 net_hal <net_hal@cwa.bai.ne.jp>
  55. - Modify for Vine