|
|
5efe11c |
%global realname Pivy
|
|
|
5efe11c |
%global checkout hg609
|
|
|
5efe11c |
|
|
|
5efe11c |
Name: python-pivy
|
|
|
5efe11c |
Version: 0.5.0
|
|
|
f74b4f6 |
Release: 9.%{checkout}%{?dist}
|
|
|
5efe11c |
Summary: Python binding for Coin
|
|
|
5efe11c |
|
|
|
5efe11c |
License: ISC
|
|
|
5efe11c |
URL: http://pivy.coin3d.org/
|
|
|
5efe11c |
|
|
|
5efe11c |
# No release for some time. Source is a mecurial checkout
|
|
|
5efe11c |
# $ hg clone http://hg.sim.no/Pivy/default Pivy
|
|
|
5efe11c |
# $ hg archive Pivy-0.5.0-hg609.tar.gz
|
|
|
5efe11c |
Source0: %{realname}-%{version}-%{checkout}.tar.gz
|
|
|
5efe11c |
|
|
|
5efe11c |
BuildRequires: python2-devel
|
|
|
f74b4f6 |
BuildRequires: Coin3-devel
|
|
|
f74b4f6 |
BuildRequires: Coin3-SoQt-devel
|
|
|
f74b4f6 |
BuildRequires: Coin3-SIMVoleon-devel
|
|
|
5efe11c |
BuildRequires: libXmu-devel
|
|
|
5efe11c |
BuildRequires: swig
|
|
|
5efe11c |
|
|
|
5efe11c |
# we don't want to provide private python extension libs
|
|
|
5efe11c |
%{?filter_setup:
|
|
|
5efe11c |
%filter_provides_in %{python_sitearch}/.*\.so$
|
|
|
5efe11c |
%filter_setup
|
|
|
5efe11c |
}
|
|
|
5efe11c |
|
|
|
5efe11c |
%description
|
|
|
5efe11c |
Pivy is a Coin binding for Python. Coin is a high-level 3D graphics library with
|
|
|
5efe11c |
a C++ Application Programming Interface. Coin uses scene-graph data structures
|
|
|
5efe11c |
to render real-time graphics suitable for mostly all kinds of scientific and
|
|
|
5efe11c |
engineering visualization applications.
|
|
|
5efe11c |
|
|
|
5efe11c |
|
|
|
5efe11c |
%prep
|
|
|
5efe11c |
%setup -q -n %{realname}-%{version}-%{checkout}
|
|
|
5efe11c |
# Examples in the docs folder should not be set executable.
|
|
|
5efe11c |
find ./docs -name "*.py" -exec chmod -x {} \;
|
|
|
5efe11c |
|
|
|
5efe11c |
|
|
|
5efe11c |
%build
|
|
|
5efe11c |
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
5efe11c |
|
|
|
5efe11c |
|
|
|
5efe11c |
%install
|
|
|
5efe11c |
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
|
|
5efe11c |
|
|
|
5efe11c |
# Fix install location for x86_64 systems.
|
|
|
5efe11c |
%if %{_lib} == "lib64"
|
|
|
5efe11c |
mv %{buildroot}%{_prefix}/lib %{buildroot}%{_libdir}
|
|
|
5efe11c |
%endif
|
|
|
5efe11c |
|
|
|
5efe11c |
chmod +x %{buildroot}%{python_sitearch}/pivy/sogui.py
|
|
|
5efe11c |
|
|
|
5efe11c |
|
|
|
5efe11c |
%files
|
|
|
5efe11c |
%doc AUTHORS examples NEWS README THANKS docs/* HACKING LICENSE
|
|
|
5efe11c |
%{python_sitearch}/pivy/
|
|
|
5efe11c |
%{python_sitearch}/*.egg-info
|
|
|
5efe11c |
|
|
|
5efe11c |
|
|
|
5efe11c |
%changelog
|
|
|
f74b4f6 |
* Sat Feb 28 2015 Ralf Cors├ępius <corsepiu@fedoraproject.org> - 0.5.0-9.hg609
|
|
|
f74b4f6 |
- Use Coin3.
|
|
|
f74b4f6 |
|
|
|
3f70784 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-8.hg609
|
|
|
3f70784 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
3f70784 |
|
|
|
a05b5c8 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-7.hg609
|
|
|
a05b5c8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
a05b5c8 |
|
|
|
5f7c982 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-6.hg609
|
|
|
5f7c982 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
5f7c982 |
|
|
|
69102f9 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-5.hg609
|
|
|
69102f9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
69102f9 |
|
|
|
53b9f04 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-4.hg609
|
|
|
53b9f04 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
53b9f04 |
|
|
|
5efe11c |
* Wed Apr 18 2012 Richard Shaw <hobbes1069@gmail.com> - 0.5.0-3.hg609
|
|
|
5efe11c |
- Change name to python-pivy to meet package naming guidelines.
|
|
|
5efe11c |
- Change to correct license in spec file. (BSD->ISC)
|
|
|
5efe11c |
|
|
|
5efe11c |
* Tue Nov 01 2011 Richard Shaw <hobbes1069@gmail.com> - 0.5.0-1
|
|
|
5efe11c |
- Inital release.
|