Author: arekm                        Date: Sun Jun 13 17:36:29 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

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

---- Diffs:

================================================================
Index: packages/python-geopy/python-geopy.spec
diff -u /dev/null packages/python-geopy/python-geopy.spec:1.1
--- /dev/null   Sun Jun 13 19:36:29 2010
+++ packages/python-geopy/python-geopy.spec     Sun Jun 13 19:36:24 2010
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+%define        module  geopy
+Summary:       A Geocoding Toolbox for Python
+Name:          python-%{module}
+Version:       0.94
+Release:       1
+License:       MIT
+Group:         Development/Languages/Python
+Source0:       http://geopy.googlecode.com/files/geopy-%{version}.tar.gz
+# Source0-md5: 09c7f9e59136cec5db7d163e55d3bc68
+URL:           http://code.google.com/p/geopy/
+BuildRequires: python-devel
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+geopy makes it easy for developers to locate the coordinates of
+addresses, cities, countries, and landmarks across the globe using
+third-party geocoders and other data sources, such as wikis.
+
+geopy currently includes support for six geocoders: Google Maps,
+Yahoo! Maps, Windows Local Live (Virtual Earth), geocoder.us,
+GeoNames, MediaWiki pages (with the GIS extension), and Semantic
+MediaWiki pages.
+
+%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 RELEASES
+%dir %{py_sitescriptdir}/geopy
+%{py_sitescriptdir}/geopy/*.py[co]
+%dir %{py_sitescriptdir}/geopy/geocoders
+%{py_sitescriptdir}/geopy/geocoders/*.py[co]
+%dir %{py_sitescriptdir}/geopy/parsers
+%{py_sitescriptdir}/geopy/parsers/*.py[co]
+%dir %{py_sitescriptdir}/geopy/tests
+%{py_sitescriptdir}/geopy/tests/*.py[co]
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/geopy-*.egg-info
+%endif
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/06/13 17:36:24  arekm
+- initial
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to