geocode-glib/geocode-glib.spec

97 lines
2.5 KiB
RPMSpec
Raw Normal View History

2013-09-24 21:52:12 +00:00
%global json_glib_version 0.16.2
2013-08-23 14:56:42 +00:00
Name: geocode-glib
2014-03-18 15:27:10 +00:00
Version: 3.11.92
2013-09-03 17:40:11 +00:00
Release: 1%{?dist}
2013-08-23 14:56:42 +00:00
Summary: Geocoding helper library
License: LGPLv2+
URL: http://www.gnome.org/
2014-01-15 09:15:00 +00:00
Source0: http://download.gnome.org/sources/geocode-glib/3.11/geocode-glib-%{version}.tar.xz
2013-08-23 14:56:42 +00:00
BuildRequires: glib2-devel
BuildRequires: gobject-introspection-devel
BuildRequires: intltool
2013-09-24 21:52:12 +00:00
BuildRequires: json-glib-devel >= %{json_glib_version}
2013-08-23 14:56:42 +00:00
BuildRequires: libsoup-devel
2013-09-24 21:52:12 +00:00
Requires: json-glib%{?_isa} >= %{json_glib_version}
2013-08-23 14:56:42 +00:00
%description
geocode-glib is a convenience library for the geocoding (finding longitude,
and latitude from an address) and reverse geocoding (finding an address from
coordinates). It uses Nominatim service to achieve that. It also caches
(reverse-)geocoding requests for faster results and to avoid unnecessary server
load.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags} V=1
%install
%make_install
find $RPM_BUILD_ROOT -name '*.la' -delete
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc AUTHORS COPYING.LIB NEWS README
%{_libdir}/libgeocode-glib.so.*
%{_libdir}/girepository-1.0/GeocodeGlib-1.0.typelib
%files devel
%{_includedir}/geocode-glib-1.0/
%{_libdir}/libgeocode-glib.so
%{_libdir}/pkgconfig/geocode-glib-1.0.pc
2013-08-23 14:56:42 +00:00
%{_datadir}/gir-1.0/GeocodeGlib-1.0.gir
2014-02-05 11:18:38 +00:00
%{_datadir}/icons/gnome/scalable/places/*.svg
2013-08-23 14:56:42 +00:00
%doc %{_datadir}/gtk-doc/
%changelog
2014-03-18 15:27:10 +00:00
* Tue Mar 18 2014 Richard Hughes <rhughes@redhat.com> - 3.11.92-1
- Update to 3.11.92
2014-03-04 18:53:55 +00:00
* Tue Mar 04 2014 Richard Hughes <rhughes@redhat.com> - 3.11.91-1
- Update to 3.11.91
2014-02-05 10:53:17 +00:00
* Wed Feb 05 2014 Richard Hughes <rhughes@redhat.com> - 3.11.5-1
- Update to 3.11.5
2014-01-15 09:15:00 +00:00
* Wed Jan 15 2014 Richard Hughes <rhughes@redhat.com> - 3.11.4.1-1
- Update to 3.11.4.1
2013-09-24 21:48:30 +00:00
* Tue Sep 24 2013 Kalev Lember <kalevlember@gmail.com> - 3.10.0-1
- Update to 3.10.0
2013-09-24 21:52:12 +00:00
- Specify minimum json-glib version
2013-09-24 21:48:30 +00:00
2013-09-17 23:52:05 +00:00
* Wed Sep 18 2013 Kalev Lember <kalevlember@gmail.com> - 0.99.4-1
- Update to 0.99.4
2013-09-03 17:40:11 +00:00
* Tue Sep 03 2013 Kalev Lember <kalevlember@gmail.com> - 0.99.3-1
- Update to 0.99.3
* Sat Aug 31 2013 Kalev Lember <kalevlember@gmail.com> - 0.99.2-2
- Move the pkgconfig file to -devel
2013-08-23 14:56:42 +00:00
* Fri Aug 23 2013 Kalev Lember <kalevlember@gmail.com> - 0.99.2-1
- Initial Fedora packaging