]> git.pld-linux.org Git - packages/eric4.git/blob - eric4.spec
- up to 4.0.1 (this goes on HEAD, snapshot will be on DEVEL branch)
[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.0.1
5 Release:        1       
6 License:        GPL
7 Group:          X11/Development/Tools
8 Source0:        http://dl.sourceforge.net/eric-ide/%{name}-%{version}.tar.gz
9 # Source0-md5:  bf38d851c86832fa40e07eb75394efc6
10 Source1:        %{name}.desktop
11 URL:            http://www.die-offenbachs.de/eric/index.html
12 BuildRequires:  python-qscintilla2-devel
13 BuildRequires:  rpm-pythonprov
14 %pyrequires_eq  python-modules
15 Requires:       python-qscintilla2
16 Requires:       python-devel-tools
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Eric4 is a full featured Python IDE that is written in PyQt4 using the
21 QScintilla editor widget.
22
23 %description -l pl.UTF-8
24 Eric4 jest pełnowartościowym IDE dla Pythona napisanym w PyQt4 i
25 używającym edytora QScintilla.
26
27 %package doc
28 Summary:        Documentation for Eric4
29 Summary(pl.UTF-8):      Dodatkowa dokumentacja dla Eric4
30 Group:          X11/Development/Tools
31 Requires:       %{name} = %{version}-%{release}
32
33 %description doc
34 Documentation for Eric4.
35
36 %description doc -l pl.UTF-8
37 Dodatkowa dokumentacja dla Eric4.
38
39 %prep
40 %setup -q
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 python install.py -c -b %{_bindir} -d %{py_sitedir} -i $RPM_BUILD_ROOT
46 install -D eric/pixmaps/eric.png $RPM_BUILD_ROOT%{_pixmapsdir}/eric4.png
47
48 %py_comp $RPM_BUILD_ROOT%{py_sitedir}/*
49 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}/*
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 # NOTE: eric4 uses *.py files for it's own purposes
55 # so do not remove them from package
56 %files
57 %defattr(644,root,root,755)
58 %doc ChangeLog README* THANKS
59 %attr(755,root,root) %{_bindir}/*
60 %{py_sitedir}/eric4config.py
61 %{py_sitedir}/%{name}
62 %exclude %{py_sitedir}/%{name}/Documentation
63 %{_pixmapsdir}/eric4.png
64
65 %files doc
66 %defattr(644,root,root,755)
67 %dir %{py_sitedir}/%{name}/Documentation
68 %{py_sitedir}/%{name}/Documentation/Source
This page took 0.083128 seconds and 3 git commands to generate.