1 Summary: Eric4 - a full featured Python IDE
2 Summary(pl.UTF-8): Eric4 - pełnowartościowe IDE dla Pythona
7 Group: X11/Development/Tools
8 Source0: http://dl.sourceforge.net/eric-ide/%{name}-%{version}.tar.gz
9 # Source0-md5: bf38d851c86832fa40e07eb75394efc6
10 Source1: %{name}.desktop
11 URL: http://www.die-offenbachs.de/eric/index.html
12 BuildRequires: python-qscintilla2-devel
13 BuildRequires: rpm-pythonprov
14 %pyrequires_eq python-modules
15 Requires: python-qscintilla2
16 Requires: python-devel-tools
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Eric4 is a full featured Python IDE that is written in PyQt4 using the
21 QScintilla editor widget.
23 %description -l pl.UTF-8
24 Eric4 jest pełnowartościowym IDE dla Pythona napisanym w PyQt4 i
25 używającym edytora QScintilla.
28 Summary: Documentation for Eric4
29 Summary(pl.UTF-8): Dodatkowa dokumentacja dla Eric4
30 Group: X11/Development/Tools
31 Requires: %{name} = %{version}-%{release}
34 Documentation for Eric4.
36 %description doc -l pl.UTF-8
37 Dodatkowa dokumentacja dla Eric4.
43 rm -rf $RPM_BUILD_ROOT
45 python install.py -c -b %{_bindir} -d %{py_sitedir} -i $RPM_BUILD_ROOT
46 install -D eric/pixmaps/eric.png $RPM_BUILD_ROOT%{_pixmapsdir}/eric4.png
48 %py_comp $RPM_BUILD_ROOT%{py_sitedir}/*
49 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}/*
52 rm -rf $RPM_BUILD_ROOT
54 # NOTE: eric4 uses *.py files for it's own purposes
55 # so do not remove them from package
57 %defattr(644,root,root,755)
58 %doc ChangeLog README* THANKS
59 %attr(755,root,root) %{_bindir}/*
60 %{py_sitedir}/eric4config.py
62 %exclude %{py_sitedir}/%{name}/Documentation
63 %{_pixmapsdir}/eric4.png
66 %defattr(644,root,root,755)
67 %dir %{py_sitedir}/%{name}/Documentation
68 %{py_sitedir}/%{name}/Documentation/Source