pkubat / rpms / pgRouting

Forked from rpms/pgRouting 5 years ago
Clone
9a86c89
Name:		pgRouting
f54d8a8
Version:	2.6.1
0b6e9ca
Release:	2%{?dist}
9a86c89
Summary:	Provides routing functionality to PostGIS/PostgreSQL
9a86c89
Group:		Applications/Databases
670aa88
License:	GPLv2+
9a86c89
URL:		http://pgrouting.org
050220c
Source0:	https://github.com/pgRouting/pgrouting/archive/v%{version}.tar.gz
826d49d
9a86c89
BuildRequires:	boost-devel
b52e906
BuildRequires:	boost-graph
b52e906
BuildRequires:	boost-thread
9a86c89
BuildRequires:	CGAL-devel
9a86c89
BuildRequires:	cmake
b52e906
BuildRequires:	gmp-devel
ae59196
BuildRequires:	postgresql-server-devel
9a86c89
BuildRequires:	proj-devel
66d712b
BuildRequires:	perl(Data::Dumper)
9a86c89
9a86c89
Requires:	postgis
ae59196
bceb3d4
# Postgis possibly should require postgresql-server already. But because we
bceb3d4
# provide a PostgreSQL plugin, we need to rebuild for any major PostgreSQL server
bceb3d4
# update (e.g. from 9.4 to 9.5). This guards against incompatible
bceb3d4
# postgresql-server updates in future.
ae59196
%{?postgresql_module_requires}
bceb3d4
670aa88
# Quite the only component of postgis that would serve a purpose without the
670aa88
# server on the same machine, is the shape loader. Suse requires postgresql-
670aa88
# server on postgis and seemingly got no complaints
bceb3d4
670aa88
670aa88
%global _privatelibs librouting.*\.so.*
670aa88
%global __provides_exclude ^(%{_privatelibs})$
9a86c89
9a86c89
%description
9a86c89
pgRouting extends the PostGIS / PostgreSQL geospatial database to provide
9a86c89
geospatial routing functionality.
9a86c89
9a86c89
9a86c89
%prep
050220c
%setup -qn pgrouting-%{version}
9a86c89
9a86c89
9a86c89
%build
9a86c89
install -d build
9a86c89
cd build
ae59196
%cmake -DPOSTGRESQL_PG_CONFIG=%_bindir/pg_server_config ..
9a86c89
ae59196
%make_build VERBOSE=1
9a86c89
9a86c89
9a86c89
%install
ae59196
%make_install -C build
9a86c89
9a86c89
9a86c89
%files
e2635a0
%license LICENSE
e2635a0
%doc CODE_OF_CONDUCT.md NEWS README.md CONTRIBUTING.md
9a86c89
%{_libdir}/pgsql/*.so
670aa88
%{_datadir}/pgsql/extension/*
b52e906
9a86c89
%changelog
0b6e9ca
* Thu Oct 18 2018 Petr Kubat <pkubat@redhat.com> - 2.6.1-2
0b6e9ca
- rebuild for PostgreSQL 11
0b6e9ca
f54d8a8
* Wed Oct 10 2018 Volker Froehlich <volker27@gmx.at> - 2.6.1-1
f54d8a8
- New upstream release
f54d8a8
f53ad0f
* Mon Sep 24 2018 Volker Froehlich <volker27@gmx.at> - 2.5.4-1
f53ad0f
- New upstream release
f53ad0f
ae59196
* Wed Sep 05 2018 Pavel Raiskup <praiskup@redhat.com> - 2.5.2-6
ae59196
- rebuild against postgresql-server-devel (rhbz#1618698)
ae59196
87a453d
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-5
87a453d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
87a453d
6aa0f70
* Wed Mar 07 2018 Adam Williamson <awilliam@redhat.com> - 2.5.2-4
6aa0f70
- Rebuild to fix GCC 8 mis-compilation
6aa0f70
  See https://da.gd/YJVwk ("GCC 8 ABI change on x86_64")
6aa0f70
46e6b2c
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-3
46e6b2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
46e6b2c
916eb17
* Wed Jan 31 2018 Volker Froehlich <volker27@gmx.at> - 2.5.2-2
916eb17
- Rebuild for boost
916eb17
d12f9aa
* Sun Nov 12 2017 Volker Froehlich <volker27@gmx.at> - 2.5.2-1
d12f9aa
- New upstream release
d12f9aa
0a71c0d
* Fri Oct 13 2017 Volker Froehlich <volker27@gmx.at> - 2.5.1-1
0a71c0d
- New upstream release
0a71c0d
e8998ac
* Sat Oct 07 2017 Pavel Raiskup <praiskup@redhat.com> - 2.5.0-2
e8998ac
- rebuild for PostgreSQL 10
e8998ac
e2635a0
* Thu Sep 14 2017 Volker Froehlich <volker27@gmx.at> - 2.5.0-1
e2635a0
- New upstream release
e2635a0
- Update documentation files included
e2635a0
1e98421
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-6
1e98421
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
1e98421
86ad002
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-5
86ad002
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
86ad002
aff20a2
* Tue Jul 18 2017 Jonathan Wakely <jwakely@redhat.com> - 2.4.1-4
aff20a2
- Rebuilt for Boost 1.64
aff20a2
007ec4c
* Sun Jun 04 2017 Miro Hrončok <mhroncok@redhat.com> - 2.4.1-3
007ec4c
- Rebuilt for new CGAL
007ec4c
69a44ac
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-2
69a44ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
69a44ac
34c8b4e
* Fri Mar 24 2017 Volker Froehlich <volker27@gmx.at> - 2.4.1-1
34c8b4e
- New upstream release
34c8b4e
b71ffe8
* Tue Mar 21 2017 Volker Froehlich <volker27@gmx.at> - 2.4.0-1
b71ffe8
- New upstream release
b71ffe8
1c450dc
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-3
1c450dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1c450dc
858996a
* Sat Jan 28 2017 Jonathan Wakely <jwakely@redhat.com> - 2.3.2-2
858996a
- Rebuilt for Boost 1.63
858996a
733c9bd
* Sat Jan 07 2017 Volker Froehlich <volker27@gmx.at> - 2.3.2-1
733c9bd
- New upstream release
733c9bd
050220c
* Sun Dec 18 2016 Volker Froehlich <volker27@gmx.at> - 2.3.1-1
050220c
- New upstream release
050220c
e9d7026
* Mon Oct 10 2016 Pavel Raiskup <praiskup@redhat.com> - 2.2.3-6
e9d7026
- bump: build in rawhide done too early
e9d7026
50e2250
* Mon Oct 10 2016 Petr Kubat <pkubat@redhat.com> - 2.2.3-5
50e2250
- Rebuild for PostgreSQL 9.6.0
50e2250
d14786a
* Mon Sep 26 2016 volker27@gmx.at - 2.2.3-4
d14786a
- Rebuild for cgal
d14786a
826d49d
* Sat Jul 30 2016 Volker Froehlich <volker27@gmx.at> - 2.2.3-3
826d49d
- Solve __throw_bad_alloc on creating the extension
826d49d
  Thank you, Jonathan Wakely
826d49d
- Remove obsolete build option
826d49d
bf74ba2
* Thu Jul 28 2016 Volker Froehlich <volker27@gmx.at> - 2.2.3-2
bf74ba2
- Fix the build: https://github.com/pgRouting/pgrouting/issues/576
bf74ba2
d538868
* Mon May 16 2016 Volker Froehlich <volker27@gmx.at> - 2.2.3-1
d538868
- New release
d538868
0087fbb
* Thu Apr 28 2016 Volker Froehlich <volker27@gmx.at> - 2.2.2-1
0087fbb
- New release
0087fbb
33c0ea2
* Tue Apr 19 2016 Volker Froehlich <volker27@gmx.at> - 2.2.1-1
33c0ea2
- New release
33c0ea2
6de295c
* Sun Apr 10 2016 Volker Froehlich <volker27@gmx.at> - 2.2.0-1
6de295c
- New release
6de295c
063a56a
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-4
063a56a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
063a56a
b3232b9
* Sat Jan 16 2016 Jonathan Wakely <jwakely@redhat.com> - 2.1.0-3
b3232b9
- Rebuilt for Boost 1.60
b3232b9
Pavel Kajaba 463d1ff
* Fri Jan 08 2016 Pavel Kajaba <pkajaba@redhat.com> - 2.1.0-2
Pavel Kajaba 463d1ff
- Rebuild for PostgreSQL 9.5 (rhbz#1296584)
Pavel Kajaba 463d1ff
66d712b
* Fri Sep 18 2015 Volker Froehlich <volker27@gmx.at> - 2.1.0-1
66d712b
- New release
66d712b
- Update source URL and add BR for Perl data dumper module
66d712b
4a4c001
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 2.0.0-12
4a4c001
- Rebuilt for Boost 1.59
4a4c001
e0c4eae
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-11
e0c4eae
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
e0c4eae
e5beb1e
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 2.0.0-10
e5beb1e
- rebuild for Boost 1.58
e5beb1e
ffe62d1
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-9
ffe62d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ffe62d1
46203c2
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.0.0-8
46203c2
- Rebuilt for GCC 5 C++11 ABI change
46203c2
8d0a887
* Sun Mar 01 2015 Volker Froehlich <volker27@gmx.at> - 2.0.0-7
8d0a887
- Rebuild for cgal 4.6
8d0a887
bceb3d4
* Sat Feb 14 2015 Volker Fröhlich <volker27@gmx.at> - 2.0.0-6
bceb3d4
- Require a specific major version for postgresql-server (BZ#1181158)
bceb3d4
Petr Machata 21e4286
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 2.0.0-5
Petr Machata 21e4286
- Rebuild for boost 1.57.0
Petr Machata 21e4286
99d3a6e
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-4
99d3a6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
99d3a6e
58ef234
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-3
58ef234
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
58ef234
b0110cc
* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 2.0.0-2
b0110cc
- rebuild for boost 1.55.0
b0110cc
670aa88
* Sat Sep 28 2013 Volker Fröhlich <volker27@gmx.at> - 2.0.0-1
670aa88
- New upstream release; drop all patches
670aa88
- New license is GPLv2+
670aa88
- New source URL
670aa88
- Filter private provides
670aa88
- Add dependency on postgresql-server
670aa88
e29d120
* Fri Sep 13 2013 Volker Fröhlich <volker27@gmx.at> - 1.05-7
e29d120
- Rebuild for PostgreSQL 9.3
e29d120
1824c7b
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-6
1824c7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1824c7b
Petr Machata 464efad
* Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 1.05-5
Petr Machata 464efad
- Rebuild for boost 1.54.0
Petr Machata 464efad
67bd5fc
* Sun Mar 31 2013 Volker Fröhlich <volker27@gmx.at> - 1.05-4
b52e906
- Link to gmp
b52e906
- Move most stuff from prep section to patches
b52e906
- Solve FTBFS (BZ #914327), due to upstream issue 77
f10fe52
- Solve upstream bug 35, issue with NULL geometries
b52e906
4a9c6f5
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-3
4a9c6f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4a9c6f5
d0a3078
* Fri Oct 26 2012 Volker Fröhlich <volker27@gmx.at> - 1.05-2
d0a3078
- Rebuild for new soname version in CGAL 4.1
d0a3078
9a86c89
* Wed Aug 15 2012 Volker Fröhlich <volker27@gmx.at> - 1.05-1
9a86c89
- Update to 1.05
9a86c89
- Update URL
9a86c89
- Update description
9a86c89
- Correct FSF address
9a86c89
- Retire patch0
9a86c89
- Introduce macros with_gaul and tarname; create conditionals based on the first
9a86c89
- Update flags patch and manually add custom flag
9a86c89
- Replace make macros with the command
9a86c89
- Remove unnecessary BR geos-devel
9a86c89
- Remove unnecessary R postgresql; Postgis takes care of that
9a86c89
- Drop rm for buildroot before install
9a86c89
- Drop ldconfig, because libs are in sub-directory
9a86c89
- Drop version requirements in BRs and Requires.
9a86c89
  All shipped versions are new enough in Fedora
9a86c89
- Enable DD option and added BR CGAL-devel
9a86c89
- Simplify attr and drop defattr in files section
9a86c89
9a86c89
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-4
9a86c89
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9a86c89
9a86c89
* Sun Nov 14 2010 Viji Nair <viji [AT] fedoraproject DOT org> - 1.03-3
9a86c89
- Fixed patch naming conventions.
9a86c89
- Added backup option for files being patched with suffix.
9a86c89
- Changed the package name from postgresql-pgrouting to pgRouting
9a86c89
9a86c89
* Sun Nov 14 2010 Viji Nair <viji [AT] fedoraproject DOT org> - 1.03-2
9a86c89
- Changed the license to GPLv2+ and Boost.
9a86c89
- Removed the override of CMAKE_INSTALL_PREFIX.
9a86c89
- Removed test for %%{?_lib}.
9a86c89
- Added VERBOSE=1 and %%{?_smp_mflags} for make.
9a86c89
- Patch for removing the preset CFLAGS.
9a86c89
- Removed gcc-c++ from BuildRequires.
9a86c89
9a86c89
* Thu Nov 11 2010 Viji Nair <viji [AT] fedoraproject DOT org> - 1.03-1
9a86c89
- Initial import.