spyder/spyder.spec

81 lines
2.5 KiB
RPMSpec

Name: spyder
Version: 4.1.4
Release: 1mamba
Summary: A Scientific PYthon Development EnviRonment
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/spyder-ide/spyder
## GITSOURCE https://github.com/spyder-ide/spyder.git v2.3.7
Source: https://github.com/spyder-ide/spyder.git/v%{version}/spyder-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
BuildRequires: libpython-devel
Requires: python >= %python_version
Requires: PyQt4
Requires: pyflakes
Requires: python-rope
Requires: python-pep8
Requires: python-psutil
Requires: python-matplotlib
Requires: ipython3
Requires: python-Sphinx
Requires: python-pygments
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{summary}.
%prep
%setup -q
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist
%defattr(-,root,root)
#%dir %{python27_sitearch}/spyderlib
#%dir %{python27_sitearch}/spyderlib/doc
#%{python27_sitearch}/spyder/doc/*
#%{python27_sitearch}/spyderlib/doc/.buildinfo
#%doc AUTHORS LICENSE
%changelog
* Thu Jul 30 2020 Automatic Build System <autodist@mambasoft.it> 4.1.4-1mamba
- automatic version update by autodist
* Mon Jul 13 2020 Automatic Build System <autodist@mambasoft.it> 4.1.3-1mamba
- automatic version update by autodist
* Sun Oct 27 2019 Automatic Build System <autodist@mambasoft.it> 3.3.6-1mamba
- automatic version update by autodist
* Mon May 16 2016 Automatic Build System <autodist@mambasoft.it> 2.3.9-1mamba
- automatic version update by autodist
* Tue Jan 26 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.8-3mamba
- require ipython3 instead of ipython
* Sun Jan 24 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.8-2mamba
- require python-pygments to enable Css highlighter support and fix css file editing
* Sun Dec 06 2015 Automatic Build System <autodist@mambasoft.it> 2.3.8-1mamba
- automatic version update by autodist
* Wed Oct 07 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.7-1mamba
- package created using the webbuild interface