[OSM-dev] OSM tools RPMs for Fedora Core 6

Jon Burgess jburgess777 at googlemail.com
Fri Mar 23 17:53:50 GMT 2007

On Fri, 2007-03-23 at 11:36 +0000, Keith Sharp wrote:
> On Fri, 2007-03-16 at 13:52 +0000, Keith Sharp wrote:
> > Hello,
> > 
> > I've packaged a couple of the OSM tools: UTF8sanitize and osm1pgsql, and
> > the Perl Math::Polygon library as RPMs for Fedora Core 6.  You can get
> > them from:
> > 
> > 	http://www.passback.co.uk/maps/rpms/
> > 
> Two update:
> 1) Due to space constraints on that web site I've moved the RPMs to:
> 	http://www.passback.org.uk/maps/rpms/
> If you go to the old URL redirection should happen!
> 2) I've built an RPM for Mapnik 0.4.0, available from the above URL.
> Feedback welcome,
> Keith.

Does building mapnik really require scons? I managed to build the
package using the attached spec file using the copy of scons bundled
with mapnik. I replaced the scons dependency with one on python >= 1.5.2
which is mentioned in mapnik/scons/scons-README.


> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
-------------- next part --------------
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:    mapnik
Version: 0.4.0
Release: 2%{?dist}
Summary: Library providing algorithms for spatial data access and visualization.

Group:     Development/Libraries
License:   LGPL
URL:       http://www.mapnik.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Source:  http://download.berlios.de/mapnik/mapnik-0.4.0.tar.gz

BuildRequires: python >= 1.5.2
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: zlib-devel
BuildRequires: freetype-devel
BuildRequires: postgresql-devel
BuildRequires: proj-devel
BuildRequires: boost-devel

Mapnik is an OpenSource C++/Python toolkit for developing GIS (Geographic 
Information Systems) applications. At the core is a C++ shared library 
providing algorithms/patterns for spatial data access and visualization.

Essentially a collection of geographic objects (map, layer, datasource, 
feature, geometry), the library doesn't rely on "windowing systems" and can 
be deployed in any server environment.  It is intended to play fair in a 
multi-threaded environment and is aimed primarily, but not exclusively, 
at web-based development.

High-level Python bindings (boost.python) facilitate rapid application 
development, targeting zope3, django etc.

%setup -q

scons/scons.py PREFIX=/usr DESTDIR=%{buildroot} %{?_smp_mflags}

rm -rf %{buildroot}
scons/scons.py PREFIX=/usr DESTDIR=%{buildroot} install

rm -rf %{buildroot}

%exclude %{_bindir}/.sconsign
%exclude %{_libdir}/.sconsign

* Fri Mar 23 2007 Keith Sharp <kms at passback.co.uk> 0.4.0-1
- Initial packaging.

More information about the dev mailing list