goobox-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. %define pkg_version 3.3.3
  2. %define pkg_release 1%{?_dist_release}
  3. Summary: A Compact Disk Player and Ripper for GNOME
  4. Summary(ja): GNOME 向け CD プレイヤ・リッパー
  5. Name: goobox
  6. Version: %{pkg_version}
  7. Release: %{pkg_release}
  8. Source0: http://download.gnome.org/sources/%{name}/3.3/%{name}-%{version}.tar.xz
  9. License: GPLv2
  10. Group: Applications/Multimedia
  11. URL: http://people.gnome.org/~paobac/goobox/
  12. Requires(posttrans,postun): glib2
  13. Requires(posttrans,postun): desktop-file-utils
  14. BuildRequires: gtk3-devel
  15. BuildRequires: GConf2-devel
  16. BuildRequires: gstreamer1-devel
  17. BuildRequires: libmusicbrainz5-devel
  18. BuildRequires: libdiscid-devel
  19. BuildRequires: brasero-devel
  20. BuildRequires: libnotify-devel
  21. BuildRequires: libSM-devel
  22. BuildRequires: itstool
  23. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  24. Vendor: Project Vine
  25. Distribution: Vine Linux
  26. Packager: Takemikaduchi
  27. %description
  28. Goobox is a CD player and ripper well integrated with the GNOME environment.
  29. %description -l ja
  30. Goobox は GNOME 環境で統合された CD プレイヤ・リッパーです。
  31. %prep
  32. %setup -q
  33. sed -i "s|LDFLAGS = @LDFLAGS@|LDFLAGS = @LDFLAGS@ -lm|" Makefile.in
  34. sed -i "s|LDFLAGS = @LDFLAGS@|LDFLAGS = @LDFLAGS@ -lm|" src/Makefile.in
  35. %build
  36. %configure --disable-static
  37. %{__make} %{?_smp_mflags}
  38. %install
  39. %{__rm} -rf ${RPM_BUILD_ROOT}
  40. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  41. %find_lang %{name} --with-gnome
  42. %clean
  43. %{__rm} -rf ${RPM_BUILD_ROOT}
  44. %post
  45. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  46. %postun
  47. if [ $1 -eq 0 ]; then
  48. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  49. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  50. update-desktop-database -q &> /dev/null ||:
  51. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  52. fi
  53. %posttrans
  54. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  55. update-desktop-database -q &> /dev/null ||:
  56. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  57. %files -f %{name}.lang
  58. %defattr(-,root,root)
  59. %doc COPYING ChangeLog NEWS README
  60. %{_bindir}/goobox
  61. %{_datadir}/GConf/gsettings/goobox.convert
  62. %{_datadir}/appdata/goobox.appdata.xml
  63. %{_datadir}/applications/goobox.desktop
  64. %{_datadir}/glib-2.0/schemas/org.gnome.Goobox.gschema.xml
  65. %{_datadir}/icons/hicolor/*/apps/*.png
  66. %changelog
  67. * Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.3.3-1
  68. - new upstream release
  69. - remove Patch0
  70. - change BuildRequires: gstreamer1-devel instead of gstreamer-devel
  71. - change BuildRequires: libmusicbrainz5-devel instead of libmusicbrainz3-devel
  72. - add BuildRequires: itstool
  73. * Thu Oct 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1
  74. - initial build for Vine Linux