Compare commits

...

182 Commits

Author SHA1 Message Date
Sandro Mani
d8dda98d58 Fix sources 2023-05-30 08:03:04 +02:00
Sandro Mani
0ba51331ab Update to 3.3.3 2023-05-30 07:57:43 +02:00
Sandro Mani
7aeb2eab92 Disable upgrade builds for now 2023-05-11 11:59:05 +02:00
Sandro Mani
c9447b7135 Rebuild (gdal) 2023-05-11 10:12:05 +02:00
Florian Weimer
4027e2bac2 C99 compatibility fixes
Backport an upstream patch to the bundled previous version,
and apply a new patch to fix compilation errors with future compilers.

Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
2023-04-09 22:16:19 +02:00
Fedora Release Engineering
5b63c4e9a8 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 10:07:43 +00:00
Ondřej Sloup
90835f203f Rebuild for PostgreSQL 15 (side-tag) 2022-11-16 12:04:15 +01:00
Sandro Mani
b42b5f9cc0 Update to 3.3.2 2022-11-14 09:20:58 +01:00
Sandro Mani
b9aa0b793e Rebuild (gdal) 2022-11-12 11:14:22 +01:00
Sandro Mani
0d291278fe Update to 3.3.1 2022-09-22 11:54:53 +02:00
Sandro Mani
52c5c29c41 Update to 3.2.2 2022-08-06 13:53:56 +02:00
Fedora Release Engineering
160953259b Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 15:15:47 +00:00
Sandro Mani
31f5a2dabc Rebuild for gdal-3.5.0 and/or openjpeg-2.5.0 2022-05-21 00:18:39 +02:00
Sandro Mani
c0d5a952fd Rebuild for proj-9.0.0 2022-03-10 13:46:56 +01:00
Sandro Mani
c801b389a0 Update to 3.2.1 2022-02-14 10:24:07 +01:00
Fedora Release Engineering
52ec9e4111 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 09:18:24 +00:00
Sandro Mani
9a18aa31e3 Rebuild (postgresql-14) 2022-01-11 18:32:52 +01:00
Sandro Mani
9f426c4f5e Update to 3.2.0 2021-12-18 10:25:36 +01:00
Sandro Mani
85286d8008 Rebuild (gdal) 2021-11-11 12:09:42 +01:00
Adrian Reber
55d98f6665
Rebuilt for protobuf 3.19.0 2021-11-06 13:01:15 +01:00
Adrian Reber
46335227b3
Rebuilt for protobuf 3.18.1 2021-10-26 08:49:14 +02:00
Sandro Mani
ccce76c9a0 Rebuild (geos) 2021-10-21 11:21:52 +02:00
Sandro Mani
d15091e0f1 Update to 3.1.4 2021-09-04 21:46:21 +02:00
Sandro Mani
6ed9b0a51a Drop BR: libpq-devel 2021-07-24 11:26:34 +02:00
Fedora Release Engineering
8f43ab1d2e - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 03:55:15 +00:00
Björn Esser
15ad72fba8
Rebuild for versioned symbols in json-c 2021-07-10 11:57:04 +02:00
Sandro Mani
4baa8e6fbd Update to 3.1.3 2021-07-05 12:02:38 +02:00
Basil Eric Rabi
9acfee004f
Build with SFCGAL 2021-07-05 14:47:45 +08:00
Sandro Mani
ba43f5cb49 Update sources 2021-05-24 10:47:23 +02:00
Sandro Mani
d6b818dc3a Update to 3.1.2 2021-05-24 10:46:21 +02:00
Sandro Mani
90b8f0f284 Rebuild (gdal) 2021-05-07 12:15:04 +02:00
Sandro Mani
641a887331 Bump 2021-03-24 00:55:25 +01:00
Sandro Mani
a128c138c5 Add postgis_proj8.patch 2021-03-10 11:38:52 +01:00
Sandro Mani
e771a11cde Rebuild (proj) 2021-03-07 11:14:31 +01:00
Michael Scherer
c26cbb72bf Split shp2pgsql-gui and clients separate packages
The goal is to reduce the dependency installed for a postgis
container, by not pulling GTK or anything else.
2021-02-22 15:03:47 +01:00
Sandro Mani
b0b7e92e35 Rebuild (geos) 2021-02-13 18:27:16 +01:00
Sandro Mani
92c12c27fa Also ship current version of Postgis against previous version of PostgreSQL in postgis-upgrade 2021-02-09 12:39:56 +01:00
Pavel Raiskup
c5483c771d rebuild for libpq ABI fix
Related: rhbz#1908268
2021-02-08 09:37:50 +01:00
Sandro Mani
6d338f458e Update to 3.1.1 2021-01-29 10:40:53 +01:00
Fedora Release Engineering
f099e868b3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 08:27:28 +00:00
Adrian Reber
5c85f74273
Rebuilt for protobuf 3.14 2021-01-13 16:41:56 +01:00
Tom Stellard
a8eb22788d Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-08 19:25:57 +00:00
Sandro Mani
b40dbf5bef Update to 3.1.0 2020-12-23 02:46:14 +01:00
Sandro Mani
4921f63141 Update to 3.0.3 2020-11-23 10:45:43 +01:00
Sandro Mani
784424e8f0 Rebuild (proj, gdal), spec cleanups 2020-11-12 14:05:40 +01:00
Jeff Law
1ed9759ddd Re-enable LTO 2020-10-08 15:22:53 -06:00
Sandro Mani
8bb1b6616a Update to 3.0.2 2020-08-17 10:55:56 +02:00
Sandro Mani
833ef69056 Increase allowed timecheck interval 2020-08-13 16:36:19 +02:00
Sandro Mani
688e75b770 Add relax-test-timing-constraints.patch 2020-08-12 17:30:28 +02:00
Sandro Mani
de7ab7bb69 Disable LTO for now, causes test failures 2020-08-02 00:36:46 +02:00
Fedora Release Engineering
124676c882 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 07:12:28 +00:00
Fedora Release Engineering
9476b55faf - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 22:52:41 +00:00
Jiri
b62b45c4f8 Rebuilt for JDK-11 2020-07-11 05:12:00 +02:00
Sandro Mani
77204b823f Reenable self test 2020-05-21 17:27:54 +02:00
Sandro Mani
a1cb8ebd68 Temporarily disable self test 2020-05-21 12:46:55 +02:00
Sandro Mani
90caba9ca3 Rebuild (gdal) 2020-05-21 12:02:20 +02:00
Sandro Mani
1f316cca28 Reenable self test 2020-05-04 01:36:04 +02:00
Sandro Mani
7cbd2c1e5e Pass --with-pgconfig=%%{_bindir}/pg_server_config 2020-05-04 01:35:31 +02:00
Sandro Mani
731698a96c Disable self test to get a build through 2020-05-04 01:21:02 +02:00
Sandro Mani
43dcaa3c7b Reenable self test 2020-05-04 01:08:29 +02:00
Sandro Mani
9441085c66 Disable self test to get a build through 2020-05-04 01:07:42 +02:00
Sandro Mani
8ad879daa0 Move postgis-upgrade to 2.5.4 2020-05-03 13:34:04 +02:00
Björn Esser
6585f99046 Re-enable selftests 2020-04-22 11:16:14 +02:00
Björn Esser
4a14033309 Disable selftests, as they seem to be flaky 2020-04-22 11:15:07 +02:00
Björn Esser
2ddce5777d Rebuild (json-c) 2020-04-22 00:03:34 +02:00
Sandro Mani
a321f29c22 Rebuild (gdal) 2020-03-03 17:25:32 +01:00
Sandro Mani
9d81a3c948 Update to 3.0.1 2020-03-03 11:08:39 +01:00
Tom Hughes
1f8d9fa5db Fix various build issues
* Require libxslt and docbook-dtds for building documentation
* Require clang and llvm for building JIT bitcode
* Package JIT bitcode in llvmjit subpackage
* Drop devel subpackage as upstream no longer installs liblwgeom
* Fix various issues with shared object names and versions
* Strip -fstack-clash-protection from compiler flags for clang
2020-02-23 15:14:13 +00:00
Devrim Gündüz
e6cec2cafa oops. 2020-02-17 08:39:49 +03:00
Devrim Gündüz
84baa6060c postgis: Remove unneeded patch 2020-02-17 08:32:23 +03:00
Devrim Gündüz
363be0bff6 postgis: Update patch for 3.0 2020-02-17 08:32:03 +03:00
Devrim Gündüz
3ca4586dec postgis: Initial attempt to update to 3.0.0 2020-02-16 20:45:34 +03:00
Fedora Release Engineering
baf6625eb1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 09:34:58 +00:00
Devrim Gündüz
65931ec089 Updates for 2.5.3 2019-09-04 21:35:18 +01:00
Devrim Gündüz
13c3df61f3 - Update to 2.5.3
- Update prev version to 2.4.8
2019-09-04 15:27:13 +01:00
Fedora Release Engineering
7c51305fb1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 11:09:45 +00:00
Devrim Gündüz
2f0891e50b postgis: Reorganize BR 2019-02-05 12:54:25 +00:00
Devrim Gündüz
886f3a63da postgis: Fix rpmlint warning 2019-02-04 18:00:17 +00:00
Devrim Gündüz
71aeb7ce18 postgis: Update to 2.5.1 (and also require new GeOS and new Proj) 2019-02-04 17:59:20 +00:00
Fedora Release Engineering
e69e9f0431 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 04:40:32 +00:00
Igor Gnatenko
5e8f356c2b Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:38 +01:00
Petr Kubat
91062aec69 rebase to 2.5.0 2018-10-22 09:03:59 +02:00
Pavel Raiskup
f892b26478 bump, followup for previous commit
Version: 2.4.3-6
2018-09-05 14:29:51 +02:00
Pavel Raiskup
5b231c49f4 BuildRequires: s/postgresql-devel/postgresql-server-devel/
Development files used to build PostgreSQL extensions are moved to
'postgresql-server-devel' package, client library is moved to
'libpq' (and 'libpq-devel').  Per devel list discussion:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/U3XR5EGU2TPI2CDHBRBUD4M4LK5OHKU3/

