Package libproj: 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 | %def_disable static Name: libproj Version: 9.3.1 Release: alt1 Summary: PROJ.4 - cartographic projections library Group: Sciences/Geosciences License: MIT Url: https://proj4.org/ Source: proj-%version.tar.gz BuildPreReq: rpm-macros-cmake BuildRequires: cmake libgtest-devel libtiff-devel libcurl-devel BuildRequires: gcc-c++ libstdc++-devel libsqlite3-devel sqlite3 %description This package contains the PROJ.4 cartographic projections library. %package -n proj Summary: PROJ.4 programs Group: Sciences/Geosciences Requires: %name = %version-%release %description -n proj This package contains PROJ.4 programs. %package devel Summary: PROJ.4 development files Group: Sciences/Geosciences Requires: %name = %version-%release Requires: libcurl-devel Obsoletes: proj-devel Provides: proj-devel %description devel This package contains PROJ.4 development files. %if_enabled static %package devel-static Group: Sciences/Geosciences Summary: PROJ.4 static library Requires: %name-devel = %version-%release %description devel-static This package contains PROJ.4 static library. %endif #enabled static %package nad Summary: Empty package. US and Canadian datum shift grids moved to libproj Group: Sciences/Geosciences BuildArch: noarch %description nad Empty package. US and Canadian datum shift grids moved to libproj %prep %setup %build %cmake_insource -DUSE_EXTERNAL_GTEST=TRUE %cmake_build %install %cmake_install %files %doc NEWS AUTHORS COPYING README ChangeLog %_libdir/*.so.* %_datadir/proj/* %dir %_datadir/proj %files -n proj %doc NEWS AUTHORS COPYING %_bindir/* %_mandir/man1/*.1* %files devel %_includedir/*.h %_includedir/proj/*.hpp %dir %_includedir/proj %_libdir/*.so %_pkgconfigdir/*.pc %_libdir/cmake/proj/*.cmake %dir %_libdir/cmake/proj %_libdir/cmake/proj4/*.cmake %dir %_libdir/cmake/proj4 %if_enabled static %files devel-static %_libdir/*.a %endif %files nad %changelog * Mon Dec 18 2023 Vladislav Zavjalov <slazav@altlinux.org> 9.3.1-alt1 - 9.3.1 * Mon Sep 25 2023 Vladislav Zavjalov <slazav@altlinux.org> 9.3.0-alt1 - 9.3.0 * Sat Jul 15 2023 Vladislav Zavjalov <slazav@altlinux.org> 9.2.1-alt1 - 9.2.1 * Thu Nov 03 2022 Ilya Kurdyukov <ilyakurdyukov@altlinux.org> 9.1.0-alt1.1 - fixed build for Elbrus * Wed Oct 19 2022 Vladislav Zavjalov <slazav@altlinux.org> 9.1.0-alt1 - 9.1.0 * Mon Sep 20 2021 Vladislav Zavjalov <slazav@altlinux.org> 6.3.1-alt2 - fix build with LTO by disabling static library * Thu Mar 19 2020 Vladislav Zavjalov <slazav@altlinux.org> 6.3.1-alt1 - 6.3.1 * Thu Oct 03 2019 Vladislav Zavjalov <slazav@altlinux.org> 6.2.0-alt1 - move all datafiles from libproj-nad subpackage to libproj - 6.2.0 * Fri Feb 15 2019 Vladislav Zavjalov <slazav@altlinux.org> 5.2.0-alt1 - 5.2.0 * Wed Apr 18 2012 Vladislav Zavjalov <slazav@altlinux.org> 4.8.0-alt1 - 4.8.0 * Tue Dec 20 2011 Vladislav Zavjalov <slazav@altlinux.org> 4.7.0-alt6 - spec: do autoreconf to avoid RPATH with standard paths * Sat Mar 26 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.7.0-alt5.1 - Rebuilt for debuginfo * Thu Oct 21 2010 Vladislav Zavjalov <slazav@altlinux.org> 4.7.0-alt5 - rebuild for soname set-versions * Mon May 24 2010 Vladislav Zavjalov <slazav@altlinux.org> 4.7.0-alt4 - spec: libproj-{devel,nad} provides proj-{devel,nad} (closes #23527) * Sat May 22 2010 Vladislav Zavjalov <slazav@altlinux.org> 4.7.0-alt3 - cleanup spec: fix some repocop warnings, closes #11468 * move libraries into libproj-* subpackages * move static library to devel-static subpackage * make libproj-nad package to be noarch * replace make -> make_build in the build section * remove BuildRequires: libqt4-core * change Group to Sciences/Geosciences * Wed Apr 07 2010 Vladislav Zavjalov <slazav@altlinux.org> 4.7.0-alt2 - merge with git.alt:/srpms/p/proj.git to include repocop changes * Tue Apr 06 2010 Vladislav Zavjalov <slazav@altlinux.org> 4.7.0-alt1 - new version - cleanup spec (rider@) - reset LC_NUMERIC in pj_init() (bga@) * Wed Dec 02 2009 Repocop Q. A. Robot <repocop@altlinux.org> 4.5.0-alt1.qa1 - NMU (by repocop): the following fixes applied: * post_ldconfig for proj * postun_ldconfig for proj * postclean-05-filetriggers for spec file * Wed Jan 17 2007 Dmitri Kuzishchin <dim@altlinux.ru> 4.5.0-alt1 - Initial package. |