packages: python-googlemaps/python-googlemaps.spec (NEW) - initial

arekm arekm at pld-linux.org
Sun Jun 13 20:45:35 CEST 2010


Author: arekm                        Date: Sun Jun 13 18:45:34 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

---- Files affected:
packages/python-googlemaps:
   python-googlemaps.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/python-googlemaps/python-googlemaps.spec
diff -u /dev/null packages/python-googlemaps/python-googlemaps.spec:1.1
--- /dev/null	Sun Jun 13 20:45:35 2010
+++ packages/python-googlemaps/python-googlemaps.spec	Sun Jun 13 20:45:29 2010
@@ -0,0 +1,57 @@
+# $Revision$, $Date$
+%define 	module	googlemaps
+Summary:	Python wrapper for the Google Maps and Local Search APIs
+Name:		python-%{module}
+Version:	1.0.2
+Release:	1
+License:	AGPL v3
+Group:		Development/Languages/Python
+Source0:	http://downloads.sourceforge.net/project/py-googlemaps/googlemaps-%{version}.tar.gz
+# Source0-md5:	314b5c32f083a2070efcec7f3942f6c8
+URL:		http://sourceforge.net/projects/py-googlemaps/
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Easy-to-use Python wrapper for the Google Maps and Local Search APIs.
+Provides geocoding, reverse geocoding, directions, and local search.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__python} setup.py install \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.txt doc/html/*
+%{py_sitescriptdir}/*.py[co]
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/googlemaps-*.egg-info
+%endif
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/06/13 18:45:29  arekm
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list