]>
Commit | Line | Data |
---|---|---|
a0b86859 | 1 | %define _snap 20061222 |
b847dec4 | 2 | Summary: Eric4 - a full featured Python IDE |
754089d9 | 3 | Summary(pl.UTF-8): Eric4 - pełnowartościowe IDE dla Pythona |
a0b86859 KK |
4 | Name: eric4 |
5 | Version: 4.0 | |
6 | Release: 0.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: 04a4b2a1193427fba18a779c070683ed | |
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 | ||
754089d9 JR |
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. | |
a0b86859 KK |
26 | |
27 | %package doc | |
28 | Summary: Documentation for Eric4 | |
754089d9 | 29 | Summary(pl.UTF-8): Dodatkowa dokumentacja dla Eric4 |
a0b86859 KK |
30 | Group: X11/Development/Tools |
31 | Requires: %{name} = %{version}-%{release} | |
32 | ||
33 | %description doc | |
34 | Documentation for Eric4. | |
35 | ||
754089d9 | 36 | %description doc -l pl.UTF-8 |
a0b86859 KK |
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 |