spatialite-tools/spatialite-tools.spec

131 lines
3.6 KiB
RPMSpec
Raw Normal View History

%if 0%{?fedora} == 19
%global sqlitever 3.8.3
%endif
%if 0%{?fedora} == 20
2014-06-14 10:44:13 +00:00
%global sqlitever 3.8.5
%endif
%if 0%{?fedora} == 21
2014-06-14 10:44:13 +00:00
%global sqlitever 3.8.5
%endif
%if 0%{?rhel} == 6
%global sqlitever 3.6.20
%endif
2011-02-25 10:18:43 +00:00
Name: spatialite-tools
2013-07-01 21:36:26 +00:00
Version: 4.1.1
2014-06-14 10:44:13 +00:00
Release: 5%{?dist}
2011-02-25 10:18:43 +00:00
Summary: A set of useful CLI tools for SpatiaLite
Group: Development/Tools
License: GPLv3+
2012-08-18 12:51:08 +00:00
Source0: http://www.gaia-gis.it/gaia-sins/%{name}-%{version}.tar.gz
URL: https://www.gaia-gis.it/fossil/spatialite-tools
2011-02-25 10:18:43 +00:00
BuildRequires: expat-devel
2012-08-18 12:51:08 +00:00
BuildRequires: freexl-devel
2011-07-17 18:41:24 +00:00
BuildRequires: geos-devel
BuildRequires: libspatialite-devel
BuildRequires: proj-devel
BuildRequires: readline-devel
2012-08-18 12:51:08 +00:00
BuildRequires: readosm-devel
2011-07-17 18:41:24 +00:00
BuildRequires: sqlite-devel
2012-08-18 12:51:08 +00:00
BuildRequires: zlib-devel
# BZ 1048587
# The spatialite binary is a derivative of the sqlite shell and
# inherits its check for the exact same library version.
# This package thus requires a rebuild! Should be sorted out in 4.3!
Requires: sqlite %{?sqlitever: = %{sqlitever}}
2011-02-25 10:18:43 +00:00
%description
2011-07-17 18:41:24 +00:00
Spatialite-Tools is a set of useful CLI tools for SpatiaLite.
2011-02-25 10:18:43 +00:00
%prep
%setup -q
# Remove unused Makefiles
rm -f Makefile-static*
%build
2012-08-18 12:51:08 +00:00
%configure
2011-02-25 10:18:43 +00:00
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
%files
%doc AUTHORS COPYING
2011-07-17 18:41:24 +00:00
%{_bindir}/exif_loader
%{_bindir}/shp_doctor
%{_bindir}/spatialite
%{_bindir}/spatialite_convert
%{_bindir}/spatialite_dxf
2011-07-17 18:41:24 +00:00
%{_bindir}/spatialite_gml
%{_bindir}/spatialite_network
%{_bindir}/spatialite_osm*
%{_bindir}/spatialite_tool
2011-02-25 10:18:43 +00:00
%changelog
2014-06-14 10:44:13 +00:00
* Sat Jun 14 2014 Volker Fröhlich <volker27@gmx.at> - 4.1.1-5
- Rebuild for sqlite 3.8.5
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Jun 5 2014 Volker Fröhlich <volker27@gmx.at> - 4.1.1-3
- Solve BZ 1048587 (spatialite command complains about sqlite version)
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-07-01 21:36:26 +00:00
* Mon Jul 1 2013 Volker Fröhlich <volker27@gmx.at> - 4.1.1-1
- New upstream release
* Tue Jun 4 2013 Volker Fröhlich <volker27@gmx.at> - 4.1.0-2
- Add dxf utility to files section
2013-06-05 06:40:40 +00:00
* Tue Jun 4 2013 Volker Fröhlich <volker27@gmx.at> - 4.1.0-1
- New upstream release
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sun Dec 2 2012 Volker Fröhlich <volker27@gmx.at> - 4.0.0-1
- New upstream release
- Remove PPC restrictions
2012-08-18 12:51:08 +00:00
* Sat Aug 18 2012 Volker Fröhlich <volker27@gmx.at> - 3.1.0b-1
- Update for new release
- Update URL and source URL
- Drop LDFLAG -lm
- Exclude ppc as well
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-0.6.RC4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-0.5.RC4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-07-17 18:41:24 +00:00
* Sun Jul 17 2011 Volker Fröhlich <volker27@gmx.at> - 2.4.0-0.4.RC4
- Support readline
- Drop EPEL5 specific statements and definitions
- Drop unnecessary defattr
- Slightly improved description
- More explicit files section
* Fri Feb 25 2011 Volker Fröhlich <volker27@gmx.at> - 2.4.0-0.3.RC4
- Exclude ppc64
2011-02-25 10:18:43 +00:00
* 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