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