Enable wxPython backend
This commit is contained in:
parent
fd9734a7cb
commit
fa5fd50bfc
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
Name: python-matplotlib
|
Name: python-matplotlib
|
||||||
Version: 1.0.1
|
Version: 1.0.1
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Python plotting library
|
Summary: Python plotting library
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -55,6 +55,16 @@ Requires: tkinter
|
|||||||
%description tk
|
%description tk
|
||||||
%{summary}
|
%{summary}
|
||||||
|
|
||||||
|
%package wx
|
||||||
|
Summary: wxPython backend for python-matplotlib
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: wxPython
|
||||||
|
BuildRequires: wxPython-devel
|
||||||
|
|
||||||
|
%description wx
|
||||||
|
%{summary}
|
||||||
|
|
||||||
%if %{withdocs}
|
%if %{withdocs}
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation files for python-matplotlib
|
Summary: Documentation files for python-matplotlib
|
||||||
@ -126,6 +136,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%exclude %{python_sitearch}/matplotlib/backends/backend_tkagg.*
|
%exclude %{python_sitearch}/matplotlib/backends/backend_tkagg.*
|
||||||
%exclude %{python_sitearch}/matplotlib/backends/tkagg.*
|
%exclude %{python_sitearch}/matplotlib/backends/tkagg.*
|
||||||
%exclude %{python_sitearch}/matplotlib/backends/_tkagg.so
|
%exclude %{python_sitearch}/matplotlib/backends/_tkagg.so
|
||||||
|
%exclude %{python_sitearch}/matplotlib/backends/backend_wx.*
|
||||||
|
%exclude %{python_sitearch}/matplotlib/backends/backend_wxagg.*
|
||||||
|
|
||||||
%files tk
|
%files tk
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -133,6 +145,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{python_sitearch}/matplotlib/backends/tkagg.py*
|
%{python_sitearch}/matplotlib/backends/tkagg.py*
|
||||||
%{python_sitearch}/matplotlib/backends/_tkagg.so
|
%{python_sitearch}/matplotlib/backends/_tkagg.so
|
||||||
|
|
||||||
|
%files wx
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{python_sitearch}/matplotlib/backends/backend_wx.py*
|
||||||
|
%{python_sitearch}/matplotlib/backends/backend_wxagg.py*
|
||||||
|
|
||||||
%if %{withdocs}
|
%if %{withdocs}
|
||||||
%files doc
|
%files doc
|
||||||
%doc doc/build/html
|
%doc doc/build/html
|
||||||
@ -140,6 +157,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 21 2011 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 1.0.1-4
|
||||||
|
- Enable wxPython backend
|
||||||
|
|
||||||
* Mon Feb 21 2011 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 1.0.1-3
|
* Mon Feb 21 2011 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 1.0.1-3
|
||||||
- Add conditional for optionally building doc sub-package
|
- Add conditional for optionally building doc sub-package
|
||||||
- Add flag to build low res images for documentation
|
- Add flag to build low res images for documentation
|
||||||
|
Loading…
Reference in New Issue
Block a user