summaryrefslogtreecommitdiffstats
path: root/spatialite-tools.spec
blob: 8ca2f1c61c6be1e8414a4e13fea64d75c35066a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Name:           spatialite-tools
Version:        2.4.0
Release:        0.3.RC4%{?dist}
Summary:        A set of useful CLI tools for SpatiaLite

Group:          Development/Tools
License:        GPLv3+
Source0:        http://www.gaia-gis.it/spatialite-%{version}-4/%{name}-%{version}.tar.gz
URL:            http://www.gaia-gis.it/spatialite/index.html
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

BuildRequires:  expat-devel
BuildRequires:  libspatialite-devel sqlite-devel proj-devel geos-devel

# No libspatialite for ppc64 -- see #663938
ExcludeArch:    ppc64

%description
A set of useful CLI tools for SpatiaLite.


%prep
%setup -q

# Remove unused Makefiles
rm -f Makefile-static*


%build
# Add libm (floor); Reported upstream via e-mail 15 Jan 2011
%configure LDFLAGS="-lm"
make %{?_smp_mflags}


%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{_bindir}/*


%changelog
* Fri Feb 25 2011 Volker Fröhlich <volker27@gmx.at> - 2.4.0-0.3.RC4
- Exclude ppc64

* Fri Jan 14 2011 Volker Fröhlich <volker27@gmx.at> - 2.4.0-0.2.RC4
- Dropped prefix from configure macro
- Corrected license
- Use macros in source URL

* Mon Dec 20 2010 Volker Fröhlich <volker27@gmx.at> - 2.4.0-0.1.RC4
- Inital packaging