parent
b9546f94a4
commit
3ba2b58343
@ -1,7 +1,4 @@
|
|||||||
# pivy
|
# pivy
|
||||||
|
|
||||||
a Coin binding for Python.Coin is a high-level 3D graphics library with
|
Python bindings to coin3d.
|
||||||
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.
|
|
||||||
|
|
||||||
|
57
pivy.spec
57
pivy.spec
@ -1,56 +1,55 @@
|
|||||||
Name: pivy
|
Name: pivy
|
||||||
Version: 20101207
|
Epoch: 1
|
||||||
|
Version: 0.6.9
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: a Coin binding for Python
|
Summary: Python bindings to coin3d
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://bitbucket.org/Coin3D/pivy
|
URL: https://github.com/coin3d/pivy
|
||||||
Source: https://bitbucket.org/Coin3D/pivy/get/pivy-%{version}.tar.gz
|
Source: https://github.com/coin3d/pivy.git/%{version}/pivy-%{version}.tar.bz2
|
||||||
License: openBSD
|
License: ISC
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
## note: run 'autospec -u -a6 pivy' to get the list of build requirements.
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libcoin-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libpython311-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libpython-devel
|
|
||||||
Requires: python >= %python_version
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{summary}.Coin is a high-level 3D graphics library with
|
Python bindings to coin3d.
|
||||||
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.
|
|
||||||
|
|
||||||
%if 0%{?with_pyver}
|
%if 0%{?with_pyver}
|
||||||
|
%define py_requires_append \
|
||||||
|
Provides: pivy \
|
||||||
|
Obsoletes: pivy < 1:0.6.9
|
||||||
%pyver_package
|
%pyver_package
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Coin3D-%{name}-963cd83905b5
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
%cmake
|
||||||
|
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python} setup.py install \
|
%cmake_install
|
||||||
-O1 --skip-build \
|
|
||||||
--root="%{buildroot}" \
|
|
||||||
--install-headers=%{python_inc} \
|
|
||||||
--install-lib=%{python_sitearch} \
|
|
||||||
--record=%{name}.filelist
|
|
||||||
|
|
||||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
%files %{?pyappend}
|
||||||
|
|
||||||
%files %{?pyappend} -f %{name}.filelist
|
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{python27_sitearch}/pivy/_coin.so
|
%dir %{python3_sitearch}/pivy
|
||||||
%ifnarch x86_64
|
%{python3_sitearch}/pivy/*
|
||||||
%{python27_sitearch}/pivy/gui/_soqt.so
|
|
||||||
%endif
|
|
||||||
%doc AUTHORS LICENSE THANKS
|
%doc AUTHORS LICENSE THANKS
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Nov 02 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.9-1mamba
|
||||||
|
- update to 0.6.9
|
||||||
|
- closes #1
|
||||||
|
|
||||||
* Mon Jun 13 2016 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 20101207-1mamba
|
* Mon Jun 13 2016 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 20101207-1mamba
|
||||||
- package created using the webbuild interface
|
- package created using the webbuild interface
|
||||||
|
Loading…
Reference in New Issue
Block a user