Author: jajcus                       Date: Fri May 22 18:04:25 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new spec

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

---- Diffs:

================================================================
Index: packages/python-geojson/python-geojson.spec
diff -u /dev/null packages/python-geojson/python-geojson.spec:1.1
--- /dev/null   Fri May 22 20:04:25 2009
+++ packages/python-geojson/python-geojson.spec Fri May 22 20:04:20 2009
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+%define        module  geojson
+Summary:       Encoder/decoder for simple GIS features
+Name:          python-%{module}
+Version:       1.0.1
+Release:       0.1
+License:       BSD
+Group:         Development/Languages/Python
+Source0:       
http://pypi.python.org/packages/source/g/geojson/geojson-1.0.1.tar.gz
+# Source0-md5:  e71eadfa718684480b99f6be5269558a
+URL:           http://pypi.python.org/pypi/geojson
+BuildRequires: python-devel
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+Requires:              python-modules
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package contains:
+- The reference implementation of the Python geo interface.
+- Functions for encoding and decoding GeoJSON (http://geojson.org) formatted
+  data.
+
+Geojson provides geometry, feature, and collection classes, and supports
+pickle-style dump and load of objects that provide the lab's Python geo
+interface. 
+
+%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 CHANGES.txt CREDITS.txt DEPENDENCIES.txt FAQ.txt GeoInterface.txt 
README.txt VERSION.txt
+%{py_sitescriptdir}/geojson/*.py[co]
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/geojson-*.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  2009/05/22 18:04:20  jajcus
+- new spec
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to