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