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