Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:vyermolc:root
root6
root6.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File root6.spec of Package root6
# # spec file for package root6 # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # See also http://en.opensuse.org/openSUSE:Specfile_guidelines %define pythons python3 Name: root6 Version: version Release: 0 Summary: Numerical data analysis framework (OO) License: LGPL-2.1+ Group: Productivity/Scientific/Physics Url: https://root.cern.ch/download Source0: %{name}.tar.gz Source1: %{name}-rpmlintrc Source2: clad-v1.2.tar.gz Source3: vdt-0.4.4.tar.gz Source4: FindPNG.cmake Patch0: buildFlag.diff Patch1: clad.diff Patch2: root-memory-arm-x86.patch Patch3: root-memory-usage.patch Conflicts: root %define _lto_cflags %{nil} %if 0%{?suse_version} > 1500 %define gcc_bin gcc %define gpp_bin g++ Requires: gcc-c++ BuildRequires: gcc-c++ %else %define gcc_bin gcc-13 %define gpp_bin g++-13 Requires: gcc13-c++ BuildRequires: gcc13-c++ %endif BuildRequires: %{pythons} Requires: %{pythons} BuildRequires: %{python_module devel} BuildRequires: cmake, zlib-devel, freetype2-devel, pcre-devel, xz-devel, libX11-devel, libXpm-devel, libXft-devel, libXext-devel, gsl-devel, python3-devel, glu-devel, libxml2-devel, fdupes, tbb-devel, ninja, pythia-devel, libopenblas_pthreads-devel, graphviz-devel, fftw3-devel, python3-numpy-devel, libopenssl-devel, libpng16-devel, libjpeg8-devel, xrootd-client-devel %description The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. With the data defined as a set of objects, specialized storage methods can give direct access to the separate attributes of the selected objects, without having to touch the bulk of the data. Included are histogramming methods in 1, 2 and 3 dimensions, curve fitting, function evaluation, minimization, graphics and visualization classes to allow the easy creation of an analysis system that can query and process the data interactively or in batch mode. The command language, the scripting (or macro) language, and the programming language are all C++, thanks to the built-in CINT C++ interpreter. This interpreter removes the time consuming compile/link cycle, allowing for fast prototyping of the macros, and providing a good environment to learn C++. If more performance is needed, the interactively developed macros can be compiled using a C++ compiler. The system has been designed in such a way that it can query its databases in parallel on MPP machines or on clusters of workstations or high-end PCs. ROOT is an open system that can be dynamically extended by linking external libraries. This makes ROOT a premier platform on which to build data acquisition, simulation and data analysis systems. %prep %setup -q -n root-%{version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 cp %{SOURCE2} ./ mkdir -p tmpbuild/VDT-prefix/src cp %{SOURCE3} tmpbuild/VDT-prefix/src cp %{SOURCE4} ./cmake/modules/ %build %define _prefix /opt/%{name} %define __builder ninja %define __cmake /usr/bin/cmake %define __builddir tmpbuild %cmake -DCMAKE_INSTALL_PREFIX="%_prefix" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=%{gcc_bin} -DCMAKE_CXX_COMPILER=%{gpp_bin} -DCMAKE_C_FLAGS:STRING="" -DCMAKE_CXX_FLAGS:STRING="" -DCMAKE_Fortran_FLAGS:STRING="" -DCMAKE_CXX_STANDARD=17 -Dclad=ON -Dgdml=ON -Dminuit2=ON -Dmt=ON -Droofit=ON -Dtbb=ON -Dx11=ON -Dunuran=ON -Dbuiltin_lz4=ON -Dbuiltin_vdt=OFF -Ddavix=OFF -Dbuiltin_davix=OFF -Druntime_cxxmodules=OFF -Dbuiltin_gtest=OFF %cmake_build %install %cmake_install %fdupes %{buildroot}%{_bindir} %fdupes %{buildroot}%{_libdir} %fdupes %{buildroot}%{_prefix}/icons %fdupes %{buildroot}%{_prefix}/ui5/distribution/resources/sap mkdir -p %{buildroot}%{_sysconfdir}/profile.d echo "source %{_bindir}/thisroot.sh unset JUPYTER_CONFIG_DIR" > %{buildroot}%{_sysconfdir}/profile.d/root6.sh echo "source %{_bindir}/thisroot.csh unset JUPYTER_CONFIG_DIR" > %{buildroot}%{_sysconfdir}/profile.d/root6.csh find %{buildroot}%{_prefix} -name "*~" -exec rm -rf {} \; mv %{buildroot}/%{_docdir}/%{name}/LICENSE %{buildroot}%{_prefix}/ mv %{buildroot}/%{_docdir}/%{name}/README %{buildroot}%{_prefix}/ %files %dir %{_prefix} %{_prefix}/* %{_sysconfdir}/profile.d/root6.sh %{_sysconfdir}/profile.d/root6.csh %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor