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