Пакет opencascade: 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 | Name: opencascade Version: 7.7.2 Release: alt2 Summary: SDK intended for development of applications dealing with 3D CAD data License: LGPL-2.1-only-with-OCCT-exception-1.0 Group: Development/Tools Url: http://www.opencascade.org # Upstream requires a login to download sources. # https://dev.opencascade.org/release # VCS: https://git.dev.opencascade.org/repos/occt.git Source: %name-%version.tar Patch1: opencascade-cmake.patch Patch2: opencascade-alt-arm-build.patch Patch2000: opencascade-e2k-disable-fenv.patch Requires: lib%name = %version-%release Requires: %name-data = %version-%release BuildRequires(pre): cmake BuildRequires(pre): rpm-build-ninja BuildRequires: gcc-c++ libX11-devel libGL-devel libGLU-devel BuildRequires: tcl-devel tcl-tix libfltk-devel tk-devel libXmu-devel BuildRequires: java-devel-default libcoin3d-devel libfreetype-devel BuildRequires: libftgl-devel fontconfig-devel libXi-devel BuildRequires: libgl2ps-devel zlib-devel libfreeimage-devel BuildRequires: libXext-devel libvtk-devel doxygen graphviz %description Open CASCADE Technology (OCCT) is a suite for 3D surface and solid modeling, visualization, data exchange and rapid application development. It is an excellent platform for development of numerical simulation software including CAD/CAM/CAE, AEC and GIS, as well as PDM applications. %package -n lib%name Summary: Shared libraries of Open CASCADE Group: System/Libraries %description -n lib%name Shared libraries of Open CASCADE, development platform for 3D modeling and numerical simulation applications. %package devel Summary: Development files for Open CASCADE Technology Group: Development/C++ Requires: lib%name = %version-%release Provides: OCE-devel = %EVR Obsoletes: OCE-devel < %EVR %description devel Development files for Open CASCADE Technology, development platform for 3D modeling and numerical simulation applications. %package data Summary: Data for Open CASCADE Group: Development/Tools BuildArch: noarch %description data This package contains data and resources for Open CASCADE. %package samples Summary: Samples for Open CASCADE Group: Development/Documentation BuildArch: noarch %description samples This package contains samples for Open CASCADE. %package doc Summary: Documentation for Open CASCADE Group: Development/Documentation BuildArch: noarch %description doc This package contains documentation for Open CASCADE. %prep %setup %patch1 -p1 %ifarch %arm %patch2 -p2 %endif %ifarch %e2k %patch2000 -p1 %endif %build # opencascade does some manual install trickery that does not respect DESTDIR. # Make DESTDIR and environment variable that can be passed into the CMake config. export DESTDIR="%buildroot" %cmake_insource -GNinja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DUSE_TBB=False \ -DUSE_VTK=True \ -D3RDPARTY_VTK_INCLUDE_DIR=%_includedir/vtk-9.3 \ -DINSTALL_DIR_LIB=%_lib \ -DINSTALL_DIR_CMAKE=%_lib/cmake/%name %ninja_build %install %ninja_install mv %buildroot%_bindir/DRAWEXE-* %buildroot%_bindir/DRAWEXE # Install precompiled documentation cp -a doc/* %buildroot%_datadir/doc/%name/ # Remove installed files with licenses rm -f /usr/share/doc/opencascade/* %files %doc LICENSE_LGPL_21.txt OCCT_LGPL_EXCEPTION.txt README.txt %_bindir/DRAWEXE %files -n lib%name %_libdir/*.so.* %files devel %_bindir/*.sh %_libdir/*.so %_includedir/* %_libdir/cmake/%name %files data %_datadir/%name %exclude %_datadir/%name/samples %files samples %_datadir/%name/samples %files doc %_datadir/doc/%name %changelog * Mon Jan 29 2024 Anton Farygin <rider@altlinux.ru> 7.7.2-alt2 - built with vtk 9.3 * Sat Jul 22 2023 Andrey Cherepanov <cas@altlinux.org> 7.7.2-alt1 - New version. * Tue Mar 21 2023 Andrey Cherepanov <cas@altlinux.org> 7.7.1-alt1 - New version. * Tue Nov 08 2022 Andrey Cherepanov <cas@altlinux.org> 7.7.0-alt1 - New version. * Thu Jul 28 2022 Andrey Cherepanov <cas@altlinux.org> 7.6.3-alt1 - New version. * Sun May 01 2022 Andrey Cherepanov <cas@altlinux.org> 7.6.2-alt1 - New version (ALT #42460). * Fri Feb 04 2022 Andrey Cherepanov <cas@altlinux.org> 7.6.1-alt1 - New version. * Mon Jan 24 2022 Aleksei Nikiforov <darktemplar@altlinux.org> 7.5.3-alt3 - Rebuilt with VTK-9.1.0. * Fri Oct 22 2021 Ilya Kurdyukov <ilyakurdyukov@altlinux.org> 7.5.3-alt2 - e2k: disabled use of "feclearexcept" (freecad crashes with SIGILL) * Mon Aug 16 2021 Andrey Cherepanov <cas@altlinux.org> 7.5.3-alt1 - New version. - Build from upstream tag. * Wed May 12 2021 Aleksei Nikiforov <darktemplar@altlinux.org> 7.5.0-alt2 - Rebuilt with VTK-9.0.1. * Mon Nov 30 2020 Andrey Cherepanov <cas@altlinux.org> 7.5.0-alt1 - New version. * Mon Jun 01 2020 Andrey Cherepanov <cas@altlinux.org> 7.4.0-alt1 - New version. - Build all data and documentation packages from one source package. - Obsoletes OCE package. * Thu Jan 25 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 6.8.0-alt2 - Fixed build with new glibc. * Fri Mar 24 2017 Vladimir D. Seleznev <vseleznv@altlinux.org> 6.8.0-alt1.qa1 - Rebuilt against Tcl/Tk 8.6 * Fri Mar 27 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.8.0-alt1 - Version 6.8.0 * Wed May 21 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.7.1-alt1 - Version 6.7.1 * Fri Sep 13 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.6.0-alt1 - Version 6.6.0 * Thu Feb 07 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.5.4-alt1 - Version 6.5.4 * Tue Oct 02 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.5.3-alt2 - Fixed build with gcc 4.7 * Tue Aug 21 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.5.3-alt1 - Version 6.5.3 * Wed Jun 06 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.5.2-alt3 - Fixed build * Sun Mar 11 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.5.2-alt2 - Fixed build with TBB 40_297 * Wed Feb 29 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.5.2-alt1 - Version 6.5.2 * Thu Sep 15 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.5.1-alt1 - Version 6.5.1 * Thu Apr 28 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.5.0-alt1 - Version 6.5.0 * Tue Mar 01 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.3.0-alt10 - Rebuilt for debuginfo * Tue Nov 02 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.3.0-alt9 - Rebuilt for soname set-versions * Sat Oct 16 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.3.0-alt8 - Fixed underlinking of libraries * Tue Aug 31 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.3.0-alt7 - Fixed for checkbashisms * Mon Mar 08 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.3.0-alt6 - Reduced optimization level: -O2 -> -O1 - Rebuilt with java * Tue Dec 22 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.3.0-alt5 - Set opencascade-commom as noarch * Tue Dec 22 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.3.0-alt4 - Rebuilt without java * Tue Sep 08 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.3.0-alt3 - Changed owner of %_datadir/%name: %name -> %name-common - Rebuild with gcc4.4 * Wed May 06 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.3.0-alt2 - Removed %name directory from /usr/lib - Fixed channel permission * Sat May 02 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.3.0-alt1 - Initial build for Sisyphus |