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