[python-osmgpsmap] import package

Jeffrey C. Ollie jcollie at fedoraproject.org
Fri Sep 9 13:50:43 UTC 2011


commit 5ee34c276e346099f9790ea944cc3c6bd8906039
Author: Jeffrey C. Ollie <jeff at ocjtech.us>
Date:   Fri Sep 9 08:50:29 2011 -0500

    import package

 .gitignore            |    1 +
 python-osmgpsmap.spec |   68 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 70 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7f1b2aa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/python-osmgpsmap-0.7.3.tar.gz
diff --git a/python-osmgpsmap.spec b/python-osmgpsmap.spec
new file mode 100644
index 0000000..ec92c6f
--- /dev/null
+++ b/python-osmgpsmap.spec
@@ -0,0 +1,68 @@
+# Filter provides from python library.
+%{?filter_setup:
+%filter_provides_in %{python_sitearch}.*\.so$
+%filter_setup
+}
+
+Name:           python-osmgpsmap
+Version:        0.7.3
+Release:        4%{?dist}
+Summary:        Python bindings for osm-gps-map GTK+ widget
+
+Group:          Development/Languages
+License:        GPLv2
+URL:            http://nzjrs.github.com/osm-gps-map/
+Source0:        http://www.johnstowers.co.nz/files/osm-gps-map/%{name}-%{version}.tar.gz
+
+BuildRequires:  osm-gps-map-devel
+BuildRequires:  python-devel
+BuildRequires:  pygobject2-devel
+BuildRequires:  pygtk2-devel
+
+
+%description
+Python bindings for a GTK+ widget that when given GPS co-ordinates,
+draws a GPS track, and points of interest on a moving map
+display. Downloads map data from a number of websites, including
+openstreetmap.org.
+
+
+%prep
+%setup -q
+
+
+%build
+CFLAGS="%{optflags}" %{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+ 
+
+%files
+%doc AUTHORS ChangeLog COPYING NEWS README
+%{python_sitearch}/osmgpsmap.so
+%{python_sitearch}/python_osmgpsmap-%{version}-py*.egg-info
+
+
+%changelog
+* Wed Sep 07 2011 Richard Shaw <hobbes1069 at gmail.com> - 0.7.3-4
+- Updated license in spec file to GPLv2.
+- Update Source url in spec file to use %%{name} where appropriate.
+- Added ChangeLog NEWS and README to package documentation.
+
+* Sat Jul  2 2011 Jeffrey C. Ollie <jeff at ocjtech.us> - 0.7.3-3
+- Filter private shared library provides
+- use setup rather than setup0
+- drop defattr
+- Drop buildroot
+- Drop clean section
+- Use name of library rather than wildcard
+- Add COPYING file to doc
+
+* Wed May 11 2011 Jeffrey C. Ollie <jeff at ocjtech.us> - 0.7.3-2
+- Add missing BRs
+
+* Tue May  3 2011 Jeffrey C. Ollie <jeff at ocjtech.us> - 0.7.3-1
+- First version for Fedora
+
diff --git a/sources b/sources
index e69de29..ac15734 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a146583c13b9d77d8d003ee87916454d  python-osmgpsmap-0.7.3.tar.gz


More information about the scm-commits mailing list