gnome-music-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. %{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
  2. Summary: Music applications for GNOME
  3. Summary(ja): GNOME 用音楽アプリケーション
  4. Name: gnome-music
  5. Version: 3.12.2.1
  6. Release: 1%{?_dist_release}
  7. License: GPLv2+
  8. Group: User Interface/Deskops
  9. URL: https://wiki.gnome.org/Apps/Music
  10. Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.12/%{name}-%{version}.tar.xz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gtk3-devel
  13. BuildRequires: python3-devel
  14. BuildRequires: grilo-devel
  15. BuildRequires: yelp-tools
  16. Requires(postun,posttrans): desktop-file-utils
  17. Requires: python3-pygobject
  18. Requires: dbus-python3
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: Takemikaduchi
  22. %description
  23. Music application designed for GNOME 3
  24. %description -l ja
  25. gnome-music は GNOME3 向けに作られた音楽アプリケーションです。
  26. %package devel
  27. Summary: Development tools for %{name}
  28. Summary(ja): %{name} の開発環境
  29. Group: Development/Libraries
  30. Requires: %{name} = %{version}-%{release}
  31. Requires: pkgconfig
  32. %description devel
  33. %{summary}
  34. %prep
  35. %setup -q
  36. %build
  37. %configure --disable-static
  38. make %{?_smp_mflags}
  39. %install
  40. rm -rf $RPM_BUILD_ROOT
  41. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  42. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  43. rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
  44. %find_lang %{name} --with-gnome
  45. %clean
  46. rm -rf $RPM_BUILD_ROOT
  47. %post
  48. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  49. %postun
  50. if [ $1 -eq 0 ]; then
  51. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  52. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  53. update-desktop-database -q &> /dev/null ||:
  54. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  55. fi
  56. %posttrans
  57. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  58. update-desktop-database -q &> /dev/null ||:
  59. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  60. %files -f %{name}.lang
  61. %defattr(-,root,root,-)
  62. %doc COPYING README NEWS
  63. %{_bindir}/%{name}
  64. %{python3_sitelib}/gnomemusic
  65. %{_libdir}/%{name}/girepository-1.0/Gd-1.0.typelib
  66. %{_libdir}/%{name}/libgd.so
  67. %{_datadir}/appdata/%{name}.appdata.xml
  68. %{_datadir}/applications/%{name}.desktop
  69. %{_datadir}/glib-2.0/schemas/org.gnome.Music.gschema.xml
  70. %{_datadir}/%{name}/gnome-music.gresource
  71. %{_datadir}/icons/hicolor/*/*/*
  72. %files devel
  73. %defattr(-,root,root,-)
  74. %{_datadir}/%{name}/gir-1.0/Gd-1.0.gir
  75. %changelog
  76. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2.1-1
  77. - new upstream release
  78. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  79. - new upstream release
  80. * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  81. - new upstream release
  82. - add BuildRequires: yelp-tools
  83. - add Requires: python3-pygobject, dbus-python3
  84. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
  85. - rebuild with VineSeed environment
  86. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  87. - initial build