]>
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 |
5bb57c36 | 4 | Version: 4.0.1 |
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 |
9 | # Source0-md5: bf38d851c86832fa40e07eb75394efc6 | |
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 | |
15 | Requires: python-qscintilla2 | |
16 | Requires: python-devel-tools | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | Eric4 is a full featured Python IDE that is written in PyQt4 using the | |
21 | QScintilla editor widget. | |
22 | ||
754089d9 JR |
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. | |
a0b86859 KK |
26 | |
27 | %package doc | |
28 | Summary: Documentation for Eric4 | |
9735f898 | 29 | Summary(pl.UTF-8): Dodatkowa dokumentacja dla Eric4 |
a0b86859 KK |
30 | Group: X11/Development/Tools |
31 | Requires: %{name} = %{version}-%{release} | |
32 | ||
33 | %description doc | |
34 | Documentation for Eric4. | |
35 | ||
754089d9 | 36 | %description doc -l pl.UTF-8 |
a0b86859 KK |
37 | Dodatkowa dokumentacja dla Eric4. |
38 | ||
39 | %prep | |
5bb57c36 | 40 | %setup -q |
a0b86859 KK |
41 | |
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | python install.py -c -b %{_bindir} -d %{py_sitedir} -i $RPM_BUILD_ROOT | |
5bb57c36 | 46 | install -D eric/pixmaps/eric.png $RPM_BUILD_ROOT%{_pixmapsdir}/eric4.png |
a0b86859 KK |
47 | |
48 | %py_comp $RPM_BUILD_ROOT%{py_sitedir}/* | |
49 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}/* | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | # NOTE: eric4 uses *.py files for it's own purposes | |
55 | # so do not remove them from package | |
56 | %files | |
57 | %defattr(644,root,root,755) | |
58 | %doc ChangeLog README* THANKS | |
59 | %attr(755,root,root) %{_bindir}/* | |
60 | %{py_sitedir}/eric4config.py | |
61 | %{py_sitedir}/%{name} | |
62 | %exclude %{py_sitedir}/%{name}/Documentation | |
5bb57c36 | 63 | %{_pixmapsdir}/eric4.png |
a0b86859 KK |
64 | |
65 | %files doc | |
66 | %defattr(644,root,root,755) | |
67 | %dir %{py_sitedir}/%{name}/Documentation | |
68 | %{py_sitedir}/%{name}/Documentation/Source |