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