smpeg-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. Summary: SDL MPEG Library
  2. Summary(ja): SDL MPEG ライブラリ
  3. Name: smpeg
  4. Version: 0.4.4
  5. Release: 1%{?_dist_release}
  6. License: LGPL
  7. Group: System Environment/Libraries
  8. Source0: %{name}-%{version}.tar.gz
  9. Patch0: smpeg-0.4.0-broken.patch
  10. Patch1: smpeg-0.4.4-gtvaudio.patch
  11. Patch2: smpeg-0.4.4-gcc32.patch
  12. Patch3: smpeg-0.4.4-fixes.patch
  13. Patch4: smpeg-0.4.4-PIC.patch
  14. Patch5: smpeg-0.4.4-gnu-stack.patch
  15. Patch6: smpeg-0.4.4-m4.patch
  16. Patch7: smpeg-0.4.4-gcc41.patch
  17. URL: http://www.lokigames.com/development/smpeg.php3
  18. BuildRequires: SDL-devel gtk+-devel
  19. BuildRequires: automake14 automake
  20. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. %description
  24. SMPEG is based on UC Berkeley's mpeg_play software MPEG decoder
  25. and SPLAY, an mpeg audio decoder created by Woo-jae Jung. We have
  26. completed the initial work to wed these two projects in order to
  27. create a general purpose MPEG video/audio player for the Linux OS.
  28. %description -l ja
  29. SMPEG は UC Berkeley の MPEGデコーダ mpeg_play と,Woo-jae Jungによる
  30. MPEGオーディオデコーダ splay を元に開発されています.Linux OS 用の
  31. 汎用 MPEG video/audio プレーヤをつくるため,両者の統合を完了したところです.
  32. %package devel
  33. Summary: Libraries, includes and more to develop SMPEG applications.
  34. Summary(ja): SMPEG アプリケーションを開発するためのライブラリやへッダファイル
  35. Group: Development/Libraries
  36. Requires: %{name}
  37. %description devel
  38. SMPEG is based on UC Berkeley's mpeg_play software MPEG decoder
  39. and SPLAY, an mpeg audio decoder created by Woo-jae Jung. We have
  40. completed the initial work to wed these two projects in order to
  41. create a general purpose MPEG video/audio player for the Linux OS.
  42. This is the libraries, include files and other resources you can use
  43. to develop SMPEG applications.
  44. %prep
  45. %setup -q
  46. %patch0 -p1 -b .broken
  47. %patch1 -p1
  48. %patch2 -p0 -b .gcc32
  49. %patch3 -p0 -b .fixes
  50. %patch4 -p0 -b .PIC
  51. %patch5 -p1 -b .gnu-stack
  52. %patch6 -p1 -b .m4
  53. %patch7 -p1 -b .gcc41
  54. %build
  55. # for automake...
  56. touch NEWS AUTHORS ChangeLog
  57. automake -a || automake-1.4 -a
  58. autoconf -f
  59. %configure --disable-debug --disable-opengl-player
  60. make
  61. %install
  62. rm -rf $RPM_BUILD_ROOT
  63. %makeinstall
  64. mkdir -p %{buildroot}/etc/X11/applnk/Multimedia
  65. cat > %{buildroot}/etc/X11/applnk/Multimedia/gtv.desktop <<EOF
  66. [Desktop Entry]
  67. Name=GTV MPEG Player
  68. Name[ja]=GTV MPEG プレーヤ
  69. Type=Application
  70. Comment=Simple player for MPEG Movies
  71. Comment[ja]=MPEG ムービー プレーヤ
  72. Exec=gtv
  73. MimeType=video/mpeg
  74. EOF
  75. %clean
  76. rm -rf $RPM_BUILD_ROOT
  77. %post -p /sbin/ldconfig
  78. %postun -p /sbin/ldconfig
  79. %files
  80. %defattr(-, root, root)
  81. %doc CHANGES COPYING README
  82. %config(missingok) /etc/X11/applnk/Multimedia/gtv.desktop
  83. %{_libdir}/lib*.so.*
  84. %{_bindir}/plaympeg
  85. %{_bindir}/gtv
  86. %{_mandir}/*
  87. %files devel
  88. %defattr(-, root, root)
  89. %{_bindir}/smpeg-config
  90. %{_includedir}/*
  91. %{_libdir}/lib*.a
  92. %{_libdir}/lib*.so
  93. %{_datadir}/aclocal/*.m4
  94. %changelog
  95. * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 0.4.4-1vl5
  96. - applied new versioning policy, spec in utf-8
  97. * Sat Oct 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.4-0vl8
  98. - added Patch4-7 from DAG package
  99. (http://dag.wieers.com/rpm/packages/smpeg/)
  100. - rebuild with new toolchains
  101. * Mon Oct 11 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 0.4.4-0vl7
  102. - rebuild without alsa
  103. * Sun May 09 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 0.4.4-0vl6
  104. - rebuild
  105. * Tue Dec 2 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.4-0vl5
  106. - rebuild with new toolchains
  107. - use legacy autoconf-2.13 and automake-1.4
  108. - s/Copyright/License/
  109. - Patch2 and 3 from http://dag.wieers.com/packages/smpeg/
  110. * Tue Mar 26 2002 Shoji Matsumoto <shom@vinelinux.org> 0.4.4-0vl4
  111. - add patch1 (gtv no audio patch)
  112. * Tue Aug 28 2001 Jun Nishii <jun@vinelinux.org> 0.4.4-0vl1
  113. - ver.up
  114. * Fri Aug 17 2001 Shoji Matsumoto <shom@vinelinux.org>
  115. - 0.4.2-0vl3
  116. - rebuild on Seed (SDL-1.2)
  117. * Wed Feb 21 2001 Jun Nishii <jun@vinelinux.org>
  118. - 0.4.2-0vl2
  119. - rebuild on Seed
  120. * Wed Dec 20 2000 Jun Nishii <jun@vinelinux.org>
  121. - 0.4.2-0vl1
  122. * Tue Oct 2 2000 Than Ngo <than@redhat.com>
  123. - update to 0.4.1
  124. - clean up specfile
  125. * Mon Aug 07 2000 Than Ngo <than@redhat.de>
  126. - add swedish translation (Bug #15336)
  127. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  128. - automatic rebuild
  129. * Fri Jun 16 2000 Preston Brown <pbrown@redhat.com>
  130. - better .desktop entry
  131. * Thu Jun 15 2000 Preston Brown <pbrown@redhat.com>
  132. - fix up for Winston, use FHS paths
  133. * Fri Mar 3 2000 Sam Lantinga <hercules@lokigames.com>
  134. - Split package into development and runtime packages