]>
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 |
9aaf1700 | 4 | Version: 4.4.16 |
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 |
e93365e6 | 9 | # Source0-md5: dc8d56fa68c0011633502fdc094fc04e |
5bb57c36 | 10 | Source1: %{name}.desktop |
7f28896a | 11 | URL: http://eric-ide.python-projects.org/ |
9aaf1700 | 12 | BuildRequires: python-PyQt4-devel-tools |
1b79a133 | 13 | BuildRequires: python-qscintilla2-devel >= 2.4.4-3 |
14 | BuildRequires: python-sip-devel >= 2:4.5.10 | |
a0b86859 KK |
15 | BuildRequires: rpm-pythonprov |
16 | %pyrequires_eq python-modules | |
a0b86859 | 17 | Requires: python-devel-tools |
1b79a133 | 18 | Requires: python-qscintilla2 >= 2.4.4-3 |
06dc82a5 | 19 | BuildArch: noarch |
a0b86859 KK |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | Eric4 is a full featured Python IDE that is written in PyQt4 using the | |
24 | QScintilla editor widget. | |
25 | ||
754089d9 JR |
26 | %description -l pl.UTF-8 |
27 | Eric4 jest pełnowartościowym IDE dla Pythona napisanym w PyQt4 i | |
28 | używającym edytora QScintilla. | |
a0b86859 KK |
29 | |
30 | %package doc | |
31 | Summary: Documentation for Eric4 | |
9735f898 | 32 | Summary(pl.UTF-8): Dodatkowa dokumentacja dla Eric4 |
a0b86859 KK |
33 | Group: X11/Development/Tools |
34 | Requires: %{name} = %{version}-%{release} | |
35 | ||
36 | %description doc | |
37 | Documentation for Eric4. | |
38 | ||
754089d9 | 39 | %description doc -l pl.UTF-8 |
a0b86859 KK |
40 | Dodatkowa dokumentacja dla Eric4. |
41 | ||
42 | %prep | |
5bb57c36 | 43 | %setup -q |
a0b86859 KK |
44 | |
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
90a0465b | 48 | python install.py -z -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 | 54 | |
5cbc58b9 KK |
55 | rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}/LICENSE.GPL3 |
56 | ||
a0b86859 KK |
57 | %clean |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | # NOTE: eric4 uses *.py files for it's own purposes | |
61 | # so do not remove them from package | |
62 | %files | |
63 | %defattr(644,root,root,755) | |
ce14b8d6 | 64 | %doc README* THANKS |
a0b86859 | 65 | %attr(755,root,root) %{_bindir}/* |
06dc82a5 | 66 | %{py_sitescriptdir}/eric4config.py* |
67 | %{py_sitescriptdir}/%{name} | |
68 | %dir %{py_sitescriptdir}/%{name}plugins | |
69 | %{py_sitescriptdir}/%{name}plugins/* | |
70 | %exclude %{py_sitescriptdir}/%{name}/Documentation | |
d017ab03 | 71 | %{_desktopdir}/eric4.desktop |
5bb57c36 | 72 | %{_pixmapsdir}/eric4.png |
5cbc58b9 KK |
73 | %{_datadir}/qt4/qsci/api/python/* |
74 | %{_datadir}/qt4/qsci/api/ruby | |
a0b86859 KK |
75 | |
76 | %files doc | |
77 | %defattr(644,root,root,755) | |
06dc82a5 | 78 | %dir %{py_sitescriptdir}/%{name}/Documentation |
79 | %{py_sitescriptdir}/%{name}/Documentation/Source |