]>
Commit | Line | Data |
---|---|---|
b847dec4 | 1 | Summary: Eric4 - a full featured Python IDE |
9735f898 | 2 | Summary(pl.UTF-8): Eric4 - pełnowartościowe IDE dla Pythona |
a0b86859 | 3 | Name: eric4 |
ce14b8d6 | 4 | Version: 4.2.0 |
524ae94d | 5 | Release: 1 |
a0b86859 KK |
6 | License: GPL |
7 | Group: X11/Development/Tools | |
5bb57c36 | 8 | Source0: http://dl.sourceforge.net/eric-ide/%{name}-%{version}.tar.gz |
ce14b8d6 | 9 | # Source0-md5: 893ba74b5e53ac0677a132078a4bcb46 |
5bb57c36 | 10 | Source1: %{name}.desktop |
ce14b8d6 | 11 | Patch0: %{name}-distdir.patch |
7322eb9b | 12 | URL: http://www.die-offenbachs.de/eric/index.html |
ce14b8d6 | 13 | BuildRequires: python-qscintilla2-devel >= 2.2 |
a0b86859 KK |
14 | BuildRequires: rpm-pythonprov |
15 | %pyrequires_eq python-modules | |
ce14b8d6 | 16 | Requires: python-qscintilla2 >= 2.2 |
a0b86859 | 17 | Requires: python-devel-tools |
06dc82a5 | 18 | BuildArch: noarch |
a0b86859 KK |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | Eric4 is a full featured Python IDE that is written in PyQt4 using the | |
23 | QScintilla editor widget. | |
24 | ||
754089d9 JR |
25 | %description -l pl.UTF-8 |
26 | Eric4 jest pełnowartościowym IDE dla Pythona napisanym w PyQt4 i | |
27 | używającym edytora QScintilla. | |
a0b86859 KK |
28 | |
29 | %package doc | |
30 | Summary: Documentation for Eric4 | |
9735f898 | 31 | Summary(pl.UTF-8): Dodatkowa dokumentacja dla Eric4 |
a0b86859 KK |
32 | Group: X11/Development/Tools |
33 | Requires: %{name} = %{version}-%{release} | |
34 | ||
35 | %description doc | |
36 | Documentation for Eric4. | |
37 | ||
754089d9 | 38 | %description doc -l pl.UTF-8 |
a0b86859 KK |
39 | Dodatkowa dokumentacja dla Eric4. |
40 | ||
41 | %prep | |
5bb57c36 | 42 | %setup -q |
ce14b8d6 | 43 | %patch0 -p1 |
a0b86859 KK |
44 | |
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
06dc82a5 | 48 | python install.py -c -b %{_bindir} -d %{py_sitescriptdir} -i $RPM_BUILD_ROOT |
d017ab03 | 49 | install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/eric4.desktop |
5bb57c36 | 50 | install -D eric/pixmaps/eric.png $RPM_BUILD_ROOT%{_pixmapsdir}/eric4.png |
a0b86859 | 51 | |
06dc82a5 | 52 | %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}/* |
53 | %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}/* | |
a0b86859 KK |
54 | |
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | # NOTE: eric4 uses *.py files for it's own purposes | |
59 | # so do not remove them from package | |
60 | %files | |
61 | %defattr(644,root,root,755) | |
ce14b8d6 | 62 | %doc README* THANKS |
a0b86859 | 63 | %attr(755,root,root) %{_bindir}/* |
06dc82a5 | 64 | %{py_sitescriptdir}/eric4config.py* |
65 | %{py_sitescriptdir}/%{name} | |
66 | %dir %{py_sitescriptdir}/%{name}plugins | |
67 | %{py_sitescriptdir}/%{name}plugins/* | |
68 | %exclude %{py_sitescriptdir}/%{name}/Documentation | |
d017ab03 | 69 | %{_desktopdir}/eric4.desktop |
5bb57c36 | 70 | %{_pixmapsdir}/eric4.png |
ce14b8d6 | 71 | %{_datadir}/qt4/qsci/api/python/* |
a0b86859 KK |
72 | |
73 | %files doc | |
74 | %defattr(644,root,root,755) | |
06dc82a5 | 75 | %dir %{py_sitescriptdir}/%{name}/Documentation |
76 | %{py_sitescriptdir}/%{name}/Documentation/Source |