Package openvdb: 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 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 | %define _unpackaged_files_terminate_build 1 %ifarch %mips32 %define optflags_debug -g1 %endif %define soname 8.1 Name: openvdb Version: 8.1.0 Release: alt1 Summary: C++ library for sparse volumetric data discretized on three-dimensional grids Group: Graphics License: MPL-2.0-no-copyleft-exception URL: https://www.openvdb.org # https://github.com/AcademySoftwareFoundation/openvdb Source: %name-%version.tar Patch1: openvdb-8.0.0-alt-link-with-libatomic-on-mips.patch BuildRequires(pre): rpm-build-python3 BuildRequires: boost-complete BuildRequires: cmake BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: ghostscript BuildRequires: pkgconfig(blosc) >= 1.5.0 BuildRequires: pkgconfig(cppunit) >= 1.10 BuildRequires: pkgconfig(glfw3) >= 2.7 BuildRequires: ilmbase-devel BuildRequires: pkgconfig(jemalloc) BuildRequires: pkgconfig(log4cplus) >= 1.0 BuildRequires: pkgconfig(tbb) >= 3.0 BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(zlib) > 1.2.7 BuildRequires: pkgconfig(python3) BuildRequires: python3-module-numpy libnumpy-py3-devel %description OpenVDB is an Academy Award-winning open-source C++ library comprising a novel hierarchical data structure and a suite of tools for the efficient storage and manipulation of sparse volumetric data discretized on three-dimensional grids. It is developed and maintained by Academy Software Foundation for use in volumetric applications typically encountered in feature film production. This package contains some graphical tools. %package -n lib%name%soname Summary: Core OpenVDB libraries Group: System/Libraries %description -n lib%name%soname OpenVDB is an Academy Award-winning open-source C++ library comprising a novel hierarchical data structure and a suite of tools for the efficient storage and manipulation of sparse volumetric data discretized on three-dimensional grids. It is developed and maintained by Academy Software Foundation for use in volumetric applications typically encountered in feature film production. %package devel Summary: Development files for %{name} Group: Development/C++ Requires: lib%name%soname = %EVR %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package -n python3-module-%name Summary: OpenVDB Python module Group: Development/Python3 Requires: lib%name%soname = %EVR %description -n python3-module-%name OpenVDB is an Academy Award-winning open-source C++ library comprising a novel hierarchical data structure and a suite of tools for the efficient storage and manipulation of sparse volumetric data discretized on three-dimensional grids. It is developed and maintained by Academy Software Foundation for use in volumetric applications typically encountered in feature film production. This package contains the Python module. %prep %setup %autopatch -p1 # Hardcoded values sed -i \ -e 's|lib$|%_lib|g' \ %name/%name/CMakeLists.txt %name/%name/python/CMakeLists.txt %build %cmake \ -DOPENVDB_BUILD_DOCS=ON \ -DOPENVDB_CORE_SHARED=ON \ -DOPENVDB_CORE_STATIC=OFF \ -DOPENVDB_ENABLE_RPATH=OFF \ -DOPENVDB_ENABLE_UNINSTALL:BOOL=OFF \ -DUSE_IMATH_HALF=ON \ -DUSE_LOG4CPLUS=ON \ -DOPENVDB_BUILD_PYTHON_MODULE=ON \ -DUSE_NUMPY:BOOL=ON \ -DPYOPENVDB_INSTALL_DIRECTORY=%python3_sitelibdir \ -DPython_EXECUTABLE=%_bindir/python3 \ %nil %cmake_build %install %cmakeinstall_std %files %_bindir/vdb_print %files -n lib%name%soname %doc %name/%name/LICENSE %name/%name/COPYRIGHT %doc README.md CHANGES %_libdir/lib%{name}.so.%{soname} %_libdir/lib%{name}.so.%{soname}.* %files -n python3-module-%name %python3_sitelibdir/py%{name}.so %files devel %_defaultdocdir/OpenVDB %_includedir/* %_libdir/lib%{name}.so %_libdir/cmake/* %changelog * Fri Jun 18 2021 Aleksei Nikiforov <darktemplar@altlinux.org> 8.1.0-alt1 - Updated to upstream version 8.1.0. * Thu Jun 03 2021 Aleksei Nikiforov <darktemplar@altlinux.org> 8.0.1-alt1 - Updated to upstream version 8.0.1. * Mon May 24 2021 Ivan A. Melnikov <iv@altlinux.org> 8.0.0-alt2 - Fix build on mipsel: + link with -latomic; + reduce debuginfo level to -g1 to avoid OOM in compiler. * Tue Jan 19 2021 Aleksei Nikiforov <darktemplar@altlinux.org> 8.0.0-alt1 - Updated to upstream version 8.0.0. * Tue Sep 01 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 7.1.0-alt1 - Initial build for ALT. * Mon Aug 24 2020 Simone Caronni <negativo17@gmail.com> - 7.1.0-2 - List shared object versions. * Fri Aug 14 2020 Luya Tshimbalanga <luya@fedoraproject.org> - 7.1.0-1 - Update to 7.1.0 - Adhere to https://docs.fedoraproject.org/en-US/packaging-guidelines/CMake/ * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-9 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jun 21 2020 Luya Tshimbalanga <luya@fedoraproject.org> - 7.0.0-7 - Disable jemalloc build for RHEL and its derivative * Thu May 28 2020 Jonathan Wakely <jwakely@redhat.com> - 7.0.0-6 - Rebuilt for Boost 1.73 * Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 7.0.0-5 - Rebuilt for Python 3.9 * Sat May 23 2020 Luya Tshimbalanga <luya@fedoraproject.org> - 7.0.0-4 - Drop boost-python3-devel build requirement for Fedora 33+ * Sat May 23 2020 Luya Tshimbalanga <luya@fedoraproject.org> - 7.0.0-3 - Disable python3 binding for CentOS and Red Hat Enterprise - On RHEL and CentOS, glfw is exclusive for x86_64 - Switch to pkgconfig build requirements as possible * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Dec 11 2019 Luya Tshimbalanga <luya@fedoraproject.org> - 7.0.0-1 - Update to 7.0.0 - Set python3 module installation path via cmake - Drop epydoc dependency * Thu Sep 19 2019 Luya Tshimbalanga <luya@fedoraproject.org> - 6.2.0-1 - Update to 6.2.0 - Drop no longer needed upstream patch - Rename subpackge module to python3-* - Fix correct python module installation path * Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 6.1.0-3 - Rebuilt for Python 3.8 * Sun Aug 18 2019 Simone Caronni <negativo17@gmail.com> - 6.1.0-2 - Fix build with latest options. - Update SPEC file. - rpmlint fixes. * Thu Aug 01 2019 Luya Tshimbalanga <luya@fedoraproject.org> - 6.1.0-1 - Update to 6.1.0 - Fix cmake build * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Apr 12 2019 Richard Shaw <hobbes1069@gmail.com> - 6.0.0-2 - Rebuild for Ilmbase 2.3.0. * Sat Feb 16 2019 Luya Tshimbalanga <luya@fedoraproject.org> - 6.0.0-1 - Update to 6.0.0 - Update source url and description - Apply patch for boost 1.6.9 borrowed from Arch Linux * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Oct 13 2018 Jerry James <loganjerry@gmail.com> - 5.1.0-4 - Rebuild for tbb 2019_U1 * Tue Jul 17 2018 Simone Caronni <negativo17@gmail.com> - 5.1.0-3 - Require libs subpackage for python3/devel. * Tue Jul 17 2018 Simone Caronni <negativo17@gmail.com> - 5.1.0-2 - Fix Python 3 Boost link. * Tue Jul 17 2018 Simone Caronni <negativo17@gmail.com> - 5.1.0-1 - Update to 5.1.0. - Switch to Python 3. * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue May 01 2018 Jonathan Wakely <jwakely@redhat.com> - 5.0.0-3 - Add BuildRequires: boost-python2-devel to fix build with boost-1.66.0-7.fc29 * Sun Mar 04 2018 Luya Tshimbalanga <luya@fedoraproject.org> - 5.0.0-2 - Added gcc-c++ dependency - Upstream patch for Boost compability * Mon Feb 26 2018 Luya Tshimbalanga <luya@fedoraproject.org> - 5.0.0-1 - Update to 5.0.0 - Use new upstream macro for abi compatibility - Rebuild for Boost 1.66 * Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Sep 11 2017 Simone Caronni <negativo17@gmail.com> - 4.0.2-1 - Update to 4.0.2. * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jul 23 2017 Simone Caronni <negativo17@gmail.com> - 4.0.1-5 - Rename python subpackage (module) to python2. * Wed Jul 19 2017 Jonathan Wakely <jwakely@redhat.com> - 4.0.1-4 - Rebuilt for s390x binutils bug * Tue Jul 18 2017 Jonathan Wakely <jwakely@redhat.com> - 4.0.1-3 - Rebuilt for Boost 1.64 * Sat May 06 2017 Simone Caronni <negativo17@gmail.com> - 4.0.1-2 - Review fixes. * Sat Apr 22 2017 Simone Caronni <negativo17@gmail.com> - 4.0.1-1 - Update to 4.0.1. - Perform tests, build HTML documentation. - Require main OpenVDB library for Python module. * Wed Nov 23 2016 Simone Caronni <negativo17@gmail.com> - 4.0.0-2 - Update to 4.0.0. * Sun Oct 16 2016 Simone Caronni <negativo17@gmail.com> - 4.0.0-1.20161015git40271e7 - First build. |