audacious-vl.spec 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. %define _aud_ver 3.7
  2. Summary: Advanced audio player
  3. Summary(ja): 高度なオーディオプレイヤー
  4. Name: audacious
  5. Version: 3.7.2
  6. Release: 1%{?_dist_release}
  7. License: BSD
  8. Group: Applications/Multimedia
  9. URL: http://audacious-media-player.org/
  10. Source0: http://distfiles.audacious-media-player.org/%{name}-%{version}-gtk3.tar.bz2
  11. # validated: 2013-11-03 / screenshot commented out for now
  12. Source1: audacious.appdata.xml
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: desktop-file-utils
  15. BuildRequires: gettext
  16. BuildRequires: gtk3-devel
  17. BuildRequires: libguess-devel
  18. Requires: %{name}-libs = %{version}-%{release}
  19. Requires: audacious-plugins >= %{_aud_ver}
  20. Requires: hicolor-icon-theme
  21. Requires(post): desktop-file-utils
  22. Requires(postun): desktop-file-utils
  23. # Skin packages can require this from xmms and all GUI compatible players
  24. Provides: xmms-gui
  25. Vendor: Project Vine
  26. Distribution: Vine Linux
  27. %description
  28. Audacious is an advanced audio player. It is free, lightweight, currently
  29. based on GTK+ 3, runs on Linux and many other *nix platforms and is
  30. focused on audio quality and supporting a wide range of audio codecs.
  31. It still features an alternative skinned user interface (based on
  32. Winamp 2.x skins). Historically, it started as a fork of Beep Media
  33. Player (BMP), which itself forked from XMMS.
  34. %package libs
  35. Summary: Library files for the Audacious audio player
  36. Summary(ja): Audacious オーディオプレイヤーのライブラリファイル
  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: glib2-devel
  46. Requires: gtk3-devel
  47. %description devel
  48. Files needed when building software for the Audacious audio player.
  49. %description -l ja devel
  50. Audacious のプラグインを開発するために必要なヘッダファイルが含まれています。
  51. %prep
  52. %setup -q -n %{name}-%{version}-gtk3
  53. sed -i '\,^.SILENT:,d' buildsys.mk.in
  54. %build
  55. %configure \
  56. --disable-qt \
  57. --enable-gtk \
  58. --with-buildstamp="Vine package" \
  59. --disable-silent-rules \
  60. --disable-rpath
  61. make %{?_smp_mflags}
  62. %install
  63. rm -rf $RPM_BUILD_ROOT
  64. make DESTDIR=$RPM_BUILD_ROOT install INSTALL="install -p"
  65. find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
  66. desktop-file-install \
  67. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  68. $RPM_BUILD_ROOT%{_datadir}/applications/audacious.desktop
  69. install -D -m0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml
  70. %find_lang %{name}
  71. %clean
  72. rm -rf $RPM_BUILD_ROOT
  73. %post
  74. %{_bindir}/update-desktop-database %{_datadir}/applications >& /dev/null ||:
  75. touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
  76. %postun
  77. if [ $1 -eq 0 ] ; then
  78. touch --no-create %{_datadir}/icons/hicolor &>/dev/null
  79. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  80. fi
  81. %{_bindir}/update-desktop-database %{_datadir}/applications >& /dev/null ||:
  82. %posttrans
  83. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  84. %post libs -p /sbin/ldconfig
  85. %postun libs -p /sbin/ldconfig
  86. %files -f %{name}.lang
  87. %defattr(-,root,root,-)
  88. %doc AUTHORS
  89. %{_bindir}/audacious
  90. %{_bindir}/audtool
  91. #{_libdir}/audacious
  92. %{_datadir}/audacious
  93. %{_datadir}/appdata/%{name}.appdata.xml
  94. %{_datadir}/applications/*.desktop
  95. %{_datadir}/icons/hicolor/*/apps/%{name}*.*
  96. %{_mandir}/man[^3]/*
  97. %files libs
  98. %defattr(-,root,root,-)
  99. %doc COPYING
  100. %{_libdir}/lib*.so.*
  101. %files devel
  102. %defattr(-,root,root,-)
  103. %{_includedir}/audacious
  104. %{_includedir}/libaudcore
  105. %{_includedir}/libaudgui
  106. %{_libdir}/*.so
  107. %{_libdir}/pkgconfig/*.pc
  108. %changelog
  109. * Sat Jul 2 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.7.2-1
  110. - new upstream release.
  111. * Fri Apr 3 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.6.1-1
  112. - new upstream release
  113. * Tue Sep 28 2010 Shu KONNO <owa@bg.wakwak.com> 2.3-2
  114. - rebuilt with rpm-4.8.1 for pkg-config
  115. * Sat May 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.3-1
  116. - new upstream release
  117. * Thu Aug 13 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-2
  118. - added BuildRequires: libsamplerate-devel to devel package
  119. * Sun Aug 9 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-1
  120. - new upstream release
  121. * Sun Apr 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.5.1-5
  122. - rebuilt with libmowgli-0.7.0
  123. * Sat Apr 4 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.5.1-4
  124. - added BuildRequires: dbus-devel, dbus-glib-devel
  125. - added Requires: dbus-devel, dbus-glib-devel to devel package
  126. * Wed Mar 25 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.5.1-3
  127. - rebuilt again with oniguruma-5.9.1 (ppc)
  128. * Thu Mar 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.5.1-2vl5
  129. - rebuilt with oniguruma-5.9.1
  130. * Sat Dec 6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.1-1vl5
  131. - new upstream release (dropped Patch1 and Source2)
  132. * Sun Sep 14 2008 Shu KONNO <owa@bg.wakwak.com> 1.3.2-1vl5
  133. - applied new versioning policy, spec in utf-8
  134. * Tue Sep 04 2007 KAZUKI SHIMURA <ksh753@y5.dion.ne.jp> 1.3.2-0vl3
  135. - update desktop file (source1)
  136. * Tue Aug 21 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.3.2-0vl2
  137. - add Requires: mcs-devel for audacious-devel subpackage
  138. * Fri May 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.2-0vl1
  139. - new upstream release
  140. - build with new environment/toolchain
  141. * Mon Mar 12 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.1-0vl1
  142. - new upstream release
  143. - drop '--disable-gconf' option from %%configure
  144. * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl1
  145. - new upstream release
  146. - update ja.po (source2)
  147. - add BuildRequires: mcs-devel, libsamplerate-devel
  148. * Wed Feb 21 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha5
  149. - update to 1.3.0alpha5
  150. - update ja.po (source2)
  151. - drop obsolete playlist-set-utf8-name.patch (patch2)
  152. - add new file: libaudid3tag.so
  153. * Mon Feb 12 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha4.1
  154. - add playlist-set-utf8-name.patch (patch2)
  155. to use utf-8-converted filename as playlist title
  156. * Thu Feb 08 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha4
  157. - update to 1.3.0alpha4
  158. - update ja.po (source2)
  159. - update URLs
  160. * Wed Jan 31 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha3
  161. - update to 1.3.0alpha3
  162. - update ja.po (source2)
  163. - update use-xfont.patch (patch1)
  164. - fix typo
  165. * Sun Jan 21 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha2.1
  166. - update ja.po (source2)
  167. * Sat Jan 13 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl0.0alpha2
  168. - update to 1.3.0alpha2
  169. - use oniguruma regex library
  170. - add BuildRequires: oniguruma-devel
  171. - add '--with-regexlib=oniguruma' option to %%configure
  172. * Thu Nov 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.2-0vl2
  173. - add '--enable-chardet' option to %%configure again
  174. * Wed Nov 29 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.2-0vl1
  175. - new upstream release
  176. - update ja.po (source2)
  177. * Sun Aug 27 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl1
  178. - new upstream release
  179. * Tue Aug 01 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl2
  180. - oops, really update ja.po (source2)
  181. * Mon Jul 31 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl1
  182. - new upstream release
  183. - make with 'VERBOSE=1'
  184. - drop obsolete POTFILES.in (source3)
  185. - make update-po before make
  186. - 1.1.1 contains old version of audacious.pot...
  187. - update ja.po (source2)
  188. * Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl2
  189. - overwrite POTFILES.in (source3)
  190. - 1.1.0 contains old version of POTFILES.in
  191. - update ja.po (source2)
  192. * Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl1
  193. - new upstream release
  194. - drop unneeded patch0 (was merged)
  195. - add '--enable-ipv6 --enable-chardet' to %%configure option
  196. - add BuildRequires: taglib-devel instead of id3lib-devel
  197. - update ja.po (source2)
  198. * Sun Jun 04 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.0-0vl2
  199. - add flac-filename-utf8.patch (patch0)
  200. to convert filename on fileinfo box for FLAC files to UTF-8
  201. - add use-xfont.patch (patch1)
  202. to disable 'Use Bitmap fonts if available' by default
  203. - add ja.po (source2)
  204. * Sat Jun 03 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.0-0vl1
  205. - initial build