sound-juicer-vl.spec 9.0 KB

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