]>
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 |
1fd57c3b | 4 | Version: 4.4.10 |
7b1fb552 | 5 | Release: 1 |
62977087 | 6 | License: GPL v3+ |
a0b86859 | 7 | Group: X11/Development/Tools |
8ab480fb | 8 | Source0: http://downloads.sourceforge.net/eric-ide/%{name}-%{version}.tar.gz |
1fd57c3b | 9 | # Source0-md5: a2a2e44b89d19cc37bc1e2c0c2b9e3d8 |
5bb57c36 | 10 | Source1: %{name}.desktop |
7f28896a | 11 | URL: http://eric-ide.python-projects.org/ |
1b79a133 | 12 | BuildRequires: python-qscintilla2-devel >= 2.4.4-3 |
13 | BuildRequires: python-sip-devel >= 2:4.5.10 | |
a0b86859 KK |
14 | BuildRequires: rpm-pythonprov |
15 | %pyrequires_eq python-modules | |
a0b86859 | 16 | Requires: python-devel-tools |
1b79a133 | 17 | Requires: python-qscintilla2 >= 2.4.4-3 |
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 |
a0b86859 KK |
43 | |
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
90a0465b | 47 | python install.py -z -c -b %{_bindir} -d %{py_sitescriptdir} -i $RPM_BUILD_ROOT |
d017ab03 | 48 | install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/eric4.desktop |
5bb57c36 | 49 | install -D eric/pixmaps/eric.png $RPM_BUILD_ROOT%{_pixmapsdir}/eric4.png |
a0b86859 | 50 | |
06dc82a5 | 51 | %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}/* |
52 | %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}/* | |
a0b86859 | 53 | |
5cbc58b9 KK |
54 | rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}/LICENSE.GPL3 |
55 | ||
a0b86859 KK |
56 | %clean |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | # NOTE: eric4 uses *.py files for it's own purposes | |
60 | # so do not remove them from package | |
61 | %files | |
62 | %defattr(644,root,root,755) | |
ce14b8d6 | 63 | %doc README* THANKS |
a0b86859 | 64 | %attr(755,root,root) %{_bindir}/* |
06dc82a5 | 65 | %{py_sitescriptdir}/eric4config.py* |
66 | %{py_sitescriptdir}/%{name} | |
67 | %dir %{py_sitescriptdir}/%{name}plugins | |
68 | %{py_sitescriptdir}/%{name}plugins/* | |
69 | %exclude %{py_sitescriptdir}/%{name}/Documentation | |
d017ab03 | 70 | %{_desktopdir}/eric4.desktop |
5bb57c36 | 71 | %{_pixmapsdir}/eric4.png |
5cbc58b9 KK |
72 | %{_datadir}/qt4/qsci/api/python/* |
73 | %{_datadir}/qt4/qsci/api/ruby | |
a0b86859 KK |
74 | |
75 | %files doc | |
76 | %defattr(644,root,root,755) | |
06dc82a5 | 77 | %dir %{py_sitescriptdir}/%{name}/Documentation |
78 | %{py_sitescriptdir}/%{name}/Documentation/Source |