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