Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndnoVember:test
f3d
f3d.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File f3d.spec of Package f3d
# # spec file for package f3d # # Copyright (c) 2023 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define sover 2 Name: f3d Version: 2.3.0 Release: 0 Summary: Fast and minimalist 3D viewer License: BSD-3-Clause Group: Productivity/Graphics/Viewers URL: https://f3d.app Source0: https://github.com/%{name}-app/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: cmake >= 3.21 BuildRequires: cmake(Alembic) BuildRequires: cmake(FastFloat) BuildRequires: cmake(Imath) BuildRequires: cmake(OpenCASCADE) BuildRequires: cmake(nlohmann_json) BuildRequires: cmake(vtk) >= 9.0 BuildRequires: gcc-c++ BuildRequires: help2man BuildRequires: pkgconfig BuildRequires: pkgconfig(OpenEXR) BuildRequires: pkgconfig(assimp) BuildRequires: pkgconfig(draco) BuildRequires: pkgconfig(eigen3) BuildRequires: pkgconfig(fmt) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(glew) BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(xmu) BuildRequires: pkgconfig(xt) %description F3D is a VTK-based 3D viewer following the KISS principle, so it is minimalist, efficient, has no GUI, has simple interaction mechanisms and is fully controllable using arguments in the command line. %package -n lib%{name}%{sover} Summary: Library for %{name} Group: System/Libraries %description -n lib%{name}%{sover} %{summary}. %package java-bindings Summary: Java bindings for %{name} Group: Development/Libraries/Java BuildRequires: java-devel %description java-bindings This package provides java bindings for %{name}. %package python3-bindings Summary: Python3 bindings for %{name} Group: System/Libraries BuildRequires: cmake(pybind11) BuildRequires: pkgconfig(python3) %description python3-bindings The bindings allow modules to be written using the Python language. This package contains the python bindings for %{name}. %package bash-completion Summary: Bash completion for %{name} Group: System/Shells Requires: bash-completion Supplements: (%{name} and bash) BuildArch: noarch %description bash-completion Bash command line completion support for %{name}. %package fish-completion Summary: Fish Completion for %{name} Group: System/Shells Requires: fish Supplements: (%{name} and fish) BuildArch: noarch %description fish-completion Fish command line completion support for %{name}. %package zsh-completion Summary: Zsh Completion for %{name} Group: System/Shells Requires: zsh Supplements: (%{name} and zsh) BuildArch: noarch %description zsh-completion ZSH command line completion support for %{name}. %prep %autosetup %build %cmake \ -DCMAKE_SKIP_INSTALL_RPATH=ON \ -DBUILD_SHARED_LIBS=ON \ -DBUILD_TESTING=ON \ -DF3D_BINDINGS_JAVA=ON \ -DF3D_BINDINGS_PYTHON=ON \ -DF3D_BUILD_APPLICATION=ON \ -DF3D_COVERAGE=OFF \ -DF3D_ENABLE_SOVERSION=ON \ -DF3D_EXCLUDE_DEPRECATED=OFF \ -DF3D_LINUX_APPLICATION_LINK_FILESYSTEM=ON \ -DF3D_LINUX_GENERATE_MAN=ON \ -DF3D_LINUX_INSTALL_DEFAULT_CONFIGURATION_FILE_IN_PREFIX=ON \ -DF3D_LINUX_LIBRARY_LINK_ATOMIC=OFF \ -DF3D_MODULE_EXR=ON \ -DF3D_MODULE_EXTERNAL_RENDERING=OFF \ -DF3D_MODULE_RAYTRACING=OFF \ -DF3D_PLUGIN_BUILD_ALEMBIC=ON \ -DF3D_PLUGIN_BUILD_ASSIMP=ON \ -DF3D_PLUGIN_BUILD_DRACO=ON \ -DF3D_PLUGIN_BUILD_EXODUS=ON \ -DF3D_PLUGIN_BUILD_OCCT=ON \ -DF3D_PLUGIN_BUILD_USD=OFF \ -DF3D_PLUGIN_BUILD_VDB=OFF \ -DF3D_PLUGIN_OCCT_COLORING_SUPPORT=ON \ -DF3D_PLUGINS_STATIC_BUILD=OFF \ -DF3D_USE_EXTERNAL_CXXOPTS=OFF \ -DF3D_USE_EXTERNAL_NLOHMANN_JSON=ON \ -DF3D_WASM_COPY_EXAMPLE=ON %cmake_build %install %cmake_install rm -rfv %{buildroot}%{_datadir}/doc/F3D rm -fv %{buildroot}%{_libdir}/libVTKExtensions*.a rm -fv %{buildroot}%{_libdir}/lib%{name}.so #%%check #%%ctest %post -n lib%{name}%{sover} -p /sbin/ldconfig %postun -n lib%{name}%{sover} -p /sbin/ldconfig %files %doc README.md %{_bindir}/%{name} %{_libdir}/lib%{name}-plugin-*.so %{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}-plugin-*.desktop %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/plugins %{_datadir}/%{name}/plugins/*.json %{_datadir}/icons/hicolor/*/apps/%{name}.??g %{_datadir}/metainfo/app.%{name}.F3D.metainfo.xml %dir %{_datadir}/thumbnailers %{_datadir}/thumbnailers/%{name}*.thumbnailer %{_mandir}/man?/%{name}.?%{?ext_man} %license LICENSE.md doc/THIRD_PARTY_LICENSES.md %files -n lib%{name}%{sover} %{_libdir}/lib%{name}.so.* %files java-bindings %{_libdir}/lib%{name}-java.so %{_javadir}/%{name}.jar %files python3-bindings %dir %{python3_sitearch}/%{name} %{python3_sitearch}/%{name}/*.py %{python3_sitearch}/%{name}/py%{name}.cpython-*.so %files bash-completion %dir %{_datadir}/bash-completion/ %dir %{_datadir}/bash-completion/completions %{_datadir}/bash-completion/completions/%{name} %files fish-completion %dir %{_datadir}/fish %dir %{_datadir}/fish/vendor_completions.d %{_datadir}/fish/vendor_completions.d/%{name}.fish %files zsh-completion %dir %{_datadir}/zsh/ %dir %{_datadir}/zsh/site-functions %{_datadir}/zsh/site-functions/_%{name} %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