Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37561871
en ru br
ALT Linux repos
S:0.6.8-alt1

Group :: Development/Python3
RPM: python3-module-pivy

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname pivy
Name: python3-module-%oname
Version: 0.6.7
Release: alt1
Epoch: 2
Summary: Pivy is a Coin binding for Python
License: ISC
Group: Development/Python3
Url: https://github.com/coin3d/pivy
Packager: Andrey Cherepanov <cas at altlinux.org>

Source: %name-%version.tar
Patch1: pivy-0.6.6-0001-fix-CMakeLists.txt-for-distutils_cmake.patch
Patch2: pivy-0.6.6-0002-Gentoo-specific-clear-swig-deprecation-warning.patch

BuildRequires(pre): cmake
BuildRequires(pre): rpm-build-python3
BuildRequires: gcc-c++
BuildRequires: libcoin3d-devel
BuildRequires: libsoqt-devel
BuildRequires: qt5-base-devel
BuildRequires: swig

%description
Pivy is a Coin binding for Python. Coin is a high-level 3D graphics
library with a C++ Application Programming Interface. Coin uses
scene-graph data structures to render real-time graphics suitable for
mostly all kinds of scientific and engineering visualization
applications.

%prep
%setup
%patch1 -p1
%patch2 -p1

%build
#add_optflags -I%_includedir/qt4/Qt -fno-strict-aliasing
%python3_build_debug

%install
%python3_install

%if "%python3_sitelibdir_noarch" != "%python3_sitelibdir"
install -d %buildroot%python3_sitelibdir
mv %buildroot%python3_sitelibdir_noarch/%oname \
%buildroot%python3_sitelibdir_noarch/*.egg-info \
%buildroot%python3_sitelibdir/
%endif

%files
%doc AUTHORS HACKING NEWS THANKS docs/*
%python3_sitelibdir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin