audacious-vl.spec 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. %define _aud_ver 2.3
  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.3
  7. Release: 1%{?_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: audacious2-gtkui.desktop
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: glib2-devel
  16. BuildRequires: gtk2-devel
  17. BuildRequires: libmowgli-devel
  18. BuildRequires: mcs-devel
  19. BuildRequires: dbus-devel
  20. BuildRequires: dbus-glib-devel
  21. BuildRequires: libSM-devel
  22. BuildRequires: oniguruma-devel
  23. Requires: %{name}-libs = %{version}-%{release}
  24. Requires: audacious-plugins >= %{_aud_ver}
  25. Requires(post): desktop-file-utils
  26. Requires(postun): desktop-file-utils
  27. Vendor: Project Vine
  28. Distribution: Vine Linux
  29. %description
  30. Audacious is a media player that currently uses a skinned user
  31. interface based on Winamp 2.x skins. It is based on BMP.
  32. %package libs
  33. Summary: Library files for the Audacious media player
  34. Group: System Environment/Libraries
  35. %description libs
  36. Library files for the Audacious media player.
  37. %package devel
  38. Summary: Development files for Audacious
  39. Summary(ja): Audacious の開発用ファイル
  40. Group: Development/Libraries
  41. Requires: %{name}-libs = %{version}-%{release}
  42. Requires: glib2-devel >= 2.12.0
  43. Requires: gtk2-devel >= 2.8.0
  44. Requires: pango-devel >= 1.8.0
  45. Requires: cairo-devel >= 1.2.4
  46. Requires: libmowgli-devel >= 0.4.0
  47. Requires: mcs-devel >= 0.7
  48. Requires: dbus-devel >= 0.60
  49. Requires: dbus-glib-devel >= 0.60
  50. %description devel
  51. This package contains header files required to develop plugins for
  52. Audacious.
  53. %description -l ja devel
  54. このパッケージには、Audacious のプラグインを開発するために必要なヘッダ
  55. ファイルが含まれています。
  56. %prep
  57. %setup -q -n %{name}-%{version}%{?extraver:-%extraver}
  58. %build
  59. %configure \
  60. --enable-chardet \
  61. --with-regexlib=oniguruma
  62. make %{?_smp_mflags} VERBOSE=1
  63. %install
  64. rm -rf $RPM_BUILD_ROOT
  65. make DESTDIR=$RPM_BUILD_ROOT install
  66. %find_lang %{name}
  67. %__mkdir_p %{buildroot}%{_libdir}/audacious/Container
  68. %__mkdir_p %{buildroot}%{_libdir}/audacious/Effect
  69. %__mkdir_p %{buildroot}%{_libdir}/audacious/General
  70. %__mkdir_p %{buildroot}%{_libdir}/audacious/Input
  71. %__mkdir_p %{buildroot}%{_libdir}/audacious/Output
  72. %__mkdir_p %{buildroot}%{_libdir}/audacious/Transport
  73. %__mkdir_p %{buildroot}%{_libdir}/audacious/Visualization
  74. install -p -m644 %{SOURCE1} %{buildroot}%{_datadir}/applications
  75. rm -f $RPM_BUILD_ROOT%{_datadir}/applications/audacious2-gtkui.desktop
  76. #install -p -m644 %{SOURCE2} %{buildroot}%{_datadir}/applications
  77. mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
  78. mv $RPM_BUILD_ROOT%{_datadir}/pixmaps/audacious2.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
  79. # fixes symbolic link
  80. pushd $RPM_BUILD_ROOT%{_bindir}
  81. ln -sf audacious2 audacious
  82. ln -sf audtool2 audtool
  83. popd
  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*
  102. %{_bindir}/audacious*
  103. %{_bindir}/audtool*
  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}/libaudcore
  117. %{_includedir}/libaudgui
  118. %{_includedir}/libaudtag
  119. %{_libdir}/*.so
  120. %{_libdir}/pkgconfig/*.pc
  121. %changelog
  122. * Sat May 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.3-1
  123. - new upstream release
  124. * Thu Aug 13 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-2
  125. - added BuildRequires: libsamplerate-devel to devel package
  126. * Sun Aug 9 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-1
  127. - new upstream release
  128. * Sun Apr 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.5.1-5
  129. - rebuilt with libmowgli-0.7.0
  130. * Sat Apr 4 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.5.1-4
  131. - added BuildRequires: dbus-devel, dbus-glib-devel
  132. - added Requires: dbus-devel, dbus-glib-devel to devel package
  133. * Wed Mar 25 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.5.1-3
  134. - rebuilt again with oniguruma-5.9.1 (ppc)
  135. * Thu Mar 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.5.1-2vl5
  136. - rebuilt with oniguruma-5.9.1
  137. * Sat Dec 6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.1-1vl5
  138. - new upstream release (dropped Patch1 and Source2)
  139. * Sun Sep 14 2008 Shu KONNO <owa@bg.wakwak.com> 1.3.2-1vl5
  140. - applied new versioning policy, spec in utf-8
  141. * Tue Sep 04 2007 KAZUKI SHIMURA <ksh753@y5.dion.ne.jp> 1.3.2-0vl3
  142. - update desktop file (source1)
  143. * Tue Aug 21 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.3.2-0vl2
  144. - add Requires: mcs-devel for audacious-devel subpackage
  145. * Fri May 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.2-0vl1
  146. - new upstream release
  147. - build with new environment/toolchain
  148. * Mon Mar 12 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.1-0vl1
  149. - new upstream release
  150. - drop '--disable-gconf' option from %%configure
  151. * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl1
  152. - new upstream release
  153. - update ja.po (source2)
  154. - add BuildRequires: mcs-devel, libsamplerate-devel
  155. * Wed Feb 21 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha5
  156. - update to 1.3.0alpha5
  157. - update ja.po (source2)
  158. - drop obsolete playlist-set-utf8-name.patch (patch2)
  159. - add new file: libaudid3tag.so
  160. * Mon Feb 12 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha4.1
  161. - add playlist-set-utf8-name.patch (patch2)
  162. to use utf-8-converted filename as playlist title
  163. * Thu Feb 08 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha4
  164. - update to 1.3.0alpha4
  165. - update ja.po (source2)
  166. - update URLs
  167. * Wed Jan 31 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha3
  168. - update to 1.3.0alpha3
  169. - update ja.po (source2)
  170. - update use-xfont.patch (patch1)
  171. - fix typo
  172. * Sun Jan 21 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha2.1
  173. - update ja.po (source2)
  174. * Sat Jan 13 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha2
  175. - update to 1.3.0alpha2
  176. - use oniguruma regex library
  177. - add BuildRequires: oniguruma-devel
  178. - add '--with-regexlib=oniguruma' option to %%configure
  179. * Thu Nov 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.2-0vl2
  180. - add '--enable-chardet' option to %%configure again
  181. * Wed Nov 29 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.2-0vl1
  182. - new upstream release
  183. - update ja.po (source2)
  184. * Sun Aug 27 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl1
  185. - new upstream release
  186. * Tue Aug 01 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl2
  187. - oops, really update ja.po (source2)
  188. * Mon Jul 31 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl1
  189. - new upstream release
  190. - make with 'VERBOSE=1'
  191. - drop obsolete POTFILES.in (source3)
  192. - make update-po before make
  193. - 1.1.1 contains old version of audacious.pot...
  194. - update ja.po (source2)
  195. * Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl2
  196. - overwrite POTFILES.in (source3)
  197. - 1.1.0 contains old version of POTFILES.in
  198. - update ja.po (source2)
  199. * Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl1
  200. - new upstream release
  201. - drop unneeded patch0 (was merged)
  202. - add '--enable-ipv6 --enable-chardet' to %%configure option
  203. - add BuildRequires: taglib-devel instead of id3lib-devel
  204. - update ja.po (source2)
  205. * Sun Jun 04 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.0-0vl2
  206. - add flac-filename-utf8.patch (patch0)
  207. to convert filename on fileinfo box for FLAC files to UTF-8
  208. - add use-xfont.patch (patch1)
  209. to disable 'Use Bitmap fonts if available' by default
  210. - add ja.po (source2)
  211. * Sat Jun 03 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.0-0vl1
  212. - initial build