Related: rhbz#1618698
Version: 2.4.3-6
2018-09-05 14:28:45 +02:00
Fedora Release Engineering
1a6f028bfb - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 22:45:55 +00:00
Pavel Raiskup
b6bcc58aa5 BR postgresql-test-rpm-macros
Version: 2.4.3-4
2018-04-13 17:06:18 +02:00
Björn Esser
f2d0fe2f82
Rebuilt for libjson-c.so.4 (json-c v0.13.1) 2018-03-06 15:16:24 +01:00
Fedora Release Engineering
03ae67ca25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 05:37:30 +00:00
Pavel Raiskup
2597560113 update: latest upstream release
Resolves: rhbz#1513788
Version: 2.4.3-1
2018-01-18 13:12:09 +01:00
Björn Esser
6e124e349a
Add patch for changes in json-c >= 0.13 2017-12-15 14:30:40 +01:00
Björn Esser
a23e871557
Rebuilt for libjson-c.so.3 2017-12-10 20:50:41 +01:00
Pavel Raiskup
47ea3f594d upgrade: drop unused stuff
The binaries (from previous_prefix/bin directory) only generated
additional implicit Requires, which complicated dependency
resolution.

Also confess that the postgis-upgrade actually bundles postgis of
previous version.

Related: rhbz#1055293
Version: 2.4.1-2
2017-10-26 13:47:02 +02:00
Pavel Raiskup
ae00c92d7b rebase to 2.4.1
Per upstream NEWS file:
https://svn.osgeo.org/postgis/tags/2.4.1/NEWS

Version: 2.4.1-1
Resolves: rhbz#1504421
2017-10-23 16:01:26 +02:00
Pavel Raiskup
6549f2708b scriptlets: assign correctly to jdbc subpackage
(.. if that was ever built actually)

Resolves: rhbz#979685
Version: 2.4.0-2
2017-10-18 18:48:39 +02:00
Pavel Raiskup
1d162a32a0 build against json-c again
Resolves: rhbz#1484031
Version: 2.4.0-2
2017-10-18 18:40:13 +02:00
Pavel Raiskup
bc43e98a0b hardening: ftbfs fix on f26 and f27+ s390x
Version: 2.4.0-1
2017-10-18 10:37:30 +02:00
Pavel Raiskup
4a17aef303 reference some bugs filed just now
Version: 2.4.0-1
2017-10-18 09:38:25 +02:00
Pavel Raiskup
abf7e3f8ee upgrade: install compat lwgeom properly
Version: 2.4.0-1
2017-10-18 00:26:42 +02:00
Pavel Raiskup
3a1524b330 tests: enable build testsuite
Version: 2.4.0-1
2017-10-18 00:26:38 +02:00
Pavel Raiskup
b95d41a06d drop explicit requires
Version: 2.4.0-1.1
2017-10-17 18:56:09 +02:00
Pavel Raiskup
6a7bf86376 upgrade: optimise build for --define 'upgrade 0'
Version: 2.4.0-1
2017-10-17 18:55:41 +02:00
Pavel Raiskup
d5a07cd02e desktop: install desktop files to /usr/share/{applications,files}
Version: 2.4.0-1
2017-10-17 18:39:27 +02:00
Pavel Raiskup
b500dd05b0 spec: lint after fedora-review run
Drop the doc/html as that's not built documentation anyway, thus
it seems to be useless.

Version: 2.4.0-1
2017-10-17 18:39:16 +02:00
Pavel Raiskup
1d9efbf231 upgrade: review fixes
Related: rhbz#1055293
Version: 2.4.0-1
2017-10-12 11:48:30 +02:00
Pavel Raiskup
d56a879057 upgrade: build compat so-version twice
Usually (when only postgis is updated, and not postgresql itself)
it is enough to maintain only the latest version of
postgis-%majorversion.so file.  The upgrade scenario is then hit
(a) 'dnf upgrade -y', which brings 'postgis-X.Y+1.so', and
(b) run (manually) 'ALTER EXTENSION potgis' for all the databases.
For this scenario the compatibility library is not needed at all.

The situation is complicated in situations where also PostgreSQL
has major version upgrade (when upgrading from Fedora N to Fedora
N+1, usually).  Then, you need to *also* have
(a) 'postgis-%prevversion.so' built against old server (against
postgresql-upgrade-devel), and (b) 'postgis-%prevversion.so' built
against the actual postgresql version (postgresql-devel).  The
first library is needed to allow the old-stack dump properly, and
the second is needed to satisfy pg_upgrade's pre-upgrade checks
(pg_upgrade is checking that the same library exists for both
stacks, in the same version).  Note that it seems like *it could
be* enough to have just symlink from %majorversion to
%prevmajorversion posgis.so to "silence" the pg_upgrade's checker,
but I'm not brave enough to go this way at this point.

There's one more (maybe theoretical) possibility that the
PostgreSQL version is updated, but PostGIS version is not.  In
this case, the prevmajorversion should be eqal to majorversion
(for the build against older stack), and the compat build
shouldn't be needed.  If this ever happens, we can twak the
buildsystem/macros more.

Version: 2.4.0-1
2017-10-10 14:09:55 +02:00
Pavel Raiskup
cb221143c3 upgrade: Pepa's postgis-upgrade stub
Related: rhbz#1475177
Version: 2.4.0-1
2017-10-10 14:09:54 +02:00
Pavel Raiskup
1ea80e27c7 update to 2.4.0
Per upstream release notes:
https://postgis.net/2017/09/30/postgis-2.4.0/

Version: 2.4.0-1
2017-10-10 14:09:52 +02:00
Fedora Release Engineering
3243f50f51 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 06:17:56 +00:00
Fedora Release Engineering
76dff5a103 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 08:57:06 +00:00
Devrim Gündüz
764858ca06 Update to 2.3.3, per changes described at
http://postgis.net/2017/07/01/postgis-2.3.3/
  rhbz #1467032
2017-07-02 20:01:08 +01:00
Fedora Release Engineering
a09d148920 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 07:46:27 +00:00
Jozef Mlich
3b99f40f5a Update to 2.3.2, per changes described at
http://postgis.net/2017/01/31/postgis-2.3.2/
rhbz#1418136
2017-02-01 09:41:23 +01:00
Devrim Gündüz
d9deef8d21 Rebuild against Proj 4.9.3 2017-01-25 15:34:08 +03:00
Devrim Gündüz
0c1e34f60b - Update to 2.3.1, per changes described at
http://postgis.net/2016/11/28/postgis-2.3.1
- Update previous version to 2.2.4
- Fix a few rpmlint warnings.
2016-11-30 16:09:10 +03:00
Pavel Raiskup
3ea027918a bump: build in rawhide done too early
Next time I should use:
$ koji wait-repo --build NVR --target fNN-build
or:
$ koji wait-repo --build NVR --target rawhide
Instead of:
$ koji wait-repo --build NVR rawhide
Sorry for rush.

