Summary: Eric4 - a full featured Python IDE
Summary(pl.UTF-8): Eric4 - pełnowartościowe IDE dla Pythona
Name: eric4
-Version: 4.1.2
+Version: 4.4.20
Release: 1
-License: GPL
+License: GPL v3+
Group: X11/Development/Tools
-Source0: http://dl.sourceforge.net/eric-ide/%{name}-%{version}.tar.gz
-# Source0-md5: aefed64d39ac8f6e2f9a20866b42eee7
+# http://downloads.sourceforge.net/project/eric-ide/eric4/stable/4.4.19/eric4-4.4.19.tar.gz
+# Source0: http://downloads.sourceforge.net/eric-ide/%{name}-%{version}.tar.gz
+Source0: http://downloads.sourceforge.net/project/eric-ide/%{name}/stable/%{version}/eric4-%{version}.tar.gz
+# Source0-md5: 2f12f6a55a5cb4ff067e229105c48497
Source1: %{name}.desktop
-URL: http://www.die-offenbachs.de/eric/index.html
-BuildRequires: python-qscintilla2-devel
+URL: http://eric-ide.python-projects.org/
+BuildRequires: python-PyQt4-devel-tools
+BuildRequires: python-qscintilla2-devel >= 2.4.4-3
+BuildRequires: python-sip-devel >= 2:4.5.10
BuildRequires: rpm-pythonprov
%pyrequires_eq python-modules
-Requires: python-qscintilla2 >= 2.1_1.73-2
Requires: python-devel-tools
+Requires: python-qscintilla2 >= 2.4.4-3
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%install
rm -rf $RPM_BUILD_ROOT
-python install.py -c -b %{_bindir} -d %{py_sitescriptdir} -i $RPM_BUILD_ROOT
+python install.py -z -c -b %{_bindir} -d %{py_sitescriptdir} -i $RPM_BUILD_ROOT
install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/eric4.desktop
install -D eric/pixmaps/eric.png $RPM_BUILD_ROOT%{_pixmapsdir}/eric4.png
%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}/*
%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}/*
+rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}/LICENSE.GPL3
+
%clean
rm -rf $RPM_BUILD_ROOT
# so do not remove them from package
%files
%defattr(644,root,root,755)
-%doc ChangeLog README* THANKS
+%doc README* THANKS
%attr(755,root,root) %{_bindir}/*
%{py_sitescriptdir}/eric4config.py*
%{py_sitescriptdir}/%{name}
%exclude %{py_sitescriptdir}/%{name}/Documentation
%{_desktopdir}/eric4.desktop
%{_pixmapsdir}/eric4.png
+%{_datadir}/qt4/qsci/api/python/*
+%{_datadir}/qt4/qsci/api/ruby
%files doc
%defattr(644,root,root,755)