Package postgresql14-postgis: Specfile
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 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 | %define _unpackaged_files_terminate_build 1 %define pg_ver 14 Name: postgresql%pg_ver-postgis Version: 3.3.2 Release: alt2 Summary: Geographic Information Systems Extensions to PostgreSQL %pg_ver Summary(ru_RU.UTF-8): Геоинформационные расширения для PostgreSQL %pg_ver License: GPL-2.0 Group: Databases Url: http://postgis.refractions.net Source: postgis-%version.tar.gz Source1: create_template_postgis Source2: postgis.watch BuildRequires: gcc-c++ BuildRequires: ImageMagick-tools BuildRequires: docbook-dtds BuildRequires: docbook-style-xsl BuildRequires: flex BuildRequires: libgdal-devel BuildRequires: libgeos-devel BuildRequires: libgtk+2-devel BuildRequires: libproj-devel BuildRequires: libxml2-devel BuildRequires: postgresql%pg_ver-server-devel BuildRequires: libjson-c-devel BuildRequires: libprotobuf-c-devel BuildRequires: protobuf-c-compiler BuildRequires: libpcre-devel BuildRequires: xsltproc Requires: postgresql%pg_ver-server Provides: postgis %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). %description -l ru_RU.UTF-8 PostGIS добавляет поддержку географических объектов в PostgreSQL. В сущности PostGIS является расширением PostgreSQL сервера, позволяющим использовать его для хранения и обработки геоданных в геоинформационных системах (ГИС). %prep %setup -n postgis-%version subst "s|PGSQL_DOCDIR|DOCDIR|g" doc/Makefile.in %build export PCRE_CPPFLAGS=-I/usr/include/pcre ./autogen.sh subst 's/PGSQL_FULL_VERSION=.*/PGSQL_FULL_VERSION="PostgreSQL %pg_ver.0"/' configure %configure \ --disable-static \ --with-gui \ --with-raster \ --with-xsldir=%_datadir/xml/docbook/xsl-stylesheets %make all docs comments %install install -pD -m0755 %SOURCE1 %buildroot%_bindir/create_template_postgis install -d %buildroot%_libdir/pgsql/ install -d %buildroot%_includedir %makeinstall_std %makeinstall_std -C doc docs-install comments-install man-install DOCDIR=%_docdir/postgis-%version rm -rf %buildroot%_libdir/liblwgeom.a %files %doc %_docdir/postgis-%version %doc %_datadir/doc/postgresql/extension/README.address_standardizer %_bindir/* %_man1dir/* %_datadir/pgsql/applications/shp2pgsql-gui.desktop %_datadir/pgsql/icons/hicolor/*/apps/shp2pgsql-gui.png %_bindir/create_template_postgis %_libdir/pgsql/postgis*.so %ifnarch %e2k %_libdir/pgsql/bitcode %endif %_libdir/pgsql/address_standardizer*.so %_datadir/pgsql/contrib/postgis-*/*.sql %_datadir/pgsql/contrib/postgis-*/*.pl %_datadir/pgsql/extension %changelog * Tue Nov 22 2022 Michael Shigorin <mike@altlinux.org> 3.3.2-alt2 - E2K: no bitcode. * Mon Nov 14 2022 Andrey Cherepanov <cas@altlinux.org> 3.3.2-alt1 - New version. - Packaged as one package postgresql14-postgis. * Wed Sep 14 2022 Andrey Cherepanov <cas@altlinux.org> 3.3.1-alt1 - New version. * Mon Aug 29 2022 Andrey Cherepanov <cas@altlinux.org> 3.3.0-alt1 - New version. * Sun Aug 21 2022 Andrey Cherepanov <cas@altlinux.org> 3.2.3-alt1 - New version. * Mon Jul 25 2022 Andrey Cherepanov <cas@altlinux.org> 3.2.2-alt1 - New version. * Mon Feb 14 2022 Andrey Cherepanov <cas@altlinux.org> 3.2.1-alt1 - New version. * Sun Jan 02 2022 Andrey Cherepanov <cas@altlinux.org> 3.2.0-alt1 - New version (build with PostgreSQL 14). * Sun Sep 05 2021 Andrey Cherepanov <cas@altlinux.org> 3.1.4-alt1 - New version. * Mon Jul 05 2021 Andrey Cherepanov <cas@altlinux.org> 3.1.3-alt1 - New version. * Tue May 25 2021 Andrey Cherepanov <cas@altlinux.org> 3.1.2-alt1 - New version. * Mon Feb 01 2021 Andrey Cherepanov <cas@altlinux.org> 3.1.1-alt1 - New version. * Mon Dec 28 2020 Andrey Cherepanov <cas@altlinux.org> 3.1.0-alt1 - New version. * Sun Nov 22 2020 Andrey Cherepanov <cas@altlinux.org> 3.0.3-alt1 - New version (build with PosgreSQL 13). * Sat Aug 22 2020 Andrey Cherepanov <cas@altlinux.org> 3.0.2-alt1 - New version. * Thu May 28 2020 Andrey Cherepanov <cas@altlinux.org> 3.0.1-alt1 - New version. * Thu Dec 12 2019 Andrey Cherepanov <cas@altlinux.org> 2.5.3-alt2 - Rebuild with PostgreSQL 12. * Tue Aug 13 2019 Andrey Cherepanov <cas@altlinux.org> 2.5.3-alt1 - New version. * Tue Mar 19 2019 Andrey Cherepanov <cas@altlinux.org> 2.5.2-alt1 - New version. - Require postgresql11 (ALT #36240). * Sat Feb 16 2019 Vladislav Zavjalov <slazav@altlinux.org> 2.5.1-alt2 - Rebuild with libproj 5.2.0 * Wed Nov 21 2018 Andrey Cherepanov <cas@altlinux.org> 2.5.1-alt1 - New version. * Tue Oct 23 2018 Andrey Cherepanov <cas@altlinux.org> 2.5.0-alt1 - New version. - Add watch file to src.rpm. * Mon Apr 16 2018 Andrey Cherepanov <cas@altlinux.org> 2.4.4-alt1 - New version. * Wed Mar 21 2018 Andrey Cherepanov <cas@altlinux.org> 2.4.3-alt1 - New version. - Build from upstream tarball. - Add support for json-c, protobuf-c and pcre. - Fix build with postgresql10 (thanks taf@). * Mon Oct 23 2017 Andrey Cherepanov <cas@altlinux.org> 2.4.1-alt1 - New version * Tue Aug 29 2017 Andrey Cherepanov <cas@altlinux.org> 2.3.3-alt2 - Return postgresql-postgis for Postgis extension * Sat Aug 26 2017 Andrey Cherepanov <cas@altlinux.org> 2.3.3-alt1 - 2.3.3 - Merge postgis and postgresql-postgis, exclude postgis-devel * Tue Nov 27 2012 Alexey Shabalin <shaba@altlinux.ru> 1.5.8-alt1 - 1.5.8 * Mon Jul 30 2012 Alexey Shabalin <shaba@altlinux.ru> 1.5.5-alt1 - 1.5.5 * Thu Apr 19 2012 Alexey Shabalin <shaba@altlinux.ru> 1.5.3-alt1 - 1.5.3 * Sat May 22 2010 Denis Klimov <zver@altlinux.org> 1.5.1-alt5 - change proj-devel to libproj-devel in BuildRequires * Mon Mar 29 2010 Denis Klimov <zver@altlinux.org> 1.5.1-alt4 - add subpackage with postgresql shared lib - remove wildchars from create_template_postgis - add patch for install dirs - Closes #23248 * Sun Mar 28 2010 Denis Klimov <zver@altlinux.org> 1.5.1-alt3 - fix install create_template_postgis * Sun Mar 28 2010 Denis Klimov <zver@altlinux.org> 1.5.1-alt2 - add create_template_postgis script * Wed Mar 17 2010 Denis Klimov <zver@altlinux.org> 1.5.1-alt1 - Initial build for ALT Linux |