]> git.openstreetmap.org Git - nominatim.git/blob - nominatim/nominatim.spec.in
On postcode searches observe given bounded viewbox
[nominatim.git] / nominatim / nominatim.spec.in
1
2 %define svn @SVN@
3
4 Summary: Nominatim OpenStreetMap geocoding database
5 Name:    @PACKAGE@
6 Group:   Applications/Text
7 Version: @VERSION@
8 Release: 1.%{svn}%{?dist}
9
10 License: GPL
11 URL:     http://svn.openstreetmap.org/applications/utils/nominatim
12 Source0: %{name}-%{version}-%{svn}.tar.bz2
13 Source1: nominatim-svn.sh
14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
15
16 BuildRequires: geos-devel
17 BuildRequires: libxml2-devel
18 BuildRequires: postgresql-devel
19 BuildRequires: bzip2-devel
20 BuildRequires: proj-devel
21
22 %description
23 Processes data imported using osm2pgsql from the communtiy mapping project
24 at http://www.openstreetmap.org.
25
26 %prep
27 %setup -q  -n %{name}
28
29
30 %build
31
32 export CFLAGS="$RPM_OPT_FLAGS"
33 export CXXFLAGS="$RPM_OPT_FLAGS"
34
35 make all
36
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -D -p nominatim $RPM_BUILD_ROOT/usr/bin/nominatim
41
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46
47 %files
48 %defattr(-,root,root)
49 %doc README.txt
50 %{_bindir}/nominatim
51
52
53 %changelog
54 * Fri Sep 09 2010 Brian Quinion <nominatim@brian.quinion.co.uk> 0.1-1.20070316svn
55 - Initial build