]> git.pld-linux.org Git - packages/eric6.git/blame - eric6.spec
Version 6.1.9
[packages/eric6.git] / eric6.spec
CommitLineData
5c2f16b8 1# TODO: Switch to python3
e2cab009
MK
2
3%define module eric6
4Summary: Eric6 - a full featured Python IDE
5Summary(pl.UTF-8): Eric6 - pełnowartościowe IDE dla Pythona
6# Name must match the python module/package name (as on pypi or in 'import' statement)
7Name: eric6
2758d547 8Version: 6.1.9
d5275b1c 9Release: 1
e2cab009
MK
10License: GPL v3
11Group: Libraries/Python
5c2f16b8 12Source0: https://sourceforge.net/projects/eric-ide/files/eric6/stable/%{version}/eric6-%{version}.tar.gz
2758d547 13# Source0-md5: 8ced922333bb7c8a644f2c9d72a60b58
e2cab009
MK
14URL: http://eric-ide.python-projects.org/index.html
15BuildRequires: rpm-pythonprov
16# for the py_build, py_install macros
17BuildRequires: rpmbuild(macros) >= 1.714
e2cab009
MK
18BuildRequires: python-modules
19BuildRequires: python-setuptools
20# NOTE: As for 6.1.8 eric6 still tries to import PyQt5 while having PyQt4 leading to crash
21# http://die-offenbachs.homelinux.org:48888/issues/issue204
22# for --pyqt=4
e2cab009 23# BuildRequires: python-PyQt4-qscintilla2
5c2f16b8 24# BuildRequires: python-PyQt4-uic
e2cab009
MK
25# for --pyqt=5
26BuildRequires: python-PyQt5-qscintilla2
27BuildRequires: python-PyQt5-uic
e2cab009 28Requires: python-modules
2758d547 29Requires: python-PyQt5-qscintilla2
e2cab009
MK
30BuildArch: noarch
31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33%description
5c2f16b8
MK
34Eric is a Python IDE written using PyQt and QScintilla. It provides
35various features such as any number of open editors, an integrated
36(remote) debugger, project management facilities, unit test,
37refactoring and much more.
e2cab009
MK
38
39%description -l pl.UTF-8
5c2f16b8
MK
40Eric jest pythonowym graficznym środowiskiem programistycznym
41używającym PyQt i QScintilla.
e2cab009
MK
42
43%prep
44%setup -q
45
46%build
47
48%install
49rm -rf $RPM_BUILD_ROOT
50python install.py -z -c -b %{_bindir} -d %{py_sitescriptdir} -i $RPM_BUILD_ROOT --pyqt=5
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
e2cab009
MK
55%files
56%defattr(644,root,root,755)
57%doc README.rst
58%{py_sitescriptdir}/%{module}
59%attr(755,root,root) %{_bindir}/eric6
60%attr(755,root,root) %{_bindir}/eric6_*
61# for --pyqt=4
5c2f16b8
MK
62# %{_datadir}/qt4/qsci/api/qss/
63# %{_datadir}/qt4/qsci/api/ruby/
d5275b1c 64# NOTE: file %{_datadir}/qt4/qsci/api/ruby/Ruby-1.8.7.api from install of eric6-6.1.8-0.1.noarch conflicts with file from package eric4-4.5.24-3.noarch
5c2f16b8
MK
65# %{_datadir}/qt4/qsci/api/python/eric6.*
66# %{_datadir}/qt4/qsci/api/python/zope-*.api
e2cab009
MK
67
68# for --pyqt=5
5c2f16b8
MK
69%{_datadir}/qt5/qsci/api/qss/
70%{_datadir}/qt5/qsci/api/ruby/
71%{_datadir}/qt5/qsci/api/python/eric6.*
72%{_datadir}/qt5/qsci/api/python/zope-*.api
e2cab009 73
5c2f16b8
MK
74%{_pixmapsdir}/eric*.png
75%{_desktopdir}/eric6.desktop
76%{_desktopdir}/eric6_webbrowser.desktop
2758d547 77# /usr/share/metainfo/eric6.appdata.xml
5c2f16b8
MK
78%{py_sitescriptdir}/eric6config.py
79%{py_sitescriptdir}/eric6plugins
This page took 0.086813 seconds and 4 git commands to generate.