]> git.pld-linux.org Git - packages/eric4.git/blob - eric4.spec
- up to 4.1.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.1.1
5 Release:        0.1
6 License:        GPL
7 Group:          X11/Development/Tools
8 Source0:        http://dl.sourceforge.net/eric-ide/%{name}-%{version}.tar.gz
9 # Source0-md5:  361c01fe5039cf399487df1e0d9fffe5
10 Source1:        %{name}.desktop
11 Patch0:         %{name}-install.patch
12 URL:            http://www.die-offenbachs.de/eric/index.html
13 BuildRequires:  python-qscintilla2-devel
14 BuildRequires:  rpm-pythonprov
15 %pyrequires_eq  python-modules
16 Requires:       python-qscintilla2 >= 2.1_1.73-2
17 Requires:       python-devel-tools
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 %patch0 -p1
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 python install.py -c -b %{_bindir} -d %{py_sitescriptdir} -i $RPM_BUILD_ROOT
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 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 # NOTE: eric4 uses *.py files for it's own purposes
58 # so do not remove them from package
59 %files
60 %defattr(644,root,root,755)
61 %doc ChangeLog README* THANKS
62 %attr(755,root,root) %{_bindir}/*
63 %{py_sitescriptdir}/eric4config.py*
64 %{py_sitescriptdir}/%{name}
65 %dir %{py_sitescriptdir}/%{name}plugins
66 %{py_sitescriptdir}/%{name}plugins/*
67 %exclude %{py_sitescriptdir}/%{name}/Documentation
68 %{_pixmapsdir}/eric4.png
69
70 %files doc
71 %defattr(644,root,root,755)
72 %dir %{py_sitescriptdir}/%{name}/Documentation
73 %{py_sitescriptdir}/%{name}/Documentation/Source
This page took 0.054871 seconds and 3 git commands to generate.