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