source: subversion/applications/utils/export/osm2pgsql/osm2pgsql.spec.in @ 9267

Last change on this file since 9267 was 6816, checked in by jonb, 12 years ago

osm2pgsql: Add option to filter import with bounding box

File size: 2.8 KB
Line 
1
2%define svn @SVN@
3
4Summary: Imports map data from www.OpenStreetMap.org to a PostgresSQL database
5Name:    @PACKAGE@
6Group:   Applications/Text
7Version: @VERSION@
8Release: 1.%{svn}%{?dist}
9
10License: GPL
11URL:     http://svn.openstreetmap.org/applications/utils/export/osm2pgsql
12Source0: %{name}-%{version}-%{svn}.tar.bz2
13Source1: osm2pgsql-svn.sh
14BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15
16BuildRequires: geos-devel
17BuildRequires: libxml2-devel
18BuildRequires: postgresql-devel
19BuildRequires: bzip2-devel
20BuildRequires: proj-devel
21
22%description
23Processes the planet file from the communtiy mapping project at
24http://www.openstreetmap.org. The map data is converted from XML to a
25database stored in PostgreSQL with PostGIS geospatial extentions. This
26database may then be used to render maps with Mapnik or for other
27geospatial analysis.
28
29%prep
30%setup -q  -n %{name}
31
32
33%build
34
35export CFLAGS="$RPM_OPT_FLAGS"
36export CXXFLAGS="$RPM_OPT_FLAGS"
37
38make all
39
40
41%install
42rm -rf $RPM_BUILD_ROOT
43install -D -p osm2pgsql $RPM_BUILD_ROOT/usr/bin/osm2pgsql
44
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49
50%files
51%defattr(-,root,root)
52%doc readme.txt
53%{_bindir}/osm2pgsql
54
55
56%changelog
57* Mon Sep  3 2007 Jon Burgess <jburgess777@googlemail.com> - 0.06-1.20070903
58- Add several command line options and help text
59- "--append" mode which imports extra data into the DB
60- "--database" to specify the Postgresql DB name
61- "--slim" to select the middle_ram code
62- Multiple files can be read sequentially, e.g. lots of tiger county.osm files
63
64* Sun Aug 19 2007 Jon Burgess <jburgess777@googlemail.com> - 0.04-1.20070812
65- Allow polygon data types to appear as linestring if not closed (was broken by previous change)
66- Handle exception when finding an interior point of a complex polygon geometry
67- Add in a text cache for key/value pairs
68- Switch to 65k blocks for object store
69- Exclude source= during import
70- The above changes save around 10% memory usage during a planet import
71- Push leisure= polygons down to improve rendering
72
73* Sun Aug 19 2007 Jon Burgess <jburgess777@googlemail.com> - 0.3-1.20070812
74- Handle polygons with holes properly
75- Export a couple more keys
76
77* Sun Aug 12 2007 Jon Burgess <jburgess777@googlemail.com> - 0.2-1.20070812
78- Added rpm build target to SVN osm2pgsql source
79- Enhanced middle-ram to remove hard coded maximum IDs
80- Support negative IDs in middle-ram
81- Replace centroid with interior to cope with unusual pareking polygons
82 
83* Tue Jul 31 2007 Keith Sharp <kms@passback.co.uk> 0.1-2.20070728svn
84- Fixed BuidlRequires so that Mock builds work.
85
86* Sat Jul 28 2007 Keith Sharp <kms@passback.co.uk> 0.1-1.20070728svn
87- Updated to latest SVN, now includes UTF8Sanitize functioanlity
88- Building on F7 now has latest GEOS
89
90* Fri Mar 16 2007 Keith Sharp <kms@passback.co.uk> 0.1-1.20070316svn
91- Initial build
Note: See TracBrowser for help on using the repository browser.