Package libgit2: 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 | # some online tests %def_disable check Name: libgit2 Version: 1.3.2 Release: alt1 Summary: linkable library for Git License: GPL-2.0 Group: System/Libraries Url: https://github.com/%name Vcs: https://github.com/libgit2/libgit2.git Source: %url/%name/archive/v%version/%name-%version.tar.gz BuildRequires(pre): rpm-macros-cmake BuildRequires: cmake ninja-build python3 BuildRequires: zlib-devel libpcre-devel libssl-devel libssh2-devel BuildRequires: libkrb5-devel libhttp-parser-devel %{?_enable_check:BuildRequires: ctest} %description A cross-platform, linkable library implementation of Git that you can use in your applications. %package devel Group: Development/C Summary: linkable library for Git - development files Requires: %name = %version-%release %description devel A cross-platform, linkable library implementation of Git that you can use in your applications. This package contains %name development files. %prep %setup rm -rf deps/{pcre,zlib} sed -i 's/LIB_INSTALL_DIR lib/LIB_INSTALL_DIR lib${LIB_SUFFIX}/' CMakeLists.txt %build %cmake -G Ninja \ -DTHREADSAFE:BOOL=ON \ -DUSE_SHA1DC:BOOL=ON \ -DPCRE_INCLUDE_DIR=%_includedir/pcre \ -DENABLE_REPRODUCIBLE_BUILD=ON \ -DDEPRECATE_HARD=OFF %nil %cmake_build %install %cmake_install %check %cmake_build -t test %files %_libdir/%name.so.* %doc README.md AUTHORS COPYING %files devel %_includedir/git2 # exclude headers for windows %exclude %_includedir/git2/stdint.h %_includedir/git2.h %_libdir/%name.so %_pkgconfigdir/%name.pc %changelog * Fri Sep 30 2022 Yuri N. Sedunov <aris@altlinux.org> 1.3.2-alt1 - 1.3.2 * Tue Oct 12 2021 Yuri N. Sedunov <aris@altlinux.org> 1.3.0-alt1 - 1.3.0 * Fri Sep 03 2021 Yuri N. Sedunov <aris@altlinux.org> 1.2.0-alt1 - 1.2.0 - built with Ninja instead of Make * Thu Jul 01 2021 Yuri N. Sedunov <aris@altlinux.org> 1.1.1-alt1 - 1.1.1 * Tue May 11 2021 Yuri N. Sedunov <aris@altlinux.org> 1.1.0-alt1.1 - rebuild with new cmake macros * Fri Oct 30 2020 Yuri N. Sedunov <aris@altlinux.org> 1.1.0-alt1 - 1.1.0 * Tue Jul 07 2020 Yuri N. Sedunov <aris@altlinux.org> 0.28.5-alt1 - 0.28.5 * Wed Dec 11 2019 Yuri N. Sedunov <aris@altlinux.org> 0.28.4-alt1 - 0.28.4 * Wed Aug 14 2019 Yuri N. Sedunov <aris@altlinux.org> 0.28.3-alt1 - 0.28.3 * Sat May 25 2019 Yuri N. Sedunov <aris@altlinux.org> 0.28.2-alt1 - 0.28.2 * Fri Feb 15 2019 Yuri N. Sedunov <aris@altlinux.org> 0.28.1-alt1 - 0.28.1 * Tue Jan 29 2019 Yuri N. Sedunov <aris@altlinux.org> 0.27.8-alt1 - 0.27.8 * Tue Nov 27 2018 Yuri N. Sedunov <aris@altlinux.org> 0.27.7-alt1 - 0.27.7 * Sun Nov 04 2018 Yuri N. Sedunov <aris@altlinux.org> 0.26.8-alt1 - 0.26.8 * Fri Oct 12 2018 Yuri N. Sedunov <aris@altlinux.org> 0.26.7-alt1 - 0.26.7 (fixed CVE-2018-17456) * Wed Aug 29 2018 Yuri N. Sedunov <aris@altlinux.org> 0.26.5-alt2 - rebuilt with openssl-1.1 * Tue Jul 10 2018 Yuri N. Sedunov <aris@altlinux.org> 0.26.5-alt1 - 0.26.5 (fixed CVE-2018-11235, CVE-2018-10887, CVE-2018-10888) * Tue Mar 13 2018 Yuri N. Sedunov <aris@altlinux.org> 0.26.3-alt1 - 0.26.3 * Sat Mar 10 2018 Yuri N. Sedunov <aris@altlinux.org> 0.26.2-alt1 - 0.26.2 * Thu Mar 08 2018 Yuri N. Sedunov <aris@altlinux.org> 0.26.1-alt1 - 0.26.1 * Tue Jul 11 2017 Yuri N. Sedunov <aris@altlinux.org> 0.26.0-alt1 - 0.26.0 * Thu Feb 16 2017 Yuri N. Sedunov <aris@altlinux.org> 0.25.1-alt1 - 0.25.1 * Thu Jan 12 2017 Yuri N. Sedunov <aris@altlinux.org> 0.24.6-alt1 - 0.24.6 * Tue Dec 20 2016 Yuri N. Sedunov <aris@altlinux.org> 0.24.5-alt1 - 0.24.5 * Tue Nov 08 2016 Yuri N. Sedunov <aris@altlinux.org> 0.24.3-alt1 - 0.24.3 (fixed CVE-2016-8568, CVE-2016-8569) * Thu Oct 06 2016 Yuri N. Sedunov <aris@altlinux.org> 0.24.2-alt1 - 0.24.2 * Fri Apr 15 2016 Yuri N. Sedunov <aris@altlinux.org> 0.24.1-alt1 - 0.24.1 * Wed Mar 23 2016 Yuri N. Sedunov <aris@altlinux.org> 0.24.0-alt1 - 0.24.0 * Fri Nov 27 2015 Yuri N. Sedunov <aris@altlinux.org> 0.23.4-alt1 - 0.23.4 * Mon Oct 19 2015 Yuri N. Sedunov <aris@altlinux.org> 0.23.3-alt1 - 0.23.3 * Mon Sep 21 2015 Yuri N. Sedunov <aris@altlinux.org> 0.23.2-alt1 - 0.23.2 * Sun Mar 29 2015 Yuri N. Sedunov <aris@altlinux.org> 0.22.2-alt1 - 0.22.2 * Sun Jan 18 2015 Yuri N. Sedunov <aris@altlinux.org> 0.22.0-alt1 - 0.22.0 - enabled ssh support via libssh2 * Wed Jan 14 2015 Yuri N. Sedunov <aris@altlinux.org> 0.21.4-alt1 - 0.21.4 * Wed Nov 05 2014 Yuri N. Sedunov <aris@altlinux.org> 0.21.2-alt1 - 0.21.2 * Tue Jul 01 2014 Yuri N. Sedunov <aris@altlinux.org> 0.21.0-alt2 - built as threadsafe * Mon Jun 30 2014 Yuri N. Sedunov <aris@altlinux.org> 0.21.0-alt1 - 0.21.0_16e7596d * Wed Mar 05 2014 Yuri N. Sedunov <aris@altlinux.org> 0.20.0-alt1 - 0.20.0 * Tue Jul 23 2013 Alexey Shabalin <shaba@altlinux.ru> 0.19.0-alt1 - 0.19.0 * Sun Oct 21 2012 Vladimir Lettiev <crux@altlinux.ru> 0.17.0-alt1.c497a6 - git snapshot c497a6 * Wed Oct 10 2012 Vladimir Lettiev <crux@altlinux.ru> 0.17.0-alt1 - initial release |