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