gnome-music-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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.18.0
  6. Release: 1%{?_dist_release}
  7. License: GPLv2+
  8. Group: User Interface/Desktops
  9. URL: https://wiki.gnome.org/Apps/Music
  10. Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.18/%{name}-%{version}.tar.xz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gtk3-devel
  13. BuildRequires: python3-devel
  14. BuildRequires: grilo-devel
  15. BuildRequires: libmediaart-devel
  16. BuildRequires: yelp-tools
  17. Requires(postun,posttrans): desktop-file-utils
  18. Requires: python3-pygobject
  19. Requires: dbus-python3
  20. Requires: python3-pycairo
  21. Requires: python3-requests
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. Packager: Takemikaduchi
  25. %description
  26. Music application designed for GNOME 3
  27. %description -l ja
  28. gnome-music は GNOME3 向けに作られた音楽アプリケーションです。
  29. %package devel
  30. Summary: Development tools for %{name}
  31. Summary(ja): %{name} の開発環境
  32. Group: Development/Libraries
  33. Requires: %{name} = %{version}-%{release}
  34. Requires: pkgconfig
  35. %description devel
  36. %{summary}
  37. %prep
  38. %setup -q
  39. %build
  40. %configure --disable-static
  41. make %{?_smp_mflags}
  42. %install
  43. rm -rf $RPM_BUILD_ROOT
  44. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  45. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  46. rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
  47. %find_lang %{name} --with-gnome
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %post
  51. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  52. %postun
  53. if [ $1 -eq 0 ]; then
  54. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  55. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  56. update-desktop-database -q &> /dev/null ||:
  57. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  58. fi
  59. %posttrans
  60. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  61. update-desktop-database -q &> /dev/null ||:
  62. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  63. %files -f %{name}.lang
  64. %defattr(-,root,root,-)
  65. %doc COPYING README NEWS
  66. %{_bindir}/%{name}
  67. %{python3_sitelib}/gnomemusic
  68. %{_libdir}/%{name}/girepository-1.0/Gd-1.0.typelib
  69. %{_libdir}/%{name}/libgd.so
  70. %{_datadir}/appdata/%{name}.appdata.xml
  71. %{_datadir}/applications/%{name}.desktop
  72. %{_datadir}/glib-2.0/schemas/org.gnome.Music.gschema.xml
  73. %{_datadir}/%{name}/gnome-music.gresource
  74. %{_datadir}/icons/*/*/*/*
  75. %{_mandir}/man1/gnome-music.1.gz
  76. %files devel
  77. %defattr(-,root,root,-)
  78. %{_datadir}/%{name}/gir-1.0/Gd-1.0.gir
  79. %changelog
  80. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1
  81. - new upstream release
  82. - add Requires: python3-requests
  83. * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
  84. - new upstream release
  85. * Sun May 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-2
  86. - add Requires: python3-pycairo
  87. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
  88. - new upstream release
  89. * Mon Mar 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  90. - new upstream release
  91. * Sun Feb 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.3.1-1
  92. - new upstream release
  93. * Wed Jan 28 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.3-1
  94. - new upstream release
  95. * Sun Nov 23 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-2
  96. - fix typo in Group
  97. * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
  98. - new upstream release
  99. * Wed Oct 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
  100. - new upstream release
  101. - add BuildRequires: libmediaart-devel
  102. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2.1-1
  103. - new upstream release
  104. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  105. - new upstream release
  106. * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  107. - new upstream release
  108. - add BuildRequires: yelp-tools
  109. - add Requires: python3-pygobject, dbus-python3
  110. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
  111. - rebuild with VineSeed environment
  112. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  113. - initial build