]> git.pld-linux.org Git - packages/eric4.git/blame - eric4.spec
- updated to 4.2.0
[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
ce14b8d6 4Version: 4.2.0
524ae94d 5Release: 1
a0b86859
KK
6License: GPL
7Group: X11/Development/Tools
5bb57c36 8Source0: http://dl.sourceforge.net/eric-ide/%{name}-%{version}.tar.gz
ce14b8d6 9# Source0-md5: 893ba74b5e53ac0677a132078a4bcb46
5bb57c36 10Source1: %{name}.desktop
ce14b8d6 11Patch0: %{name}-distdir.patch
7322eb9b 12URL: http://www.die-offenbachs.de/eric/index.html
ce14b8d6 13BuildRequires: python-qscintilla2-devel >= 2.2
a0b86859
KK
14BuildRequires: rpm-pythonprov
15%pyrequires_eq python-modules
ce14b8d6 16Requires: python-qscintilla2 >= 2.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
ce14b8d6 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
d017ab03 49install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/eric4.desktop
5bb57c36 50install -D eric/pixmaps/eric.png $RPM_BUILD_ROOT%{_pixmapsdir}/eric4.png
a0b86859 51
06dc82a5 52%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}/*
53%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}/*
a0b86859
KK
54
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
ce14b8d6 71%{_datadir}/qt4/qsci/api/python/*
a0b86859
KK
72
73%files doc
74%defattr(644,root,root,755)
06dc82a5 75%dir %{py_sitescriptdir}/%{name}/Documentation
76%{py_sitescriptdir}/%{name}/Documentation/Source
This page took 0.099604 seconds and 4 git commands to generate.