goobox-vl.spec 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. %define pkg_version 3.0.0
  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.0/%{name}-%{version}.tar.xz
  9. Patch0: goobox-3.0.0-makefile.patch
  10. License: GPLv2
  11. Group: Applications/Multimedia
  12. URL: http://people.gnome.org/~paobac/goobox/
  13. Requires(post,postun): glib2
  14. Requires(post,postun): desktop-file-utils
  15. BuildRequires: gtk3-devel
  16. BuildRequires: GConf2-devel
  17. BuildRequires: gstreamer-devel
  18. BuildRequires: libmusicbrainz3-devel
  19. BuildRequires: libdiscid-devel
  20. BuildRequires: brasero-devel
  21. BuildRequires: libnotify-devel
  22. BuildRequires: libSM-devel
  23. BuildRequires: gnome-doc-utils
  24. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  25. Vendor: Project Vine
  26. Distribution: Vine Linux
  27. Packager: Takemikaduchi
  28. %description
  29. Goobox is a CD player and ripper well integrated with the GNOME environment.
  30. %description -l ja
  31. Goobox は GNOME 環境で統合された CD プレイヤ・リッパーです。
  32. %prep
  33. %setup -q
  34. %patch0 -p1
  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. update-desktop-database -q
  46. touch --no-create %{_datadir}/icons/hicolor
  47. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  48. %postun
  49. update-desktop-database -q
  50. touch --no-create %{_datadir}/icons/hicolor
  51. if [ $1 -eq 0 ]; then
  52. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  53. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  54. fi
  55. %posttrans
  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}/applications/goobox.desktop
  63. %{_datadir}/glib-2.0/schemas/org.gnome.Goobox.gschema.xml
  64. %{_datadir}/goobox/ui/*.ui
  65. %{_datadir}/icons/hicolor/*/apps/*.png
  66. %changelog
  67. * Thu Oct 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1
  68. - initial build for Vine Linux