Version: 2.3.0-3
2016-10-10 13:39:12 +02:00
Petr Kubat
c6ece6d3ce bump: PostgreSQL 9.6.0
version 2.3.0-2
2016-10-10 10:49:29 +02:00
Jozef Mlich
5de2d8c525 Update to 2.3.0 2016-09-27 10:57:45 +02:00
Petr Písař
8ddf4fb0d8 Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 10:16:57 +02:00
Devrim Gündüz
92dd85a147 Add new files introduced in 2.2.2 2016-03-25 10:00:24 +02:00
Devrim Gündüz
34010497e0 Update to 2.2.2 2016-03-25 09:47:45 +02:00
Pavel Raiskup
23b3d1d19b ftbfs: install address_standardizer
Version: 2.2.1-3
Resolves: rhbz#1307872
2016-02-15 13:08:02 +01:00
Fedora Release Engineering
9b7d01f42b - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 18:22:31 +00:00
Jozef Mlich
d1af82f4f2 Rebuild to 2.2.1, per changes described at:
http://svn.osgeo.org/postgis/tags/2.2.1/NEWS

smp_mflags disabled due to linking problems
2016-01-08 17:27:51 +01:00
Peter Robinson
2764b7fccd Rebuild again for GDAL 2.0 2015-08-30 19:34:56 +01:00
Devrim Gündüz
28e4b96ebd - Update to 2.1.8, per changes described at:
http://svn.osgeo.org/postgis/tags/2.1.8/NEWS
- Rebuilt for GDAL 2.0
2015-07-28 15:50:29 +03:00
Dennis Gilmore
36262ed51e - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 15:41:32 +00:00
Devrim Gündüz
d4eb645ba3 - Update to 2.1.7, per changes described at:
http://svn.osgeo.org/postgis/tags/2.1.7/NEWS
2015-04-02 14:53:59 +03:00
Devrim Gündüz
bf154397c6 Update to 2.1.6, per changes described at:
http://postgis.net/2015/03/20/postgis-2.1.6
2015-03-27 10:20:17 +00:00
Devrim Gündüz
8af464002a - Add patch to fix FTBFS -- patch by Sandro Mani <manisandro@gmail.com> 2015-03-19 10:34:05 +02:00
Devrim Gündüz
866f52a0ce - Rebuild for Proj 4.9.1 2015-03-11 19:16:28 +02:00
Jozef Mlich
afc47206b6 disable json-c/geojson just for upgrade part of postgis 2015-01-08 17:51:36 +01:00
Devrim Gündüz
4b662dc20a - Update to 2.1.5, per changes described at:
http://postgis.net/2014/12/18/postgis-2.1.5 and
  http://postgis.net/2014/09/10/postgis-2.1.4
2014-12-22 11:42:21 +02:00
Jozef Mlich
2329a3eeba Dropped json-c because it is not building anymore
Resolves: #1129292
2014-08-18 10:25:31 +02:00
Peter Robinson
4bd8e23ff4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 19:39:50 +00:00
Jozef Mlich
3514f0453e Removing static libraries
Resolves: #979179
2014-06-26 16:36:26 +02:00
Jozef Mlich
909504d7dd removing sinjdoc from BuildRequires as it is not available
in rawhide anymore
2014-06-09 16:44:24 +02:00
Jozef Mlich
43e4315e27 - Rebase to 2.1.3 and 2.0.6 (security bugfixes, feature bugfixes)
see http://svn.osgeo.org/postgis/tags/2.1.3/NEWS
- json_c turned on
- installation of .so file of previous version moved into install section
2014-06-09 16:30:23 +02:00
Dennis Gilmore
98c3a759f4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 11:53:29 -05:00
Devrim Gunduz
b9490cf4ff Oops, revert previous commit and commit the fix in right way" 2014-02-13 01:54:45 +02:00
Devrim Gunduz
342a58487e Install files in the correct location 2014-02-13 01:47:17 +02:00
Devrim Gunduz
ce592ddde7 Disable hack for 64-bit builds temporarily. 2014-01-24 10:17:06 +02:00
Devrim Gunduz
7759806e62 Install postgis-2.0.so file, by compiling it from 2.0 sources
Fixes bz #1055293.
2014-01-23 12:13:57 +02:00
Devrim Gunduz
751d8b225a Add postgis 2.0 tarball. This will be required to fix #1055293 2014-01-23 10:17:02 +02:00
Devrim Gunduz
88331e220a Update to 2.1.1 2013-12-12 13:10:56 +01:00
Dan Horák
e6e904c9ff - fix build on non-x86 64-bit arches 2013-10-25 12:07:41 +02:00
Devrim GUNDUZ
f1f699c947 Install this file on x86_64 only. 2013-09-16 07:28:24 +03:00
Devrim GUNDUZ
33f15c39b1 Fix remaining list of %files. 2013-09-15 23:31:34 +03:00
Devrim GUNDUZ
8810de5857 Fix file name 2013-09-12 11:22:00 +03:00
Devrim GUNDUZ
c61fccbb6d Ooops, install using destdir. 2013-09-12 11:12:27 +03:00
Devrim GUNDUZ
b261f73c86 Add missing underscore. 2013-09-12 10:59:40 +03:00
Devrim GUNDUZ
85d8ec6383 Create missing directory. 2013-09-12 10:31:22 +03:00
Devrim GUNDUZ
1b51352113 Add missing files, also make sure that utils and extensions are installed, too. 2013-09-12 09:55:39 +03:00
Devrim GUNDUZ
e654dba514 Bump up minimal gdal version. 2013-09-12 09:38:08 +03:00
Devrim GUNDUZ
0442a43a32 - Update to 2.1.0, per changes described at:
http://svn.osgeo.org/postgis/tags/2.1.0/NEWS
2013-09-12 09:37:36 +03:00
Orion Poplawski
f8d7641c5b Rebuild for gdal 1.10.0 2013-08-27 10:02:57 -06:00
Dennis Gilmore
c44c2f8f3e - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 23:57:22 -05:00
Petr Písař
b80fc2c900 Perl 5.18 rebuild 2013-07-17 09:30:17 +02:00
Devrim GUNDUZ
56cf4b751b - Update to 2.0.3, and build against GeOS 3.3.8.
- Update all URLs.
2013-03-06 10:13:31 +02:00
Devrim GUNDUZ
82c3ccde7e Add two more missing files 2013-01-25 22:45:05 +02:00
Devrim GUNDUZ
d18018f993 More updates for 9.2 -- extensions. 2013-01-25 22:24:44 +02:00
Devrim GUNDUZ
fca354d697 Fix changelog date, and apply more updates for 2.0.2. 2013-01-25 22:00:52 +02:00
Devrim GUNDUZ
28f70fb347 More updates to spec for 2.0.2 update. 2013-01-25 21:32:53 +02:00
Devrim GUNDUZ
ffe3267d8a - Rebuilt against geos 3.3.7. 2013-01-25 19:23:17 +02:00
Devrim GUNDUZ
507f241801 Update to 2.0.2, for various changes described at:
http://www.postgis.org/news/20121203/
2013-01-15 04:02:10 +02:00
Devrim GUNDUZ
0abd2b4614 Remove incorrect changelog entry. 2012-11-13 16:20:49 +00:00
Devrim GUNDUZ
d1783c889d - Don't build JDBC portions. I have already disabled it in
upstream packaging 8 months ago.
2012-11-13 16:13:41 +00:00
Devrim GUNDUZ
27801b1a67 - Update to 2.0.1, so it works against PostgreSQL 9.2,
which also fixes #872710.
- Add deps for gdal.
- Remove patch3
2012-11-13 15:42:35 +00:00
Dennis Gilmore
b821c4113a - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-20 21:44:16 -05:00
Dennis Gilmore
e13b78dd5d - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 19:09:08 -06:00
Devrim GÜNDÜZ
b785f3ebfc Provide postgis.jar instead of provide postgis-1.5.2.jar, per #714856 2011-10-04 19:45:10 -07:00
Devrim GÜNDÜZ
7f55ee39d7 Update to 1.5.3 2011-10-04 08:39:19 -07:00
Devrim GÜNDÜZ
4541500270 Update to 1.5.2 2011-04-19 14:56:56 +03:00
Nils Philippsen
7e5b6b7dc7 require pgsql version used for building 2011-04-03 14:32:57 +02:00
Nils Philippsen
ddb0dc40f3 cope with PostgreSQL 9.0 build environment 2011-04-03 14:32:57 +02:00
Nils Philippsen
3a5c62d97b remove obsolete loader-makefile patch 2011-04-03 14:32:56 +02:00
Nils Philippsen
a7684b4f69 Merge branch 'f13' 2011-04-03 14:32:10 +02:00
Dennis Gilmore
d545ea66dd - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 10:10:33 -06:00
Fedora Release Engineering
c120aeb997 dist-git conversion 2010-07-29 09:37:50 +00:00
Fedora Release Engineering
d00e4423d8 dist-git conversion 2010-07-29 09:37:43 +00:00
Devrim GÜNDÜZ
b64b0dea33 Update to 1.5.1. 2010-03-11 19:05:46 +00:00
Devrim GÜNDÜZ
90e1d16e85 Update to 1.5.1. 2010-03-11 19:05:46 +00:00
Jesse Keating
662e264b50 Initialize branch F-13 for postgis 2010-02-17 02:50:56 +00:00
10 changed files with 4055 additions and 150 deletions

