source: subversion/applications/utils/export/osm2pgsql-intarray/osm2pgsql.spec.in @ 28719

Last change on this file since 28719 was 24099, checked in by hholzgra, 9 years ago
  • improved configure setup (including automake and libtool)
  • support for different input readers besides libxml2 OSM XML parsing
  • "primitive" XML parser integrated into the main binary
  • OSM PBF parser
File size: 3.0 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}.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
53%{_bindir}/osm2pgsql
54
55
56%changelog
57* Sun Nov 23 2008 Keith Sharp <kms@passback.co.uk> - 0.55-1.20081123
58- Fixed case of README.txt filename in Makefile
59- Fixed case of README.txt filename in osm2pgsql.spec.in
60- Fixed make clean to remove generated osm2pgsql.spec file
61
62* Mon Sep  3 2007 Jon Burgess <jburgess777@googlemail.com> - 0.06-1.20070903
63- Add several command line options and help text
64- "--append" mode which imports extra data into the DB
65- "--database" to specify the Postgresql DB name
66- "--slim" to select the middle_ram code
67- Multiple files can be read sequentially, e.g. lots of tiger county.osm files
68
69* Sun Aug 19 2007 Jon Burgess <jburgess777@googlemail.com> - 0.04-1.20070812
70- Allow polygon data types to appear as linestring if not closed (was broken by previous change)
71- Handle exception when finding an interior point of a complex polygon geometry
72- Add in a text cache for key/value pairs
73- Switch to 65k blocks for object store
74- Exclude source= during import
75- The above changes save around 10% memory usage during a planet import
76- Push leisure= polygons down to improve rendering
77
78* Sun Aug 19 2007 Jon Burgess <jburgess777@googlemail.com> - 0.3-1.20070812
79- Handle polygons with holes properly
80- Export a couple more keys
81
82* Sun Aug 12 2007 Jon Burgess <jburgess777@googlemail.com> - 0.2-1.20070812
83- Added rpm build target to SVN osm2pgsql source
84- Enhanced middle-ram to remove hard coded maximum IDs
85- Support negative IDs in middle-ram
86- Replace centroid with interior to cope with unusual pareking polygons
87 
88* Tue Jul 31 2007 Keith Sharp <kms@passback.co.uk> 0.1-2.20070728svn
89- Fixed BuidlRequires so that Mock builds work.
90
91* Sat Jul 28 2007 Keith Sharp <kms@passback.co.uk> 0.1-1.20070728svn
92- Updated to latest SVN, now includes UTF8Sanitize functioanlity
93- Building on F7 now has latest GEOS
94
95* Fri Mar 16 2007 Keith Sharp <kms@passback.co.uk> 0.1-1.20070316svn
96- Initial build
Note: See TracBrowser for help on using the repository browser.