audacious-vl.spec 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  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: 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: 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. * Tue Sep 28 2010 Shu KONNO <owa@bg.wakwak.com> 2.3-2
  123. - rebuilt with rpm-4.8.1 for pkg-config
  124. * Sat May 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.3-1
  125. - new upstream release
  126. * Thu Aug 13 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-2
  127. - added BuildRequires: libsamplerate-devel to devel package
  128. * Sun Aug 9 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-1
  129. - new upstream release
  130. * Sun Apr 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.5.1-5
  131. - rebuilt with libmowgli-0.7.0
  132. * Sat Apr 4 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.5.1-4
  133. - added BuildRequires: dbus-devel, dbus-glib-devel
  134. - added Requires: dbus-devel, dbus-glib-devel to devel package
  135. * Wed Mar 25 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.5.1-3
  136. - rebuilt again with oniguruma-5.9.1 (ppc)
  137. * Thu Mar 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.5.1-2vl5
  138. - rebuilt with oniguruma-5.9.1
  139. * Sat Dec 6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.1-1vl5
  140. - new upstream release (dropped Patch1 and Source2)
  141. * Sun Sep 14 2008 Shu KONNO <owa@bg.wakwak.com> 1.3.2-1vl5
  142. - applied new versioning policy, spec in utf-8
  143. * Tue Sep 04 2007 KAZUKI SHIMURA <ksh753@y5.dion.ne.jp> 1.3.2-0vl3
  144. - update desktop file (source1)
  145. * Tue Aug 21 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.3.2-0vl2
  146. - add Requires: mcs-devel for audacious-devel subpackage
  147. * Fri May 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.2-0vl1
  148. - new upstream release
  149. - build with new environment/toolchain
  150. * Mon Mar 12 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.1-0vl1
  151. - new upstream release
  152. - drop '--disable-gconf' option from %%configure
  153. * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl1
  154. - new upstream release
  155. - update ja.po (source2)
  156. - add BuildRequires: mcs-devel, libsamplerate-devel
  157. * Wed Feb 21 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha5
  158. - update to 1.3.0alpha5
  159. - update ja.po (source2)
  160. - drop obsolete playlist-set-utf8-name.patch (patch2)
  161. - add new file: libaudid3tag.so
  162. * Mon Feb 12 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha4.1
  163. - add playlist-set-utf8-name.patch (patch2)
  164. to use utf-8-converted filename as playlist title
  165. * Thu Feb 08 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha4
  166. - update to 1.3.0alpha4
  167. - update ja.po (source2)
  168. - update URLs
  169. * Wed Jan 31 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha3
  170. - update to 1.3.0alpha3
  171. - update ja.po (source2)
  172. - update use-xfont.patch (patch1)
  173. - fix typo
  174. * Sun Jan 21 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha2.1
  175. - update ja.po (source2)
  176. * Sat Jan 13 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha2
  177. - update to 1.3.0alpha2
  178. - use oniguruma regex library
  179. - add BuildRequires: oniguruma-devel
  180. - add '--with-regexlib=oniguruma' option to %%configure
  181. * Thu Nov 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.2-0vl2
  182. - add '--enable-chardet' option to %%configure again
  183. * Wed Nov 29 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.2-0vl1
  184. - new upstream release
  185. - update ja.po (source2)
  186. * Sun Aug 27 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl1
  187. - new upstream release
  188. * Tue Aug 01 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl2
  189. - oops, really update ja.po (source2)
  190. * Mon Jul 31 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl1
  191. - new upstream release
  192. - make with 'VERBOSE=1'
  193. - drop obsolete POTFILES.in (source3)
  194. - make update-po before make
  195. - 1.1.1 contains old version of audacious.pot...
  196. - update ja.po (source2)
  197. * Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl2
  198. - overwrite POTFILES.in (source3)
  199. - 1.1.0 contains old version of POTFILES.in
  200. - update ja.po (source2)
  201. * Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl1
  202. - new upstream release
  203. - drop unneeded patch0 (was merged)
  204. - add '--enable-ipv6 --enable-chardet' to %%configure option
  205. - add BuildRequires: taglib-devel instead of id3lib-devel
  206. - update ja.po (source2)
  207. * Sun Jun 04 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.0-0vl2
  208. - add flac-filename-utf8.patch (patch0)
  209. to convert filename on fileinfo box for FLAC files to UTF-8
  210. - add use-xfont.patch (patch1)
  211. to disable 'Use Bitmap fonts if available' by default
  212. - add ja.po (source2)
  213. * Sat Jun 03 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.0-0vl1
  214. - initial build