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