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