geocode-glib-vl.spec 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. Name: geocode-glib
  2. Version: 3.10.0
  3. Release: 2%{?_dist_release}
  4. Summary: Geocode Helper library
  5. Group: Development/Libraries
  6. License: GPLv2
  7. URL: https://git.gnome.org/browse/geocode-glib
  8. Source: http://download.gnome.org/sources/%{name}/3.10/%{name}-%{version}.tar.xz
  9. BuildRequires: glib2-devel >= 2.34
  10. BuildRequires: json-glib-devel >= 0.16.2
  11. BuildRequires: libsoup-devel
  12. BuildRequires: gobject-introspection-devel
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Packager: Takemikaduchi
  16. %description
  17. geocode-glib is a convenience library for the geocoding (finding longitude,
  18. and latitude from an address) and reverse geocoding (finding an address from
  19. coordinates). It uses Nominatim service to achieve that. It also caches
  20. (reverse-)geocoding requests for faster results and to avoid unnecessary server
  21. load.
  22. %package devel
  23. Summary: Development tools for %{name}
  24. Summary(ja): %{name} の開発環境
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. Requires: pkgconfig
  28. %description devel
  29. Header files and libraries for building a extension library for the %{name}.
  30. %package docs
  31. Summary: Documentation for %{name}
  32. Summary(ja): %{name} 用のドキュメント
  33. Group: Documentation
  34. Requires: %{name} = %{version}-%{release}
  35. BuildArch: noarch
  36. %description docs
  37. This package contains documentation for %{name}.
  38. %prep
  39. %setup -q
  40. %build
  41. %configure \
  42. --with-libproxy
  43. make %{?_smp_mflags}
  44. %install
  45. make install DESTDIR=$RPM_BUILD_ROOT
  46. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  47. %post -p /sbin/ldconfig
  48. %postun -p /sbin/ldconfig
  49. %files
  50. %defattr(-,root,root,-)
  51. %doc COPYING.LIB ChangeLog NEWS README
  52. %{_libdir}/libgeocode-glib.so.*
  53. %{_libdir}/girepository-1.0/GeocodeGlib-1.0.typelib
  54. %files devel
  55. %defattr(-,root,root,-)
  56. %{_includedir}/%{name}-1.0
  57. %{_libdir}/libgeocode-glib.so
  58. %{_libdir}/pkgconfig/%{name}-1.0.pc
  59. %{_datadir}/gir-1.0/GeocodeGlib-1.0.gir
  60. %files docs
  61. %defattr(-,root,root,-)
  62. %{_datadir}/gtk-doc/html/%{name}-1.0
  63. %changelog
  64. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-2
  65. - rebuild with VineSeed environment
  66. * Sun Oct 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1
  67. - initial build