sound-juicer-vl.spec 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. Name: sound-juicer
  2. Summary: Clean and lean CD ripper
  3. Summary(ja): シンプルで簡単なCDリッピングツール
  4. Version: 3.5.0
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: Applications/Multimedia
  8. Source0: http://ftp.gnome.org/pub/GNOME/sources/sound-juicer/3.5/%{name}-%{version}.tar.xz
  9. Patch0: sound-juicer-3.5.0-gstreamer1.patch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. Requires: cdparanoia
  12. BuildRequires: libgnome-media-profiles-devel >= 3.0.0
  13. BuildRequires: glib2-devel >= 2.26.0
  14. BuildRequires: gstreamer1-devel
  15. BuildRequires: gstreamer1-plugins-base-devel
  16. BuildRequires: gstreamer1-plugins-good-flac
  17. BuildRequires: gnome-doc-utils
  18. BuildRequires: GConf2-devel >= 2.32.0
  19. BuildRequires: hal-devel >= 0.5.9
  20. BuildRequires: scrollkeeper >= 0.3.5
  21. BuildRequires: brasero-devel
  22. BuildRequires: gcc-c++
  23. BuildRequires: autoconf
  24. BuildRequires: libcanberra-gtk3-devel
  25. BuildRequires: libmusicbrainz5-devel
  26. BuildRequires: libdiscid-devel
  27. BuildRequires: gnome-common
  28. Requires(pre): GConf2
  29. Requires(post): GConf2
  30. Requires(preun): GConf2
  31. # http://bugzilla.gnome.org/show_bug.cgi?id=157772
  32. ExcludeArch: s390 s390x
  33. Vendor: Project Vine
  34. Distribution: Vine Linux
  35. %description
  36. GStreamer-based CD ripping tool. Saves audio CDs to Ogg/vorbis.
  37. %description -l ja
  38. Sound Juicer は GStreamer ベースの CD リッピングツールです。
  39. CD を Ogg/vorbis に変換します。
  40. %prep
  41. %setup -q
  42. %patch0 -p1
  43. %build
  44. autoreconf -if
  45. %configure \
  46. --with-gtk=3.0 \
  47. --disable-scrollkeeper \
  48. --disable-schemas-install \
  49. --disable-scrollkeeper
  50. %__make AM_CFLAGS=-export-dynamic
  51. %install
  52. rm -rf $RPM_BUILD_ROOT
  53. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1;
  54. make install DESTDIR=$RPM_BUILD_ROOT
  55. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  56. rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
  57. rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
  58. %find_lang %{name}
  59. %clean
  60. rm -rf $RPM_BUILD_ROOT
  61. %pre
  62. if [ "$1" -gt 1 ]; then
  63. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  64. gconftool-2 --makefile-uninstall-rule \
  65. %{_sysconfdir}/gconf/schemas/sound-juicer.schemas >& /dev/null ||:
  66. fi
  67. %preun
  68. if [ "$1" -eq 0 ]; then
  69. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  70. gconftool-2 --makefile-uninstall-rule \
  71. %{_sysconfdir}/gconf/schemas/sound-juicer.schemas > /dev/null ||:
  72. fi
  73. %post
  74. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  75. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/sound-juicer.schemas > /dev/null ||:
  76. touch --no-create %{_datadir}/icons/hicolor
  77. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  78. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  79. fi
  80. %postun
  81. touch --no-create %{_datadir}/icons/hicolor
  82. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  83. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  84. fi
  85. %files -f sound-juicer.lang
  86. %defattr(-, root, root)
  87. %doc AUTHORS COPYING ChangeLog README NEWS
  88. %{_bindir}/sound-juicer
  89. %{_sysconfdir}/gconf/schemas/sound-juicer.schemas
  90. %{_datadir}/sound-juicer
  91. %{_datadir}/applications/sound-juicer.desktop
  92. %{_datadir}/gnome/help/sound-juicer
  93. %{_datadir}/omf/sound-juicer
  94. %{_datadir}/icons/hicolor/*
  95. %{_mandir}/man1/*
  96. %changelog
  97. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.0-1
  98. - new upstream release
  99. - change BuildRequires: gstreamer1-devel instead of gstreamer-devel
  100. - change BuildRequires: gstreamer1-plugins-base-devel instead of gstreamer-plugins-base-devel
  101. - change BuildRequires: libmusicbrainz5-devel instead of libmusicbrainz3-devel
  102. - add BuildRequires: libdiscid-devel
  103. - add Patch0 (sound-juicer-3.5.0-gstreamer1.patch)
  104. * Thu Apr 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  105. - new upstream release
  106. - remove Patch0
  107. - remove Source1
  108. * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-2
  109. - add configure option: --with-gtk=3.0
  110. - change BuildRequires: libgnome-media-profiles-devel instead of gnome-media-devel
  111. - change BuildRequires: libcanberra-gtk3-devel instead of libcanberra-devel
  112. - add Patch0 (sound-juicer-2.32.0-git20110523.patch)
  113. - add Source1 (sound-juicer-256.png)
  114. - add BuildRequires: gnome-common
  115. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  116. - new upstream release
  117. - add BuildRequires: libmusicbrainz3-devel
  118. - remove BuildRequires: libgnomeui-devel
  119. - fix BuildRequires: gnome-media-devel instead of gnome-media
  120. * Sun Apr 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
  121. - new upstream release
  122. * Sat Jan 16 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.1-1
  123. - new upstream release
  124. - remove configure option: --enable-hal (unrecognized option)
  125. - add BuildRequires: gstreamer-plugins-base-devel >= 0.10.5
  126. - add BuildRequires: gstreamer-plugins-good-flac
  127. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  128. - new upstream release
  129. * Tue Apr 07 2009 Shu KONNO <owa@bg.wakwak.com> 2.26.0-2
  130. - add BR: libcanberra-devel
  131. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  132. - new upstream release
  133. - add BR: brasero-devel instead of nautilus-cd-burner
  134. - add BR: gnome-doc-utils
  135. - add Requires(pre,post,postun): GConf2
  136. - remove unneeded Requires:
  137. * Sat Oct 25 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.0-1vl5
  138. - new upstream release
  139. * Sat Oct 11 2008 Shu KONNO <owa@bg.wakwak.com> 2.16.4-1vl5
  140. - applied new versioning policy, spec in utf-8
  141. * Thu May 17 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.16.4-0vl2
  142. - rebuild with new environment/toolchain
  143. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.16.4-0vl1
  144. - new upstream release
  145. * Sun Jun 04 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.4-0vl1
  146. - new upstream release
  147. * Sat Apr 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1
  148. - new upstream release
  149. * Tue Apr 05 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.1-0vl1
  150. - initial build for Vine Linux based on FC package
  151. - new upstream release
  152. * Wed Mar 23 2005 John (J5) Palmieri <johnp@redhat.com> 2.10.0-2
  153. - Rebuild for libmusicbrainz-2.1.1
  154. * Fri Mar 11 2005 John (J5) Palmieri <johnp@redhat.com> 2.10.0-1
  155. - Update to upstream version 2.10.0
  156. * Tue Mar 08 2005 John (J5) Palmieri <johnp@redhat.com> 2.9.91-3
  157. - Build in rawhide
  158. - Disable build on s390 and s390x
  159. * Fri Feb 25 2005 John (J5) Palmieri <johnp@redhat.com> 2.9.91-2
  160. - Reenabled BuildRequires for hal-devel >= 0.5.0
  161. - Added (Build)Requires for nautilus-cd-burner(-devel) >= 2.9.6
  162. * Wed Feb 23 2005 John (J5) Palmieri <johnp@redhat.com> 2.9.91-1
  163. - New upstream version (version jump resulted from sound-juicer using gnome
  164. versioning scheme)
  165. * Fri Feb 04 2005 Colin Walters <walters@redhat.com> 0.6.0-1
  166. - New upstream version
  167. - Remove obsoleted sound-juicer-idle-safety.patch
  168. - BR latest gnome-media
  169. * Fri Nov 12 2004 Warren Togami <wtogami@redhat.com> 0.5.14-5
  170. - minor spec cleanups
  171. - req cdparanoia and gstreamer-plugins
  172. * Tue Nov 09 2004 Colin Walters <walters@redhat.com> 0.5.14-4
  173. - Add sound-juicer-idle-safety.patch (bug 137847)
  174. * Wed Oct 27 2004 Colin Walters <walters@redhat.com> 0.5.14-2
  175. - Actually enable HAL
  176. - BR hal-devel
  177. * Wed Oct 13 2004 Colin Walters <walters@redhat.com> 0.5.14-1
  178. - New upstream
  179. - This release fixes corruption on re-read, upstream 153085
  180. - Remove upstreamed sound-juicer-0.5.13-prefs-crash.patch
  181. * Mon Oct 04 2004 Colin Walters <walters@redhat.com> 0.5.13-2
  182. - Apply patch to avoid prefs crash
  183. * Tue Sep 28 2004 Colin Walters <walters@redhat.com> 0.5.13-1
  184. - New upstream 0.5.13
  185. * Mon Sep 27 2004 Colin Walters <walters@redhat.com> 0.5.12.cvs20040927-1
  186. - New upstream CVS snapshot, 20040927
  187. * Mon Sep 20 2004 Colin Walters <walters@redhat.com> 0.5.12-1
  188. - New upstream version 0.5.12
  189. - Delete upstreamed patch sound-juicer-0.5.9-pref-help.patch
  190. - Delete upstreamed patch sound-juicer-0.5.10-gstreamer.patch
  191. - Delete call to autoconf
  192. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  193. - rebuilt
  194. * Tue Mar 16 2004 Jeremy Katz <katzj@redhat.com> 0.5.10.1-8
  195. - rebuild for new gstreamer
  196. * Thu Mar 11 2004 Brent Fox <bfox@redhat.com> 0.5.10.1-5
  197. - rebuild
  198. * Fri Feb 27 2004 Brent Fox <bfox@redhat.com> 0.5.10.1-3
  199. - rebuild
  200. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  201. - rebuilt
  202. * Thu Feb 5 2004 Brent Fox <bfox@redhat.com> 0.5.10.1-1
  203. - new version
  204. * Wed Jan 28 2004 Alexander Larsson <alexl@redhat.com> 0.5.9-4
  205. - rebuild to use new gstreamer
  206. * Fri Jan 16 2004 Brent Fox <bfox@redhat.com> 0.5.9-3
  207. - add %preun to clean up GConf entries on uninstall
  208. * Wed Jan 14 2004 Brent Fox <bfox@redhat.com> 0.5.9-2
  209. - create init patch to make help work
  210. * Tue Jan 13 2004 Brent Fox <bfox@redhat.com> 0.5.9-1
  211. - update to 0.5.9
  212. * Mon Dec 15 2003 Christopher Blizzard <blizzard@redhat.com> 0.5.8-1
  213. - Add upstream patch that fixes permissions of created directories.
  214. * Wed Dec 03 2003 Christopher Blizzard <blizzard@redhat.com> 0.5.8-0
  215. - Update to 0.5.8
  216. * Tue Oct 21 2003 Brent Fox <bfox@redhat.com> 0.5.5-1
  217. - update to 0.5.5-1
  218. * Mon Sep 1 2003 Jonathan Blandford <jrb@redhat.com>
  219. - warning dialog fix
  220. - add a quality option
  221. * Fri Aug 29 2003 Elliot Lee <sopwith@redhat.com> 0.5.2-5
  222. - scrollkeeper stuff should be removed
  223. * Wed Aug 27 2003 Brent Fox <bfox@redhat.com> 0.5.2-4
  224. - remove ExcludeArches since libmusicbrainz is building on all arches now
  225. * Wed Aug 27 2003 Brent Fox <bfox@redhat.com> 0.5.2-3
  226. - bump relnum
  227. * Wed Aug 27 2003 Brent Fox <bfox@redhat.com> 0.5.2-2
  228. - spec file cleanups
  229. - add exclude arch for ia64, x86_64, ppc64, and s390x
  230. - add %file macros
  231. - remove Requires for gstreamer-cdparanoia and gstreamer-vorbis
  232. * Tue Apr 22 2003 Frederic Crozat <fcrozat@mandrakesoft.com>
  233. - Use more macros
  234. * Sun Apr 20 2003 Ronald Bultje <rbultje@ronald.bitfreak.net>
  235. - Make spec file for sound-juicer (based on netRB spec file)