audacious-vl.spec 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. %define _aud_ver 2.1
  2. #%%define extraver alpha5
  3. Summary: Audacious - a versatile and handy multi platform media player
  4. Summary(ja): Audacious - 多くのフォーマットに対応した便利なメディアプレイヤー
  5. Name: audacious
  6. Version: 2.1
  7. Release: 2%{?_dist_release}
  8. License: GPLv3
  9. Group: Applications/Multimedia
  10. URL: http://audacious-media-player.org/
  11. Source: http://distfiles.atheme.org/%{name}-%{version}%{?extraver:-%extraver}.tgz
  12. Source1: audacious2.desktop
  13. #Source2: audacious-1.3.0-ja.po
  14. #Patch1: audacious-1.3.0-alpha3-use-xfont.patch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: glib2-devel
  17. BuildRequires: gtk2-devel
  18. BuildRequires: libglade2-devel
  19. BuildRequires: libmowgli-devel
  20. BuildRequires: mcs-devel
  21. BuildRequires: dbus-devel
  22. BuildRequires: dbus-glib-devel
  23. BuildRequires: libSM-devel
  24. BuildRequires: libsamplerate-devel
  25. BuildRequires: oniguruma-devel
  26. Requires: %{name}-libs = %{version}-%{release}
  27. Requires: audacious-plugins >= %{_aud_ver}
  28. Requires(post): /sbin/ldconfig, desktop-file-utils
  29. Requires(postun): /sbin/ldconfig, desktop-file-utils
  30. Vendor: Project Vine
  31. Distribution: Vine Linux
  32. %description
  33. Audacious is a media player that currently uses a skinned user
  34. interface based on Winamp 2.x skins. It is based on BMP.
  35. %package libs
  36. Summary: Library files for the Audacious media player
  37. Group: System Environment/Libraries
  38. %description libs
  39. Library files for the Audacious media player.
  40. %package devel
  41. Summary: Development files for Audacious
  42. Summary(ja): Audacious の開発用ファイル
  43. Group: Development/Libraries
  44. Requires: %{name}-libs = %{version}-%{release}
  45. Requires: gtk2-devel >= %{_gtk2_ver}
  46. Requires: glib2-devel >= %{_glib2_ver}
  47. Requires: mcs-devel >= %{_libmcs_ver}
  48. Requires: dbus-devel
  49. Requires: dbus-glib-devel
  50. Requires: libsamplerate-devel
  51. %description devel
  52. This package contains header files required to develop plugins for
  53. Audacious.
  54. %description -l ja devel
  55. このパッケージには、Audacious のプラグインを開発するために必要なヘッダ
  56. ファイルが含まれています。
  57. %prep
  58. %setup -q -n %{name}-%{version}%{?extraver:-%extraver}
  59. # update ja.po
  60. #__cp -f %{SOURCE2} po/ja.po
  61. %build
  62. %configure \
  63. --enable-chardet \
  64. --enable-samplerate \
  65. --with-regexlib=oniguruma
  66. # update audacious.pot & ja.gmo
  67. #( cd po ;
  68. # %__make %{_smp_mflags} VERBOSE=1 update-po )
  69. make %{?_smp_mflags} VERBOSE=1
  70. %install
  71. rm -rf $RPM_BUILD_ROOT
  72. make DESTDIR=$RPM_BUILD_ROOT install
  73. %find_lang %{name}
  74. %__mkdir_p %{buildroot}%{_libdir}/audacious/Container
  75. %__mkdir_p %{buildroot}%{_libdir}/audacious/Effect
  76. %__mkdir_p %{buildroot}%{_libdir}/audacious/General
  77. %__mkdir_p %{buildroot}%{_libdir}/audacious/Input
  78. %__mkdir_p %{buildroot}%{_libdir}/audacious/Output
  79. %__mkdir_p %{buildroot}%{_libdir}/audacious/Transport
  80. %__mkdir_p %{buildroot}%{_libdir}/audacious/Visualization
  81. install -p -m644 %{SOURCE1} %{buildroot}%{_datadir}/applications
  82. mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
  83. mv $RPM_BUILD_ROOT%{_datadir}/pixmaps/audacious2.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
  84. %clean
  85. rm -rf $RPM_BUILD_ROOT
  86. %post
  87. %{_bindir}/update-desktop-database %{_datadir}/applications >& /dev/null ||:
  88. touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
  89. %postun
  90. %{_bindir}/update-desktop-database %{_datadir}/applications >& /dev/null ||:
  91. if [ $1 -eq 0 ] ; then
  92. touch --no-create %{_datadir}/icons/hicolor &>/dev/null
  93. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  94. fi
  95. %posttrans
  96. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  97. %post libs -p /sbin/ldconfig
  98. %postun libs -p /sbin/ldconfig
  99. %files -f %{name}.lang
  100. %defattr(-,root,root,-)
  101. %doc AUTHORS COPYING NEWS* README* TODO*
  102. %{_bindir}/audacious2
  103. %{_bindir}/audtool2
  104. %{_libdir}/audacious
  105. %{_datadir}/audacious
  106. %{_datadir}/applications/*.desktop
  107. %{_datadir}/icons/hicolor/48x48/apps/*
  108. %{_mandir}/man1/audacious2.1*
  109. %{_mandir}/man1/audtool2.1*
  110. %files libs
  111. %defattr(-,root,root,-)
  112. %{_libdir}/lib*.so.*
  113. %files devel
  114. %defattr(-,root,root,-)
  115. %{_includedir}/audacious
  116. %{_includedir}/libSAD
  117. %{_includedir}/libaudcore
  118. %{_libdir}/*.so
  119. %{_libdir}/pkgconfig/*.pc
  120. %changelog
  121. * Thu Aug 13 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-2
  122. - added BuildRequires: libsamplerate-devel to devel package
  123. * Sun Aug 9 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-1
  124. - new upstream release
  125. * Sun Apr 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.5.1-5
  126. - rebuilt with libmowgli-0.7.0
  127. * Sat Apr 4 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.5.1-4
  128. - added BuildRequires: dbus-devel, dbus-glib-devel
  129. - added Requires: dbus-devel, dbus-glib-devel to devel package
  130. * Wed Mar 25 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.5.1-3
  131. - rebuilt again with oniguruma-5.9.1 (ppc)
  132. * Thu Mar 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.5.1-2vl5
  133. - rebuilt with oniguruma-5.9.1
  134. * Sat Dec 6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.1-1vl5
  135. - new upstream release (dropped Patch1 and Source2)
  136. * Sun Sep 14 2008 Shu KONNO <owa@bg.wakwak.com> 1.3.2-1vl5
  137. - applied new versioning policy, spec in utf-8
  138. * Tue Sep 04 2007 KAZUKI SHIMURA <ksh753@y5.dion.ne.jp> 1.3.2-0vl3
  139. - update desktop file (source1)
  140. * Tue Aug 21 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.3.2-0vl2
  141. - add Requires: mcs-devel for audacious-devel subpackage
  142. * Fri May 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.2-0vl1
  143. - new upstream release
  144. - build with new environment/toolchain
  145. * Mon Mar 12 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.1-0vl1
  146. - new upstream release
  147. - drop '--disable-gconf' option from %%configure
  148. * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl1
  149. - new upstream release
  150. - update ja.po (source2)
  151. - add BuildRequires: mcs-devel, libsamplerate-devel
  152. * Wed Feb 21 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha5
  153. - update to 1.3.0alpha5
  154. - update ja.po (source2)
  155. - drop obsolete playlist-set-utf8-name.patch (patch2)
  156. - add new file: libaudid3tag.so
  157. * Mon Feb 12 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha4.1
  158. - add playlist-set-utf8-name.patch (patch2)
  159. to use utf-8-converted filename as playlist title
  160. * Thu Feb 08 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha4
  161. - update to 1.3.0alpha4
  162. - update ja.po (source2)
  163. - update URLs
  164. * Wed Jan 31 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha3
  165. - update to 1.3.0alpha3
  166. - update ja.po (source2)
  167. - update use-xfont.patch (patch1)
  168. - fix typo
  169. * Sun Jan 21 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha2.1
  170. - update ja.po (source2)
  171. * Sat Jan 13 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha2
  172. - update to 1.3.0alpha2
  173. - use oniguruma regex library
  174. - add BuildRequires: oniguruma-devel
  175. - add '--with-regexlib=oniguruma' option to %%configure
  176. * Thu Nov 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.2-0vl2
  177. - add '--enable-chardet' option to %%configure again
  178. * Wed Nov 29 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.2-0vl1
  179. - new upstream release
  180. - update ja.po (source2)
  181. * Sun Aug 27 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl1
  182. - new upstream release
  183. * Tue Aug 01 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl2
  184. - oops, really update ja.po (source2)
  185. * Mon Jul 31 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl1
  186. - new upstream release
  187. - make with 'VERBOSE=1'
  188. - drop obsolete POTFILES.in (source3)
  189. - make update-po before make
  190. - 1.1.1 contains old version of audacious.pot...
  191. - update ja.po (source2)
  192. * Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl2
  193. - overwrite POTFILES.in (source3)
  194. - 1.1.0 contains old version of POTFILES.in
  195. - update ja.po (source2)
  196. * Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl1
  197. - new upstream release
  198. - drop unneeded patch0 (was merged)
  199. - add '--enable-ipv6 --enable-chardet' to %%configure option
  200. - add BuildRequires: taglib-devel instead of id3lib-devel
  201. - update ja.po (source2)
  202. * Sun Jun 04 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.0-0vl2
  203. - add flac-filename-utf8.patch (patch0)
  204. to convert filename on fileinfo box for FLAC files to UTF-8
  205. - add use-xfont.patch (patch1)
  206. to disable 'Use Bitmap fonts if available' by default
  207. - add ja.po (source2)
  208. * Sat Jun 03 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.0-0vl1
  209. - initial build