]> git.pld-linux.org Git - packages/eric4.git/blame - eric4.spec
- release 4 (by relup.sh)
[packages/eric4.git] / eric4.spec
CommitLineData
b847dec4 1Summary: Eric4 - a full featured Python IDE
9735f898 2Summary(pl.UTF-8): Eric4 - pełnowartościowe IDE dla Pythona
a0b86859 3Name: eric4
a46297ee 4Version: 4.5.24
30c38f7f 5Release: 4
62977087 6License: GPL v3+
a0b86859 7Group: 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 10Source0: http://downloads.sourceforge.net/eric-ide/%{name}-%{version}.tar.gz
a46297ee 11# Source0-md5: b41afbcfc59ec00441742a1495e06a6b
5bb57c36 12Source1: %{name}.desktop
7f28896a 13URL: http://eric-ide.python-projects.org/
9aaf1700 14BuildRequires: python-PyQt4-devel-tools
309278ad 15BuildRequires: python-PyQt4
abb8024a 16BuildRequires: python-PyQt4-uic
dd4efa5a 17BuildRequires: python-PyQt4-qscintilla2 >= 2.4.4-3
1b79a133 18BuildRequires: python-sip-devel >= 2:4.5.10
a0b86859 19BuildRequires: rpm-pythonprov
309278ad 20BuildRequires: sip-PyQt4
af5c9694
JR
21BuildRequires: sip-PyQt4-qscintilla2 >= 2.4.4-3
22Requires: python-PyQt4-qscintilla2 >= 2.4.4-3
a0b86859 23Requires: python-devel-tools
516b9551 24Requires: python-modules
42099271 25Requires: python-modules-sqlite
06dc82a5 26BuildArch: noarch
a0b86859
KK
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30Eric4 is a full featured Python IDE that is written in PyQt4 using the
31QScintilla editor widget.
32
754089d9
JR
33%description -l pl.UTF-8
34Eric4 jest pełnowartościowym IDE dla Pythona napisanym w PyQt4 i
35używającym edytora QScintilla.
a0b86859
KK
36
37%package doc
38Summary: Documentation for Eric4
9735f898 39Summary(pl.UTF-8): Dodatkowa dokumentacja dla Eric4
a0b86859
KK
40Group: X11/Development/Tools
41Requires: %{name} = %{version}-%{release}
42
43%description doc
44Documentation for Eric4.
45
754089d9 46%description doc -l pl.UTF-8
a0b86859
KK
47Dodatkowa dokumentacja dla Eric4.
48
49%prep
5bb57c36 50%setup -q
a0b86859
KK
51
52%install
53rm -rf $RPM_BUILD_ROOT
54
90a0465b 55python install.py -z -c -b %{_bindir} -d %{py_sitescriptdir} -i $RPM_BUILD_ROOT
d017ab03 56install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/eric4.desktop
5bb57c36 57install -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
62rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}/LICENSE.GPL3
63
a0b86859
KK
64%clean
65rm -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
This page took 0.137616 seconds and 4 git commands to generate.