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