]> git.pld-linux.org Git - packages/eric4.git/blob - eric4.spec
- up to 20070218 snapshot
[packages/eric4.git] / eric4.spec
1 %define         _snap   20070218
2 Summary:        Eric4 - a full featured Python IDE
3 Summary(pl.UTF-8):      Eric4 - pełnowartościowe IDE dla Pythona
4 Name:           eric4
5 Version:        4.0
6 Release:        0.%{_snap}.1
7 License:        GPL
8 Group:          X11/Development/Tools
9 Source0:        http://www.die-offenbachs.de/detlev/snapshots4/%{name}-snapshot-%{_snap}.tar.gz
10 # Source0-md5:  b75f4bd5dd9a1e4015c0b02fbb83237c
11 URL:            http://www.die-offenbachs.de/detlev/eric.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 -n %{name}-snapshot-%{_snap}
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
47 %py_comp $RPM_BUILD_ROOT%{py_sitedir}/*
48 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}/*
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 # NOTE: eric4 uses *.py files for it's own purposes
54 # so do not remove them from package
55 %files
56 %defattr(644,root,root,755)
57 %doc ChangeLog README* THANKS
58 %attr(755,root,root) %{_bindir}/*
59 %{py_sitedir}/eric4config.py
60 %{py_sitedir}/%{name}
61 %exclude %{py_sitedir}/%{name}/Documentation
62
63 %files doc
64 %defattr(644,root,root,755)
65 %dir %{py_sitedir}/%{name}/Documentation
66 %{py_sitedir}/%{name}/Documentation/Source
This page took 0.077234 seconds and 4 git commands to generate.