ALT Linux Bugzilla
– Attachment 17189 Details for
Bug 52009
Просьба собрать пакет f3d
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
f3d.spec (draft)
f3d.spec (text/x-rpm-spec), 4.09 KB, created by
Yuri N. Sedunov
on 2024-11-14 20:30:38 MSK
(
hide
)
Description:
f3d.spec (draft)
Filename:
MIME Type:
Creator:
Yuri N. Sedunov
Created:
2024-11-14 20:30:38 MSK
Size:
4.09 KB
patch
obsolete
>%def_disable snapshot > >%define ver_major 2.5 >%define rdn_name app.f3d.F3D > >%def_enable app ># required VTK::RenderingExternal >%def_enable external_rendering ># ALT #51076 >%def_disable draco ># VTK with IOOpenVDB required >%def_enable vdb ># >%def_disable usd > >%def_disable check > >Name: f3d >Version: %ver_major.0 >Release: alt0.5 > >Summary: Fast and minimalist 3D viewer >License: BSD-3-Clause >Group: System/Libraries >Url: https://github.com/f3d-app/f3d > >Vcs: https://github.com/f3d-app/f3d.git > >ExcludeArch: %ix86 armh > >%if_disabled snapshot >Source: %url/archive/v%version/%name-%version.tar.gz >%else >Source: %name-%version.tar >%endif ># Exhibit/build-aux/lib_info.patch >Patch1: f3d-2.5.0-exhibit-lib_info.patch > >Requires: %name-libs = %EVR > >BuildRequires(pre): rpm-macros-cmake rpm-build-python3 >BuildRequires: /proc cmake gcc-c++ >BuildRequires: alembic-devel >BuildRequires: pkgconfig(assimp) >%{?_enable_draco:BuildRequires: pkgconfig(draco)} >BuildRequires: opencascade-devel >BuildRequires: pkgconfig(OpenEXR) >= 3.0 >BuildRequires: openvdb-devel >BuildRequires: pkgconfig(pybind11) >BuildRequires: pkgconfig(tbb) >%{?_enable_usd:BuildRequires: OpenUSD-devel} >BuildRequires: libvtk-devel >BuildRequires: pkgconfig(minizip) >BuildRequires: pkgconfig(tcl) pkgconfig(tk) >BuildRequires: pkgconfig(poly2tri) >BuildRequires: pkgconfig(netcdf) >%{?_enable_app:BuildRequires: libstdc++-devel-static} >%{?_enable_check:BuildRequires: ctest xvfb-un python3(pytest)} > >%description >F3D is a fast and minimalist 3D viewer desktop application. >It supports many file formats, from digital content to scientific >datasets (including glTF, USD, STL, STEP, PLY, OBJ, FBX, Alembic), can >show animations and support thumbnails and many rendering and texturing >options including real time physically based rendering and raytracing. > >%package libs >Summary: Shared F3D Libraries >Group: System/Libraries >Requires: %name-libs = %EVR > >%description libs >This package provides shared F3D libraries. > >%package devel >Summary: Development files for F3D >Group: Development/C++ >Requires: %name-libs = %EVR > >%description devel >Development files for F3D libraries. > >%package -n python3-module-%name >Summary: Python 3 bindings for F3D libary >Group: Development/Python3 >Requires: %name-libs = %EVR > >%description -n python3-module-%name >F3D is a fast and minimalist 3D viewer desktop application. >This package provides Python 3 bindings for F3D libary. > >%package doc >Summary: Documentation for F3D library >Group: Development/Documentation >BuildArch: noarch >Conflicts: %name-devel < %version > >%description doc >Documentation for F3D library. > >%prep >%setup %name-%version >%patch1 -p1 > >%build >%cmake \ > -DCMAKE_BUILD_TYPE=Release \ > %{?_disable_app:-DF3D_BUILD_APPLICATION:BOOL=OFF} \ > %{?_enable_external_rendering:-DF3D_MODULE_EXTERNAL_RENDERING:BOOL=ON} \ > -DF3D_MODULE_EXR:BOOL=ON \ > -DF3D_BINDINGS_PYTHON:BOOL=ON \ > -DF3D_LINUX_INSTALL_DEFAULT_CONFIGURATION_FILE_IN_PREFIX:BOOL=ON \ > -DF3D_PLUGINS_STATIC_BUILD=ON \ > -DF3D_PLUGIN_BUILD_ALEMBIC=ON \ > -DF3D_PLUGIN_BUILD_ASSIMP:BOOL=ON \ > %{?_enable_draco:-DF3D_PLUGIN_BUILD_DRACO:BOOL=ON} \ > -DF3D_PLUGIN_BUILD_EXODUS:BOOL=ON \ > -DF3D_PLUGIN_BUILD_OCCT:BOOL=ON \ > %{?_enable_vdb:-DF3D_PLUGIN_BUILD_VDB:BOOL=ON} \ > %{?_enable_usd:-DF3D_PLUGIN_BUILD_USD:BOOL=ON} \ > %{?_enable_check:-DBUILD_TESTING=ON} >%nil >%cmake_build > >%install >%cmake_install > >%check >xvfb-run %ctest > >%if_enabled app >%files >%_bindir/%name >%_desktopdir/*.desktop >%_datadir/thumbnailers/* >%_iconsdir/hicolor/*/*/%name.* >%_datadir/metainfo/%rdn_name.metainfo.xml >%_datadir/bash-completion/completions/%name >%_datadir/fish/vendor_completions.d/%name.fish >%_datadir/zsh/site-functions/_%{name} >%doc README* LICENSE* doc/THIRD_PARTY_LICENSES* doc/user >%endif > >%files -n python3-module-%name >%python3_sitelibdir/%name/ > >%files libs >%_datadir/%name/ >%_libdir/lib%name.so.* >%_libdir/libvtkext.so >%_libdir/vtk/hierarchy/%{name}_vtkext/ >%doc README* LICENSE* > >%files devel >%_includedir/%name/ >%_libdir/lib%name.so >%_libdir/cmake/%{name}_vtkext/ > >%files doc >%doc doc/dev doc/lib%name > >%changelog >* Tue Aug 06 2024 Yuri N. Sedunov <aris@altlinux.org> 2.5.0-alt0.5 >- first build for Sisyphus >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 52009
: 17189