package created using the webbuild interface [release 20101207-1mamba;Mon Jun 13 2016]

This commit is contained in:
Ercole 'ercolinux' Carpanetto 2024-01-06 10:08:32 +01:00
parent ac7d4038ef
commit b9546f94a4
2 changed files with 61 additions and 0 deletions

View File

@ -1,2 +1,7 @@
# pivy
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.

56
pivy.spec Normal file
View File

@ -0,0 +1,56 @@
Name: pivy
Version: 20101207
Release: 1mamba
Summary: a Coin binding for Python
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: https://bitbucket.org/Coin3D/pivy
Source: https://bitbucket.org/Coin3D/pivy/get/pivy-%{version}.tar.gz
License: openBSD
## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 pivy' to get the list of build requirements.
## AUTOBUILDREQ-END
BuildRequires: libpython-devel
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{summary}.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.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n Coin3D-%{name}-963cd83905b5
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py 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} -f %{name}.filelist
%defattr(-,root,root)
%{python27_sitearch}/pivy/_coin.so
%ifnarch x86_64
%{python27_sitearch}/pivy/gui/_soqt.so
%endif
%doc AUTHORS LICENSE THANKS
%changelog
* Mon Jun 13 2016 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 20101207-1mamba
- package created using the webbuild interface