View File

@ -1,2 +0,0 @@
postgis-1.5.0.tar.gz
postgis-1.5.0.pdf

33
.gitignore vendored Normal file
View File

@ -0,0 +1,33 @@
/postgis-2.5.3.tar.gz
/postgis-3.0.0.pdf
/postgis-3.0.0.tar.gz
/postgis-3.0.1.tar.gz
/postgis-3.0.1.pdf
/postgis-2.5.4.tar.gz
/postgis-3.0.2.pdf
/postgis-3.0.2.tar.gz
/postgis-2.5.5.tar.gz
/postgis-3.0.3.tar.gz
/postgis-3.0.3.pdf
/postgis-3.1.0.pdf
/postgis-3.1.0.tar.gz
/postgis-3.1.1.tar.gz
/postgis-3.1.1.pdf
/postgis-3.1.2.tar.gz
/postgis-3.1.2.pdf
/postgis-3.1.3.pdf
/postgis-3.1.3.tar.gz
/postgis-3.1.4.pdf
/postgis-3.1.4.tar.gz
/postgis-3.2.0.pdf
/postgis-3.2.0.tar.gz
/postgis-3.2.1.pdf
/postgis-3.2.1.tar.gz
/postgis-3.2.2.tar.gz
/postgis-3.2.2.pdf
/postgis-3.3.1.tar.gz
/postgis-3.3.1.pdf
/postgis-3.3.2.tar.gz
/postgis-3.3.2.pdf
/postgis-3.3.3.pdf
/postgis-3.3.3.tar.gz

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: postgis
# $Id: Makefile,v 1.1 2006/12/27 21:40:16 devrim Exp $
NAME := postgis
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -1,3 +0,0 @@
#!/bin/sh
/usr/lib/rpm/perl.req $* | grep -v 'perl(Pg'

17
postgis-c99-2.patch Normal file
View File

@ -0,0 +1,17 @@
Include <math.h> for isnan. This avoids an implicit function
declaration and a build failure with future compilers.
Submitted upstream: <https://github.com/postgis/postgis/pull/725>
diff -ur postgis-3.3.2.orig/loader/shp2pgsql-core.c postgis-3.3.2/loader/shp2pgsql-core.c
--- postgis-3.3.2.orig/loader/shp2pgsql-core.c 2022-11-13 08:09:23.000000000 +0100
+++ postgis-3.3.2/loader/shp2pgsql-core.c 2023-04-09 22:01:46.377934865 +0200
@@ -15,6 +15,8 @@
#include "../postgis_config.h"
+#include <math.h> /* for isnan */
+
#include "shp2pgsql-core.h"
#include "../liblwgeom/liblwgeom.h"
#include "../liblwgeom/lwgeom_log.h" /* for LWDEBUG macros */

54
postgis-c99.patch Normal file
View File

