gnome-maps-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. %{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
  2. Summary: A simple GNOME 3 maps application
  3. Summary(ja): GNOME 3 用マップアプリケーション
  4. Name: gnome-maps
  5. Version: 3.14.2
  6. Release: 1%{?_dist_release}
  7. License: GPLv2+
  8. Group: User Interface/Deskops
  9. URL: https://wiki.gnome.org/Apps/Maps
  10. Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.14/%{name}-%{version}.tar.xz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gtk3-devel
  13. BuildRequires: gjs-devel
  14. BuildRequires: gobject-introspection-devel
  15. Requires(postun,posttrans): desktop-file-utils
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: Takemikaduchi
  19. %description
  20. Music application designed for GNOME 3
  21. %description -l ja
  22. gnome-music は GNOME3 向けに作られた音楽アプリケーションです。
  23. %package devel
  24. Summary: Development tools for %{name}
  25. Summary(ja): %{name} の開発環境
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. Requires: pkgconfig
  29. %description devel
  30. %{summary}
  31. %prep
  32. %setup -q
  33. %build
  34. %configure --disable-static
  35. make %{?_smp_mflags}
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  39. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  40. rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
  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 README NEWS
  60. %{_bindir}/%{name}
  61. %{_datadir}/appdata/org.gnome.Maps.appdata.xml
  62. %{_datadir}/applications/org.gnome.Maps.desktop
  63. %{_datadir}/dbus-1/services/org.gnome.Maps.service
  64. %{_datadir}/glib-2.0/schemas/org.gnome.maps.gschema.xml
  65. %{_datadir}/%{name}
  66. %{_datadir}/icons/*/*/*/*
  67. %changelog
  68. * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
  69. - new upstream release
  70. * Wed Oct 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1.2-1
  71. - new upstream release
  72. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
  73. - new upstream release
  74. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  75. - initial build