Пакет libspatialite: 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 | #global _geocallback "--disable-geocallbacks" %global _lwgeom "--disable-lwgeom" %global _geocallback "--enable-geocallbacks" %global _geosadvanced "--disable-geosadvanced" %global _no_checks 1 %global _topo --enable-rttopo %global _gcp --enable-gcp %global _no_checks 1 Name: libspatialite Version: 5.0.1 Release: alt1 Summary: Enables SQLite to support spatial data Group: System/Libraries License: MPLv1.1 or GPLv2+ or LGPLv2+ Packager: Ilya Mashkin <oddity@altlinux.ru> Url: https://www.gaia-gis.it/fossil/libspatialite Source0: http://www.gaia-gis.it/gaia-sins/%name-sources/%name-%version.tar.gz Patch0: libspatialite_pkgconfig.patch BuildRequires: libproj-devel gcc-c++ gcc BuildRequires: freexl-devel BuildRequires: libsqlite3-devel BuildRequires: libgeos-devel BuildRequires: libxml2-devel BuildRequires: zlib-devel libminizip-devel librttopo-devel %description SpatiaLite is a a library extending the basic SQLite core in order to get a full fledged Spatial DBMS, really simple and lightweight, but mostly OGC-SFS compliant. %package devel Summary: Development libraries and headers for SpatiaLite Group: System/Libraries Requires: %name%{?_isa} = %version-%release Requires: pkgconfig %description devel The %name-devel package contains libraries and header files for developing applications that use %name. %prep %setup %patch0 -p1 autoconf %build #add_optflags -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 %configure \ --disable-static \ %{?_lwgeom} \ %{?_libxml2} \ %{?_geos} \ %{?_geocallback} \ %{?_geosadvanced} \ %{?_topo} \ %{?_gcp} %make_build %install %makeinstall_std # Delete undesired libtool archives rm -f %buildroot%_libdir/*.la %files %doc COPYING AUTHORS %_libdir/%name.so.* %_libdir/mod_spatialite.so.* %files devel %doc examples/*.c %_includedir/spatialite.h %_includedir/spatialite %_libdir/%name.so %_libdir/mod_spatialite.so %_libdir/pkgconfig/spatialite.pc %changelog * Sat Dec 25 2021 Ilya Mashkin <oddity@altlinux.ru> 5.0.1-alt1 - 5.0.1 * Fri Oct 04 2019 Vladislav Zavjalov <slazav@altlinux.org> 4.3.0a-alt3 - Rebuild with libproj 6.2.0 (use DACCEPT_USE_OF_DEPRECATED_PROJ_API_H) * Sat Feb 16 2019 Vladislav Zavjalov <slazav@altlinux.org> 4.3.0a-alt2 - Rebuild with libproj 5.2.0 * Wed Feb 28 2018 Andrey Cherepanov <cas@altlinux.org> 4.3.0a-alt1 - New version. (ALT #34590) * Thu Feb 04 2016 Andrey Cherepanov <cas@altlinux.org> 4.1.1-alt1.1 - Rebuild with new geos * Thu Feb 27 2014 Ilya Mashkin <oddity@altlinux.ru> 4.1.1-alt1 - 4.1.1 * Tue Jan 29 2013 Ilya Mashkin <oddity@altlinux.ru> 4.0.0-alt1 - Build for Sisyphus * Sun Dec 1 2012 Volker Frohlich <volker27@gmx.at> - 4.0.0-1 - New upstream release - Remove arch restrictions, solving BZ 663938 and 846301 - Update conditional for geosadvanced * Sat Aug 18 2012 Volker Frohlich <volker27@gmx.at> - 3.1.0-0.3.RC2 - Add ppc to excluded archs (BZ #846301) - Don't build with profiling * Fri Jan 27 2012 Volker Frohlich <volker27@gmx.at> - 3.1.0-0.1.RC2 - Add pkconfig as Requirement to the devel sub-package - Drop freexl patch (solved), build with Freexl - Update descriptions and summaries - Re-design conditionals for build flags - Don't run checks if built without advancedgeos - Include examples as documentation * Wed Jan 14 2012 Volker Frohlich <volker27@gmx.at> - 3.0.1-1 - New upstream release - Drop defattr - Run tests - Own spatialite include-dir - Add GPLv2+ and LGPLv2+ as alternative licenses - Update URL and source URL - Reduce build conditions to EPEL or not - Use isa macro in base package Requires * Tue Dec 7 2010 Volker Frohlich <volker27@gmx.at> 2.4.0-0.5.RC4 - Corrected wrong Fedora version number in if-statement * Sun Dec 5 2010 Volker Frohlich <volker27@gmx.at> 2.4.0-0.4.RC4 - Refined configure condition to support RHEL * Fri Dec 3 2010 Volker Frohlich <volker27@gmx.at> 2.4.0-0.3.RC4 - Added buildroot - Added doc files * Wed Dec 1 2010 Volker Frohlich <volker27@gmx.at> 2.4.0-0.2.RC4 - Added description of devel package - Switched to disable-static flag * Sun Nov 28 2010 Volker Frohlich <volker27@gmx.at> 2.4.0-0.1.RC4 - Initial packaging for Fedora |