geocode-glib-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. Summary: Helper library for geocoding services
  2. Name: geocode-glib
  3. Version: 3.26.2
  4. Release: 1%{?_dist_release}
  5. Vendor: Project Vine
  6. Distribution: Vine Linux
  7. License: GPLv2
  8. URL: https://git.gnome.org/browse/geocode-glib
  9. %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
  10. Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
  11. BuildRequires: meson
  12. BuildRequires: glib2-devel >= 2.34
  13. BuildRequires: json-glib-devel >= 0.16.2
  14. BuildRequires: libsoup-devel
  15. BuildRequires: gobject-introspection-devel
  16. BuildRequires: gtk-doc
  17. %description
  18. geocode-glib is a convenience library for the geocoding (finding longitude,
  19. and latitude from an address) and reverse geocoding (finding an address from
  20. coordinates). It uses Nominatim service to achieve that. It also caches
  21. (reverse-)geocoding requests for faster results and to avoid unnecessary server
  22. load.
  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. Header files and libraries for building a extension library for the %{name}.
  31. %package docs
  32. Summary: Documentation for %{name}
  33. Summary(ja): %{name} 用のドキュメント
  34. Group: Documentation
  35. Requires: %{name} = %{version}-%{release}
  36. BuildArch: noarch
  37. %description docs
  38. This package contains documentation for %{name}.
  39. %prep
  40. %setup -q
  41. %build
  42. export LANG=ja_JP.UTF-8
  43. %meson \
  44. -Denable-installed-tests=false
  45. %meson_build
  46. %install
  47. export LANG=ja_JP.UTF-8
  48. rm -rf %{buildroot}
  49. %meson_install
  50. %post -p /sbin/ldconfig
  51. %postun -p /sbin/ldconfig
  52. %files
  53. %defattr(-,root,root,-)
  54. %license COPYING.LIB
  55. %doc ChangeLog NEWS README
  56. %{_libdir}/libgeocode-glib.so.*
  57. %{_libdir}/girepository-1.0/GeocodeGlib-1.0.typelib
  58. %{_datadir}/icons/gnome/scalable/places/*.svg
  59. %files devel
  60. %defattr(-,root,root,-)
  61. %{_includedir}/%{name}-1.0
  62. %{_libdir}/libgeocode-glib.so
  63. %{_libdir}/pkgconfig/%{name}-1.0.pc
  64. %{_datadir}/gir-1.0/GeocodeGlib-1.0.gir
  65. %files docs
  66. %defattr(-,root,root,-)
  67. %{_datadir}/gtk-doc/html/%{name}
  68. %changelog
  69. * Tue Aug 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.26.2-1
  70. - new upstream release.
  71. * Mon Dec 31 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.26.0-1
  72. - new upstream release.
  73. * Sun Jul 17 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.1-1
  74. - new upstream release
  75. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1
  76. - new upstream release
  77. * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
  78. - new upstream release
  79. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  80. - new upstream release
  81. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1
  82. - new upstream release
  83. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
  84. - new upstream release
  85. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  86. - new upstream release
  87. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-2
  88. - rebuild with VineSeed environment
  89. * Sun Oct 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1
  90. - initial build