[packages/geocode-glib] Initial release

megabajt megabajt at pld-linux.org
Wed Mar 27 12:19:24 CET 2013

commit 9a70b753533149bc24ea9c562f9dfb7e5b28759e
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date:   Wed Mar 27 12:18:25 2013 +0100

    Initial release

 geocode-glib.spec | 122 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 122 insertions(+)
diff --git a/geocode-glib.spec b/geocode-glib.spec
new file mode 100644
index 0000000..8018fc5
--- /dev/null
+++ b/geocode-glib.spec
@@ -0,0 +1,122 @@
+# Conditional build:
+%bcond_without	apidocs		# do not build and package API docs
+%bcond_without	static_libs	# don't build static libraries
+Summary:	GLib geocoding library that uses the Yahoo! Place Finder service
+Name:		geocode-glib
+Version:	0.99.0
+Release:	1
+License:	LGPL v2+
+Group:		Libraries
+Source0:	http://download.gnome.org/sources/geocode-glib/0.99/%{name}-%{version}.tar.bz2
+# Source0-md5:	73ac778225f35ad996ea0345c5abe4b9
+BuildRequires:	autoconf >= 2.52
+BuildRequires:	automake >= 1:1.8
+BuildRequires:	gettext-devel
+BuildRequires:	glib2-devel >= 1:2.16.0
+BuildRequires:	gnome-common
+BuildRequires:	gobject-introspection-devel >= 0.6.3
+BuildRequires:	gtk-doc >= 1.9
+BuildRequires:	intltool >= 0.35.0
+BuildRequires:	json-glib-devel >= 0.13.1
+BuildRequires:	libsoup-devel
+BuildRequires:	libtool
+BuildRequires:	pkgconfig
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+geocode-glib allows you to do geocoding (going from a place name, to a
+longitude/latitude pair) and reverse geocoding (finding a place name
+from coordinates).
+%package devel
+Summary:	Header files for geocode-glib library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki geocode-glib
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+%description devel
+Header files for geocode-glib library.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki geocode-glib.
+%package static
+Summary:	Static geocode-glib library
+Summary(pl.UTF-8):	Statyczna biblioteka geocode-glib
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+%description static
+Static geocode-glib library.
+%description static -l pl.UTF-8
+Statyczna biblioteka geocode-glib.
+%package apidocs
+Summary:	geocode-glib API documentation
+Summary(pl.UTF-8):	Dokumentacja API biblioteki geocode-glib
+Group:		Documentation
+Requires:	gtk-doc-common
+%description apidocs
+API documentation for geocode-glib library.
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki geocode-glib.
+%setup -q
+%configure \
+	%{__enable_disable apidocs gtk-doc} \
+	%{__enable_disable static_libs static} \
+	--with-html-dir=%{_gtkdocdir}
+%{__make} install \
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+%attr(755,root,root) %{_libdir}/libgeocode-glib.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgeocode-glib.so.0
+%files devel
+%attr(755,root,root) %{_libdir}/libgeocode-glib.so
+%if %{with static_libs}
+%files static
+%if %{with apidocs}
+%files apidocs

---- gitweb:


More information about the pld-cvs-commit mailing list