diff --git a/README.md b/README.md index 6c143cb..bcfb93e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # spyder +A Scientific PYthon Development EnviRonment. + diff --git a/spyder.spec b/spyder.spec new file mode 100644 index 0000000..785e521 --- /dev/null +++ b/spyder.spec @@ -0,0 +1,54 @@ +Name: spyder +Version: 2.3.7 +Release: 1mamba +Summary: A Scientific PYthon Development EnviRonment +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +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 +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}/spyderlib/doc/* +%{python27_sitearch}/spyderlib/doc/.buildinfo +%doc AUTHORS LICENSE + +%changelog +* Wed Oct 07 2015 Silvan Calarco 2.3.7-1mamba +- package created using the webbuild interface