@ -0,0 +1,54 @@
commit ae53a53246ccb26a6e82fede1a4184b41bcf097d
Author: Regina Obe <lr@pcorp.us>
Date: Sat Feb 19 00:21:01 2022 -0500
Fix PG 15 building atoi removed. References #5100 for PostGIS 3.3.0
diff -ur postgis-3.3.2.orig/postgis-2.5.5/postgis/gserialized_typmod.c postgis-3.3.2/postgis-2.5.5/postgis/gserialized_typmod.c
--- postgis-3.3.2.orig/postgis-2.5.5/postgis/gserialized_typmod.c 2023-04-09 21:52:47.909294055 +0200
+++ postgis-3.3.2/postgis-2.5.5/postgis/gserialized_typmod.c 2023-04-09 21:55:24.744826310 +0200
@@ -35,7 +35,7 @@
#include "utils/elog.h"
#include "utils/array.h"
-#include "utils/builtins.h" /* for pg_atoi */
+#include "utils/builtins.h" /* for cstring_to_text */
#include "lib/stringinfo.h" /* For binary input */
#include "catalog/pg_type.h" /* for CSTRINGOID */
@@ -267,8 +267,33 @@
}
if ( i == 1 ) /* SRID */
{
- int srid = pg_atoi(DatumGetCString(elem_values[i]),
- sizeof(int32), '\0');
+ char *int_string = DatumGetCString(elem_values[i]);
+ char *endp;
+ long l;
+ int32_t srid;
+
+ errno = 0;
+ l = strtol(int_string, &endp, 10);
+
+ if (int_string == endp)
+ ereport(ERROR,
+ (errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
+ errmsg("invalid input syntax for type %s: \"%s\"",
+ "integer", int_string)));
+
+ if (errno == ERANGE || l < INT_MIN || l > INT_MAX)
+ ereport(ERROR,
+ (errcode(ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE),
+ errmsg("value \"%s\" is out of range for type %s", int_string,
+ "integer")));
+
+ if (*endp != '\0')
+ ereport(ERROR,
+ (errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
+ errmsg("invalid input syntax for type %s: \"%s\"",
+ "integer", int_string)));
+
+ srid = clamp_srid(l);
srid = clamp_srid(srid);
POSTGIS_DEBUGF(3, "srid: %d", srid);
if ( srid != SRID_UNKNOWN )

View File

@ -1,50 +0,0 @@
--- loader/Makefile.in.old 2009-07-06 00:10:47.000000000 +0300
+++ loader/Makefile.in 2009-07-06 00:12:35.000000000 +0300
@@ -23,9 +23,6 @@
PGSQL_FE_CPPFLAGS=@PGSQL_FE_CPPFLAGS@
PGSQL_FE_LDFLAGS=@PGSQL_FE_LDFLAGS@
-# PostgreSQL executable directory
-PGSQL_BINDIR=@PGSQL_BINDIR@
-
# iconv flags
ICONV_LDFLAGS=@ICONV_LDFLAGS@
@@ -36,6 +33,19 @@
GTK_CFLAGS = @GTK_CFLAGS@
GTK_LIBS = @GTK_LIBS@
+# PGXS information
+#
+# Note that PGXS currently doesn't handle building FE executables, but we need
+# the INSTALL and DESTDIR variables so we can get the correct install paths.
+# Hence we include the PGXS Makefile here, but ensure that we override the
+# 'all' and 'install' targets with the ones we really want to use below.
+PG_CONFIG = @PGCONFIG@
+PGXS := @PGXS@
+include $(PGXS)
+
+# The real parts of the Makefile
+
+
all: $(SHP2PGSQL) $(PGSQL2SHP) @GTK_BUILD@
gui: $(SHP2PGSQL-GUI) $(SHP2PGSQL-CLI)
@@ -67,12 +77,13 @@
$(CC) $(CFLAGS) $(ICONV_LDFLAGS) -lm $^ -o $@
install: all
- @cp $(PGSQL2SHP) $(PGSQL_BINDIR)/$(PGSQL2SHP)
- @cp $(SHP2PGSQL) $(PGSQL_BINDIR)/$(SHP2PGSQL)
+ @mkdir -p $(DESTDIR)$(bindir)
+ $(INSTALL) $(PGSQL2SHP) $(DESTDIR)$(bindir)
+ $(INSTALL) $(SHP2PGSQL) $(DESTDIR)$(bindir)
uninstall:
- @rm -f $(PGSQL_BINDIR)/$(PGSQL2SHP)
- @rm -f $(PGSQL_BINDIR)/$(SHP2PGSQL)
+ @rm -f $(DESTDIR)$(bindir)/$(PGSQL2SHP)
+ @rm -f $(DESTDIR)$(bindir)/$(SHP2PGSQL)
clean:
@rm -f *.o $(SHP2PGSQL) $(PGSQL2SHP)

View File

@ -1,79 +1,183 @@
%{!?javabuild:%define javabuild 1}
%{!?utils:%define utils 1}
%{!?gcj_support:%define gcj_support 1}
%{!?javabuild:%global javabuild 0}
%{!?utils:%global utils 1}
%{!?gcj_support:%global gcj_support 0}
%{!?upgrade:%global upgrade 0}
%{!?runselftest:%global runselftest 1}
%global majorversion 1.5
%global majorversion 3.3
%global soversion 3
%global prevmajorversion 2.5
%global prevversion %{prevmajorversion}.5
%global so_files postgis postgis_topology rtpostgis
%global configure_opts --disable-rpath --enable-raster
Summary: Geographic Information Systems Extensions to PostgreSQL
Name: postgis
Version: 1.5.0
Release: 1%{?dist}
License: GPLv2+
Group: Applications/Databases
Source0: http://postgis.refractions.net/download/%{name}-%{version}.tar.gz
Source2: http://www.postgis.org/download/%{name}-%{version}.pdf
Source4: filter-requires-perl-Pg.sh
URL: http://postgis.refractions.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%global __provides_exclude_from %{_libdir}/pgsql
Name: postgis
Version: 3.3.3
Release: 1%{?dist}
Summary: Geographic Information Systems Extensions to PostgreSQL
License: GPLv2+
URL: http://www.postgis.net
Source0: http://download.osgeo.org/%{name}/source/%{name}-%{version}.tar.gz
Source2: http://download.osgeo.org/%{name}/docs/%{name}-%{version}.pdf
Source3: http://download.osgeo.org/%{name}/source/%{name}-%{prevversion}.tar.gz
# Add proj8 compatibility to postgis-2.x (needed for upgrade package)
Patch1: postgis2-proj8.patch
Patch2: postgis-c99.patch
Patch3: postgis-c99-2.patch
%ifnarch armv7hl
BuildRequires: SFCGAL-devel
%endif
BuildRequires: make
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: byacc
BuildRequires: clang
BuildRequires: desktop-file-utils
BuildRequires: docbook-dtds
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: gdal-devel >= 1.10.0
BuildRequires: geos-devel >= 3.7.1
BuildRequires: gtk2-devel
BuildRequires: json-c-devel
BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: libxslt
BuildRequires: llvm
BuildRequires: pcre2-devel
BuildRequires: perl-generators
BuildRequires: postgresql-server-devel
BuildRequires: proj-devel >= 5.2.0
BuildRequires: protobuf-c-devel
%if %upgrade
BuildRequires: postgresql-upgrade-devel
%endif
%if %runselftest
BuildRequires: postgresql-test-rpm-macros
%endif
BuildRequires: postgresql-devel >= 8.2, proj-devel, geos-devel >= 3.1.1, byacc, proj-devel, flex, sinjdoc, java, java-devel, ant
BuildRequires: gtk2-devel, libxml2-devel
Requires: postgresql >= 8.2, geos >= 3.1.1, proj
%description
PostGIS adds support for geographic objects to the PostgreSQL object-relational
database. In effect, PostGIS "spatially enables" the PostgreSQL server,
allowing it to be used as a backend spatial database for geographic information
systems (GIS), much like ESRI's SDE or Oracle's Spatial extension. PostGIS
follows the OpenGIS "Simple Features Specification for SQL" and has been
systems (GIS), much like ESRI's SDE or Oracle's Spatial extension. PostGIS
follows the OpenGIS "Simple Features Specification for SQL" and has been
certified as compliant with the "Types and Functions" profile.
%package llvmjit
Summary: Just-in-time compilation support for PostGIS
Requires: %{name}%{?_isa} = %{version}-%{release}
%description llvmjit
Just-in-time compilation support for PostGIS.
%package docs
Summary: Extra documentation for PostGIS
Group: Applications/Databases
Summary: Extra documentation for PostGIS
%description docs
The postgis-docs package includes PDF documentation of PostGIS.
%if %javabuild
%package jdbc
Summary: The JDBC driver for PostGIS
Group: Applications/Databases
License: LGPLv2+
Requires: %{name} = %{version}-%{release}, postgresql-jdbc
BuildRequires: ant >= 0:1.6.2, junit >= 0:3.7, postgresql-jdbc
Summary: The JDBC driver for PostGIS
License: LGPLv2+
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: postgresql-jdbc
BuildRequires: ant >= 0:1.6.2
BuildRequires: java-devel
BuildRequires: junit >= 0:3.7
BuildRequires: postgresql-jdbc
%if %{gcj_support}
BuildRequires: gcc-java
BuildRequires: java-1.5.0-gcj-devel
Requires(post): %{_bindir}/rebuild-gcj-db
Requires(postun): %{_bindir}/rebuild-gcj-db
BuildRequires: gcc-java
BuildRequires: java-1.5.0-gcj-devel
Requires(post): %{_bindir}/rebuild-gcj-db
Requires(postun): %{_bindir}/rebuild-gcj-db
%endif
%description jdbc
The postgis-jdbc package provides the essential jdbc driver for PostGIS.
%endif
%if %utils
%package utils
Summary: The utils for PostGIS
Group: Applications/Databases
Requires: %{name} = %{version}-%{release}, perl-DBD-Pg
Summary: The utils for PostGIS
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: perl-DBD-Pg
%description utils
The postgis-utils package provides the utilities for PostGIS.
%endif
%define __perl_requires %{SOURCE4}
%if %upgrade
%package upgrade
Summary: Support for upgrading Postgis
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: postgresql-upgrade
Provides: bundled(postgis) = %prevversion
%description upgrade
The postgis-upgrade package contains the previous version of Postgis as well as
the current version of Postgis built against the previous version of PostgreSQL
necessary for correct dump of schema from previous version of PostgreSQL.
%endif
%package gui
Summary: The shp2pgsql-gui utility for PostGIS
Requires: %{name}%{?_isa} = %{version}-%{release}
%description gui
The gui package provides shp2pgsql-gui for PostGIS.
%package client
Summary: The CLI clients for PostGIS
Requires: %{name}%{?_isa} = %{version}-%{release}
%description client
The client package provides shp2pgsql, raster2pgsql and pgsql2shp for PostGIS.
%prep
%setup -q -n %{name}-%{version}
# Copy .pdf file to top directory before installing.
%setup -q -n %{name}-%{version} -a 3
%if %upgrade
(
tar xf %{SOURCE0}
cd %{name}-%{prevversion}
%patch1 -p1
%patch -P 2 -p2
%patch -P 3 -p1
./autogen.sh
)
%endif
%patch -P 3 -p1
cp -p %{SOURCE2} .
%build
%configure --with-gui
#make %{?_smp_mflags} LPATH=`pg_config --pkglibdir` shlib="%{name}.so"
make LPATH=`pg_config --pkglibdir` shlib="%{name}.so"
%ifnarch armv7hl
%configure %configure_opts --with-gui --with-pgconfig=%{_bindir}/pg_server_config --with-sfcgal
%else
%configure %configure_opts --with-gui --with-pgconfig=%{_bindir}/pg_server_config
%endif
sed -i 's| -fstack-clash-protection | |' postgis/Makefile
sed -i 's| -fstack-clash-protection | |' raster/rt_pg/Makefile
sed -i 's| -fstack-clash-protection | |' topology/Makefile
sed -i 's| -fstack-clash-protection | |' extensions/address_standardizer/Makefile
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build
%if %javabuild
export BUILDXML_DIR=%{_builddir}/%{name}-%{version}/java/jdbc
@ -86,27 +190,89 @@ popd
%endif
%if %utils
make -C utils
%make_build -C utils
%endif
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
install -d %{buildroot}%{_libdir}/pgsql/
install -d %{buildroot}%{_datadir}/pgsql/contrib/
install -m 644 *.sql %{buildroot}%{_datadir}/pgsql/contrib/
install -m 755 loader/shp2pgsql loader/shp2pgsql-gui %{buildroot}%{_bindir}/
rm -f %{buildroot}%{_datadir}/*.sql
%if %upgrade
(
cd %{name}-%{version}
if [ "%{_libdir}" = "/usr/lib64" ] ; then
mv %{buildroot}%{_datadir}/pgsql/contrib/%{name}-%{majorversion}/postgis.sql %{buildroot}%{_datadir}/pgsql/contrib/postgis-64.sql
mv %{buildroot}%{_datadir}/pgsql/contrib/%{name}-%{majorversion}/postgis_upgrade_13_to_15.sql %{buildroot}%{_datadir}/pgsql/contrib/%{name}-%{majorversion}/postgis_upgrade_13_to_15-64.sql
mv %{buildroot}%{_datadir}/pgsql/contrib/%{name}-%{majorversion}/postgis_upgrade_14_to_15.sql %{buildroot}%{_datadir}/pgsql/contrib/%{name}-%{majorversion}/postgis_upgrade_14_to_15-64.sql
fi
# Build current Postgis version against the previous PostgreSQL version. We need only the so names.
# We intentionally don't use %%configure here since there is too many
# pre-defined directories, and not everything from postgis-%%prevversion
# directory respects the `pg_config` output (liblwgeom especially).
./configure %configure_opts \
--with-pgconfig=%postgresql_upgrade_prefix/bin/pg_config \
--libdir=%postgresql_upgrade_prefix/lib \
--includedir=%postgresql_upgrade_prefix/include
sed -i 's| -fstack-clash-protection | |' postgis/Makefile
sed -i 's| -fstack-clash-protection | |' raster/rt_pg/Makefile
sed -i 's| -fstack-clash-protection | |' topology/Makefile
sed -i 's| -fstack-clash-protection | |' extensions/address_standardizer/Makefile
%make_build
)
(
cd %{name}-%{prevversion}
# Build previous Postgis version against the current PostgreSQL version. We need only the so names.
%configure %configure_opts
sed -i 's| -fstack-clash-protection | |' postgis/Makefile
sed -i 's| -fstack-clash-protection | |' raster/rt_pg/Makefile
sed -i 's| -fstack-clash-protection | |' topology/Makefile
sed -i 's| -fstack-clash-protection | |' extensions/address_standardizer/Makefile
%make_build
mkdir ../compat-build
for so in %so_files; do
find -name $so.so -exec cp {} ../compat-build/$so-%{prevmajorversion}.so \;
find -name $so-%{prevmajorversion}.so -exec cp -t ../compat-build/ {} +
done
# Full build of previous Postgis version against previous PostgreSQL version
# We intentionally don't use %%configure here since there is too many
# pre-defined directories, and not everything from postgis-%%prevversion
# directory respects the `pg_config` output (liblwgeom especially).
./configure %configure_opts \
--with-pgconfig=%postgresql_upgrade_prefix/bin/pg_config \
--libdir=%postgresql_upgrade_prefix/lib \
--includedir=%postgresql_upgrade_prefix/include
sed -i 's| -fstack-clash-protection | |' postgis/Makefile
sed -i 's| -fstack-clash-protection | |' raster/rt_pg/Makefile
sed -i 's| -fstack-clash-protection | |' topology/Makefile
sed -i 's| -fstack-clash-protection | |' extensions/address_standardizer/Makefile
%make_build
)
%endif
%install
%make_install
%make_install -C utils
%make_install -C extensions
# move application metadata to correct location
mv %{buildroot}/%{_datadir}/pgsql/applications %{buildroot}/%{_datadir}
mv %{buildroot}/%{_datadir}/pgsql/icons %{buildroot}/%{_datadir}
%if %upgrade
(cd %{name}-%{version} && %make_install)
(cd %{name}-%{prevversion} && %make_install)
# drop unused stuff from upgrade-only installation
/bin/rm -rf %buildroot%postgresql_upgrade_prefix/bin
/bin/rm -rf %buildroot%postgresql_upgrade_prefix/lib/lib*
# Manually install compat-build binary.
for so in %so_files; do
%{__install} -m 644 compat-build/$so-%{prevmajorversion}.so %{buildroot}/%{_libdir}/pgsql
done
%endif
rm -f %{buildroot}%{_datadir}/*.sql
%if %javabuild
install -d %{buildroot}%{_javadir}
install -m 755 java/jdbc/%{name}-%{version}.jar %{buildroot}%{_javadir}
install -m 755 java/jdbc/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
%if %{gcj_support}
aot-compile-rpm
%endif
@ -118,29 +284,91 @@ install -d %{buildroot}%{_datadir}/%{name}
install -m 755 utils/*.pl %{buildroot}%{_datadir}/%{name}
%endif
%clean
rm -rf %{buildroot}
find %buildroot \( -name '*.la' -or -name '*.a' \) -delete
%check
desktop-file-validate %{buildroot}/%{_datadir}/applications/shp2pgsql-gui.desktop
%if %runselftest
%postgresql_tests_run
export PGIS_REG_TMPDIR=`mktemp -d`
if ! LD_LIBRARY_PATH=%{buildroot}%_libdir make check %{_smp_mflags} ; then
for file in $(find $PGIS_REG_TMPDIR -name '*_diff'); do
echo "== $file =="
cat "$file"
done
fi
%endif
%if %javabuild
%if %gcj_support
%post -p %{_bindir}/rebuild-gcj-db
%postun -p %{_bindir}/rebuild-gcj-db
%post jdbc -p %{_bindir}/rebuild-gcj-db
%postun jdbc -p %{_bindir}/rebuild-gcj-db
%endif
%endif
%files
%defattr(-,root,root)
%doc COPYING CREDITS NEWS TODO README.%{name} doc/html loader/README.* doc/%{name}.xml doc/ZMSgeoms.txt
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_libdir}/pgsql/postgis-*.so
%{_datadir}/pgsql/contrib/*.sql
%{_datadir}/pgsql/contrib/%{name}-%{majorversion}/*.sql
%license COPYING
%doc CREDITS NEWS TODO README.%{name} loader/README.* doc/%{name}.xml doc/ZMSgeoms.txt
%{_libdir}/pgsql/%{name}-%{soversion}.so
%{_datadir}/pgsql/contrib/postgis-%{majorversion}/*.sql
%{_datadir}/pgsql/extension/address_standardizer*.sql
%{_datadir}/pgsql/extension/address_standardizer*.control
%{_datadir}/pgsql/extension/postgis-*.sql
%{_datadir}/pgsql/extension/postgis_raster*.sql
%ifnarch armv7hl
%{_datadir}/pgsql/extension/postgis_sfcgal*.sql
%endif
%{_datadir}/pgsql/extension/postgis_topology*.sql
%{_datadir}/pgsql/extension/postgis.control
%{_datadir}/pgsql/extension/postgis_raster.control
%ifnarch armv7hl
%{_datadir}/pgsql/extension/postgis_sfcgal.control
%endif
%{_datadir}/pgsql/extension/postgis_topology.control
%{_datadir}/pgsql/extension/postgis_tiger_geocoder*.sql
%{_datadir}/pgsql/extension/postgis_tiger_geocoder.control
%{_datadir}/postgis/create_unpackaged.pl
%{_datadir}/postgis/create_spatial_ref_sys_config_dump.pl
%{_datadir}/postgis/repo_revision.pl
%{_libdir}/pgsql/address_standardizer-%{soversion}.so
%{_libdir}/pgsql/postgis_raster-%{soversion}.so
%ifnarch armv7hl
%{_libdir}/pgsql/postgis_sfcgal-%{soversion}.so
%endif
%{_libdir}/pgsql/postgis_topology-%{soversion}.so
%files client
%{_bindir}/pgsql2shp
%{_bindir}/raster2pgsql
%{_bindir}/shp2pgsql
%{_bindir}/pgtopo_export
%{_bindir}/pgtopo_import
%files gui
%{_bindir}/shp2pgsql-gui
%{_datadir}/applications/shp2pgsql-gui.desktop
%{_datadir}/icons/hicolor/*/apps/shp2pgsql-gui.png
%files llvmjit
%{_libdir}/pgsql/bitcode/address_standardizer-*
%{_libdir}/pgsql/bitcode/postgis-*
%{_libdir}/pgsql/bitcode/postgis_raster-*
%ifnarch armv7hl
%{_libdir}/pgsql/bitcode/postgis_sfcgal-*
%endif
%{_libdir}/pgsql/bitcode/postgis_topology-*
%if %javabuild
%files jdbc
%defattr(-,root,root)
%doc java/jdbc/COPYING_LGPL java/jdbc/README
%attr(755,root,root) %{_javadir}/%{name}-%{version}.jar
%license java/jdbc/COPYING_LGPL
%doc java/jdbc/README
%{_javadir}/%{name}.jar
%if %{gcj_support}
%dir %{_libdir}/gcj/%{name}
%{_libdir}/gcj/%{name}/*.jar.so
@ -148,28 +376,449 @@ rm -rf %{buildroot}
%endif
%endif
%if %upgrade
%files upgrade
%postgresql_upgrade_prefix/*
%_libdir/pgsql/*-%{prevmajorversion}.so
%endif
%if %utils
%files utils
%defattr(755,root,root)
%doc utils/README
%dir %{_datadir}/%{name}/
%doc %{_datadir}/doc/pgsql/extension/README.address_standardizer
%{_datadir}/%{name}/test_estimation.pl
%{_datadir}/%{name}/profile_intersects.pl
%{_datadir}/%{name}/test_joinestimation.pl
%{_datadir}/%{name}/create_extension_unpackage.pl
%{_datadir}/%{name}/create_undef.pl
%{_datadir}/%{name}/%{name}_proc_upgrade.pl
%{_datadir}/%{name}/%{name}_restore.pl
%{_datadir}/%{name}/new_postgis_restore.pl
%{_datadir}/pgsql/contrib/postgis-%{majorversion}/postgis_restore.pl
%{_datadir}/%{name}/read_scripts_version.pl
%{_datadir}/%{name}/test_geography_estimation.pl
%{_datadir}/%{name}/test_geography_joinestimation.pl
%{_datadir}/%{name}/create_or_replace_to_create.pl
%{_datadir}/%{name}/create_upgrade.pl
%endif
%files docs
%defattr(-,root,root)
%doc postgis*.pdf
%changelog
* Tue May 30 2023 Sandro Mani <manisandro@gmail.com> - 3.3.3-1
- Update to 3.3.3
* Thu May 11 2023 Sandro Mani <manisandro@gmail.com> - 3.3.2-5
- Rebuild (gdal)
* Sun Apr 09 2023 Florian Weimer <fweimer@redhat.com> - 3.3.2-4
- C99 compatibility fixes
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Nov 16 2022 Ondřej Sloup <osloup@redhat.com> - 3.3.2-2
- Rebuild for new PostgreSQL 15
* Mon Nov 14 2022 Sandro Mani <manisandro@gmail.com> - 3.3.2-1
- Update to 3.3.2
* Sat Nov 12 2022 Sandro Mani <manisandro@gmail.com> - 3.3.1-2
- Rebuild (gdal)
* Sat Sep 10 2022 Sandro Mani <manisandro@gmail.com> - 3.3.1-1
- Update to 3.3.1
* Tue Aug 30 2022 Sandro Mani <manisandro@gmail.com> - 3.3.0-1
- Update to 3.3.0
* Sat Aug 06 2022 Sandro Mani <manisandro@gmail.com> - 3.2.2-1
- Update to 3.2.2
- Re-enable upgrade subpackages
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri May 20 2022 Sandro Mani <manisandro@gmail.com> - 3.2.1-3
- Rebuild for gdal-3.5.0 and/or openjpeg-2.5.0
* Thu Mar 10 2022 Sandro Mani <manisandro@gmail.com> - 3.2.1-2
- Rebuild for proj-9.0.0
* Mon Feb 14 2022 Sandro Mani <manisandro@gmail.com> - 3.2.1-1
- Update to 3.2.1
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jan 11 2022 Sandro Mani <manisandro@gmail.com> - 3.2.0-2
- Rebuild (postgresql-14)
* Sat Dec 18 2021 Sandro Mani <manisandro@gmail.com> - 3.2.0-1
- Update to 3.2.0
* Thu Nov 11 2021 Sandro Mani <manisandro@gmail.com> - 3.1.4-5
- Rebuild (gdal)
* Sat Nov 06 2021 Adrian Reber <adrian@lisas.de> - 3.1.4-4
- Rebuilt for protobuf 3.19.0
* Tue Oct 26 2021 Adrian Reber <adrian@lisas.de> - 3.1.4-3
- Rebuilt for protobuf 3.18.1
* Thu Oct 21 2021 Sandro Mani <manisandro@gmail.com> - 3.1.4-2
- Rebuild (geos)
* Sat Sep 04 2021 Sandro Mani <manisandro@gmail.com> - 3.1.4-1
- Update to 3.1.4
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sat Jul 10 2021 Björn Esser <besser82@fedoraproject.org> - 3.1.3-2
- Rebuild for versioned symbols in json-c
* Mon Jul 05 2021 Sandro Mani <manisandro@gmail.com> - 3.1.3-1
- Update to 3.1.3
* Mon Jul 5 2021 Basil Eric Rabi <ericbasil.rabi@gmail.com> - 3.1.2-2
- Build with SFCGAL
* Mon May 24 2021 Sandro Mani <manisandro@gmail.com> - 3.1.2-1
- Update to 3.1.2
* Fri May 07 2021 Sandro Mani <manisandro@gmail.com> - 3.1.1-8
- Rebuild (gdal)
* Tue Mar 23 2021 Sandro Mani <manisandro@gmail.com> - 3.1.1-7
- Bump
* Sun Mar 07 2021 Sandro Mani <manisandro@gmail.com> - 3.1.1-6
- Rebuild (proj)
- Disable upgrade packages for now (not compatible with proj8)
* Mon Feb 22 2021 Michael Scherer <misc@fedoraproject.org> - 3.1.1-5
- split various utilities subpackages, to not pull gtk in the main rpm
* Sat Feb 13 2021 Sandro Mani <manisandro@gmail.com> - 3.1.1-4
- Rebuild (geos)
* Tue Feb 09 2021 Sandro Mani <manisandro@gmail.com> - 3.1.1-3
- Also ship current version of Postgis against previous version of PostgreSQL in
postgis-upgrade
* Mon Feb 08 2021 Pavel Raiskup <praiskup@redhat.com> - 3.1.1-2
- rebuild for libpq ABI fix rhbz#1908268
* Fri Jan 29 2021 Sandro Mani <manisandro@gmail.com> - 3.1.1-1
- Update to 3.1.1
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jan 13 16:41:55 CET 2021 Adrian Reber <adrian@lisas.de> - 3.1.0-2
- Rebuilt for protobuf 3.14
* Sat Dec 19 2020 Sandro Mani <manisandro@gmail.com> - 3.1.0-1
- Update to 3.1.0
* Mon Nov 23 2020 Sandro Mani <manisandro@gmail.com> - 3.0.3-1
- Update to 3.0.3
* Wed Nov 11 2020 Sandro Mani <manisandro@gmail.com> - 3.0.2-3
- Rebuild (proj, gdal)
- Cleanup spec
* Thu Oct 08 2020 Jeff Law <law@redhat.com> - 3.0.2-2
- Re-enable LTO
* Mon Aug 17 2020 Sandro Mani <manisandro@gmail.com> - 3.0.2-1
- Update to 3.0.2
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-10
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 3.0.1-8
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
* Thu May 21 2020 Sandro Mani <manisandro@gmail.com> - 3.0.1-7
- Rebuild (gdal)
* Mon May 04 2020 Sandro Mani <manisandro@gmail.com> - 3.0.1-6
- Pass --with-pgconfig=%%{_bindir}/pg_server_config
* Sun May 03 2020 Sandro Mani <manisandro@gmail.com> - 3.0.1-5
- Move postgis-upgrade to 2.5.4
* Wed Apr 22 2020 Björn Esser <besser82@fedoraproject.org> - 3.0.1-4
- Re-enable selftests
* Tue Apr 21 2020 Björn Esser <besser82@fedoraproject.org> - 3.0.1-3
- Rebuild (json-c)
- Disable selftests, as they seem to be flaky
* Tue Mar 03 2020 Sandro Mani <manisandro@gmail.com> - 3.0.1-2
- Rebuild (gdal)
* Mon Mar 02 2020 Sandro Mani <manisandro@gmail.com> - 3.0.1-1
- Update to 3.0.1
* Sun Feb 16 2020 Devrim Gündüz <devrim@gunduz.org> - 3.0.0-1
- Update to 3.0.0
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Sep 4 2019 Devrim Gündüz <devrim@gunduz.org> - 2.5.3-1
- Update to 2.5.3
- Update prev version to 2.4.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Feb 4 2019 Devrim Gündüz <devrim@gunduz.org> - 2.5.1-1
- Update to 2.5.1
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Oct 22 2018 Petr Kubat <pkubat@redhat.com> - 2.5.0-1
- update to 2.5.0, per NEWS file:
https://svn.osgeo.org/postgis/tags/2.5.0/NEWS
* Wed Sep 05 2018 Pavel Raiskup <praiskup@redhat.com> - 2.4.3-6
- rebuild against postgresql-server-devel (rhbz#1618698)
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Apr 13 2018 Pavel Raiskup <praiskup@redhat.com> - 2.4.3-4
- postgresql.spec moved testing macros to postgresql-test-rpm-macros
* Tue Mar 06 2018 Björn Esser <besser82@fedoraproject.org> - 2.4.3-3
- Rebuilt for libjson-c.so.4 (json-c v0.13.1)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jan 18 2018 Pavel Raiskup <praiskup@redhat.com> - 2.4.3-1
- rebase to latest upstream release (rhbz#1513788)
* Fri Dec 15 2017 Björn Esser <besser82@fedoraproject.org> - 2.4.1-4
- Add patch for changes in json-c >= 0.13
* Sun Dec 10 2017 Björn Esser <besser82@fedoraproject.org> - 2.4.1-3
- Rebuilt for libjson-c.so.3
* Thu Oct 26 2017 Pavel Raiskup <praiskup@redhat.com> - 2.4.1-2
- upgrade: drop not-used /bin directory and liblwgeom (rhbz#1055293)
- upgrade: confess that we bundle postgis = prevversion
* Mon Oct 23 2017 Pavel Raiskup <praiskup@redhat.com> - 2.4.1-1
- update to 2.4.1, per NEWS file:
https://svn.osgeo.org/postgis/tags/2.4.1/NEWS
* Wed Oct 18 2017 Pavel Raiskup <praiskup@redhat.com> - 2.4.0-2
- build against json-c again (rhbz#1484031)
- post/postun set for jdbc sub-package (rhbz#979685)
* Tue Oct 17 2017 Pavel Raiskup <praiskup@redhat.com> - 2.4.0-1
- install desktop files into /usr/share/applications
- optimize build without %%upgrade
- drop explicit requires on libraries (resolved by implicit lib*.so*())
- enable build testsuite
- disable hardening on f26 (all arches) and on s390x (all distros)
* Tue Oct 10 2017 Pavel Raiskup <praiskup@redhat.com> - 2.4.0-1
- provide postgis-upgrade package (rhbz#1475177)
* Mon Oct 09 2017 Pavel Raiskup <praiskup@redhat.com> - 2.4.0-1
- update to 2.4.0, per upstream release notes
https://postgis.net/2017/09/30/postgis-2.4.0/
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sun Jul 2 2017 Devrim Gündüz <devrim@gunduz.org> - 2.3.3-1
- Update to 2.3.3, per changes described at
http://postgis.net/2017/07/01/postgis-2.3.3/
rhbz #1467032
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Jan 25 2017 Devrim Gündüz <devrim@gunduz.org> - 2.3.2-1
- Update to 2.3.2, per changes described at
http://postgis.net/2017/01/31/postgis-2.3.2/
rhbz#1418136
* Wed Jan 25 2017 Devrim Gündüz <devrim@gunduz.org> - 2.3.1-2
- Rebuild against Proj 4.9.3
* Wed Nov 30 2016 Devrim Gündüz <devrim@gunduz.org> - 2.3.1-1
- Update to 2.3.1, per changes described at
http://postgis.net/2016/11/28/postgis-2.3.1
- Update previous version to 2.2.4
- Fix a few rpmlint warnings.
* Mon Oct 10 2016 Pavel Raiskup <praiskup@redhat.com> - 2.3.0-3
- bump: build in rawhide hit too early
* Fri Oct 07 2016 Petr Kubat <pkubat@redhat.com> - 2.3.0-2
- Rebuild for PostgreSQL 9.6.0
* Tue Sep 27 2016 Jozef Mlich <imlich@fit.vutbr.cz> - 2.3.0-1
- Update to 2.3.0, per changes described at
http://postgis.net/2016/09/26/postgis-2.3.0/
* Fri Mar 25 2016 Devrim Gündüz <devrim@gunduz.org> - 2.2.2-1
- Update to 2.2.2, per changes described at
http://postgis.net/2016/03/22/postgis-2.2.2
* Mon Feb 15 2016 Pavel Raiskup <praiskup@redhat.com> - 2.2.1-3
- install address_standardizer module (rhbz#1307872)
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jan 08 2016 Jozef Mlich <jmlich@redhat.com> - 2.2.1-1
- Rebuild to 2.2.1, per changes described at:
http://svn.osgeo.org/postgis/tags/2.2.1/NEWS
* Sun Aug 30 2015 Peter Robinson <pbrobinson@fedoraproject.org> 2.1.8-2
- Rebuild again for GDAL 2.0
* Tue Jul 28 2015 Devrim Gündüz <devrim@gunduz.org> - 2.1.8-1
- Update to 2.1.8, per changes described at:
http://svn.osgeo.org/postgis/tags/2.1.8/NEWS
- Rebuilt for GDAL 2.0
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Wed Apr 1 2015 Devrim Gündüz <devrim@gunduz.org> - 2.1.7-1
- Update to 2.1.7, per changes described at:
http://svn.osgeo.org/postgis/tags/2.1.7/NEWS
* Fri Mar 27 2015 Devrim Gündüz <devrim@gunduz.org> - 2.1.6-1
- Update to 2.1.6, per changes described at:
http://postgis.net/2015/03/20/postgis-2.1.6
* Wed Mar 11 2015 Devrim Gündüz <devrim@gunduz.org> - 2.1.5-3
- Rebuild for Proj 4.9.1
- Add patch to fix FTBFS -- patch by Sandro Mani <manisandro@gmail.com>
* Thu Jan 08 2015 Jozef Mlich <jmlich@redhat.com> - 2.1.5-2
- disable json-c/geojson just for upgrade part of postgis
* Mon Dec 22 2014 Devrim Gündüz <devrim@gunduz.org> - 2.1.5-1
- Update to 2.1.5, per changes described at:
http://postgis.net/2014/12/18/postgis-2.1.5 and
http://postgis.net/2014/09/10/postgis-2.1.4
* Mon Aug 18 2014 Jozef Mlich <jmlich@redhat.com> - 2.1.3-5
- Dropped json-c because it is not building anymore
Resolves: #1129292
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Thu Jun 26 2014 Jozef Mlich <jmlich@redhat.com> - 2.1.3-3
- Removing static libraries
Resolves: #979179
* Mon Jun 09 2014 Jozef Mlich <jmlich@redhat.com> - 2.1.3-2
- removing sinjdoc from BuildRequires as it is not available
in rawhide anymore
* Mon Jun 09 2014 Jozef Mlich <jmlich@redhat.com> - 2.1.3-1
- Rebase to 2.1.3 and 2.0.6 (security bugfixes, feature bugfixes)
see http://svn.osgeo.org/postgis/tags/2.1.3/NEWS
- json_c turned on
- installation of .so file of previous version moved into install section
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Jan 23 2014 Devrim Gündüz <devrim@gunduz.org> - 2.1.1-2
- Install postgis-2.0.so file, by compiling it from 2.0 sources
Fixes bz #1055293.
* Thu Dec 12 2013 Devrim Gündüz <devrim@gunduz.org> - 2.1.1-1
- Update to 2.1.1
* Fri Oct 25 2013 Dan Horák <dan[at]danny.cz> - 2.1.0-2
- fix build on non-x86 64-bit arches
* Thu Sep 12 2013 Devrim Gündüz <devrim@gunduz.org> - 2.1.0-1
- Update to 2.1.0, per changes described at:
http://svn.osgeo.org/postgis/tags/2.1.0/NEWS
* Tue Aug 27 2013 Orion Poplawski <orion@cora.nwra.com> - 2.0.3-4
- Rebuild for gdal 1.10.0
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 2.0.3-2
- Perl 5.18 rebuild
* Wed Mar 6 2013 Devrim GÜNDÜZ <devrim@gunduz.org> - 2.0.3-1
- Update to 2.0.3, and build against GeOS 3.3.8.
- Update all URLs.
* Fri Jan 25 2013 Devrim GÜNDÜZ <devrim@gunduz.org> - 2.0.2-2
- Rebuilt against geos 3.3.7.
- Apply changes for PostgreSQL 9.2 and extensions.
* Wed Jan 16 2013 Devrim GÜNDÜZ <devrim@gunduz.org> - 2.0.2-1
- Update to 2.0.2, for various changes described at:
http://www.postgis.org/news/20121203/
* Tue Nov 13 2012 Devrim GÜNDÜZ <devrim@gunduz.org> - 2.0.1-1
- Update to 2.0.1, so it works against PostgreSQL 9.2,
which also fixes #872710.
- Add deps for gdal.
- Don't build JDBC portions. I have already disabled it in
upstream packaging 8 months ago.
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Oct 4 2011 Devrim GÜNDÜZ <devrim@gunduz.org> - 1.5.3-2
- Provide postgis.jar instead of provide postgis-1.5.2.jar,
per #714856
* Tue Oct 4 2011 Devrim GÜNDÜZ <devrim@gunduz.org> - 1.5.3-1
- Update to 1.5.3
* Tue Apr 19 2011 Devrim GÜNDÜZ <devrim@gunduz.org> - 1.5.2-1
- Update to 1.5.2
* Sun Apr 03 2011 Nils Philippsen <nils@redhat.com> - 1.5.1-3
- cope with PostgreSQL 9.0 build environment
- require pgsql version used for building
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Mar 11 2010 Devrim GÜNDÜZ <devrim@gunduz.org> - 1.5.1-1
- Update to 1.5.1
* Tue Jan 12 2010 Devrim GÜNDÜZ <devrim@gunduz.org> - 1.5.0-1
- Update to 1.5.0
- Trim changelog a bit.

3227
postgis2-proj8.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,2 +1,3 @@
8c0d291296033deee4d7f545e5d8218f postgis-1.5.0.tar.gz
207ee6c233d9a2bcea4247583390630f postgis-1.5.0.pdf
SHA512 (postgis-3.3.3.pdf) = 3ec5ecd288a4f9428ca047dd537de20fdb9ee6e5b0addcdbf3ca1d11e6386d11e1e74b2952f3034a29b75213091f4ca2d36766548c0534b0d0b8686595a10e33
SHA512 (postgis-3.3.3.tar.gz) = 0025a8a5c6be7e18dfb97a6a04c468a9da2d6e99462d20eec7bddf4048b8f2fa1e8029be9f819950c910a6f89190e8295f10e8dab9b4885d03d3dbcce41380c2
SHA512 (postgis-2.5.5.tar.gz) = 407c9ddf5b73aaa8d36ec606f974b86c16c9ed4aafbfd4a0b7f96cfc7a9f8a8fa38528cb4787bdd50de479416dbfb09934a85d189463cec549da66863060292e