source: projects/specs/trunk/g/geocode-glib/geocode-glib-vl.spec @ 7938

Revision 7938, 2.2 KB checked in by Takemikaduchi, 11 years ago (diff)

GNOME-3.10.1

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