]>
Commit | Line | Data |
---|---|---|
3c09e2a8 AM |
1 | # TODO: |
2 | # - PLDize | |
3 | # - fix paths in installed files | |
3c09e2a8 AM |
4 | %define buildrev 278227 |
5 | Summary: Editor for dynamic languages including Perl, PHP, Python, Ruby and Tcl | |
d1e9e59d | 6 | Summary(pl.UTF-8): Edytor dla języków dynamicznych takich jak Perl, PHP, Python, Ruby czy Tcl |
3c09e2a8 AM |
7 | Name: Komodo-Edit |
8 | Version: 4.0.3 | |
795efc8c | 9 | Release: 0.2 |
3c09e2a8 AM |
10 | License: custom |
11 | Group: X11/Applications/Editors | |
12 | Source0: http://downloads.activestate.com/Komodo/Linux/4.0/%{name}-%{version}-%{buildrev}-linux-libcpp6-x86.tar.gz | |
13 | # Source0-md5: f754fa658a53ebac13b30438e84d99c0 | |
14 | URL: http://www.activestate.com/products/komodo_edit/ | |
15 | ExclusiveArch: %{ix86} | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
a1e22b1a ER |
18 | # it says and fails: BFD: kotcllint: warning: Empty loadable segment detected, is this intentional ? |
19 | %define _noautostrip .*/kotcllint | |
20 | ||
795efc8c ER |
21 | # firefox/thunderbird/seamonkey/komodo-edit provide their own versions |
22 | %define _noautoreqdep libxpcom_compat.so libxpcom_core.so | |
23 | %define _noautoprovfiles %{_libdir}/%{name}/components | |
24 | # we don't want these to satisfy xulrunner-devel | |
25 | %define _noautoprov libmozjs.so libxpcom.so libxul.so | |
26 | # and as we don't provide them, don't require either | |
27 | %define _noautoreq libmozjs.so libxpcom.so libxul.so | |
28 | ||
3c09e2a8 AM |
29 | %description |
30 | Award-winning editing for dynamic languages including Perl, PHP, | |
31 | Python, Ruby and Tcl; plus support for browser-side code including | |
32 | JavaScript, CSS, HTML and XML. | |
33 | ||
34 | Background syntax checking and syntax coloring catch errors | |
35 | immediately, while autocomplete and calltips guide you as you write. | |
36 | Available on Linux, Mac OS X and Windows. | |
37 | ||
d1e9e59d JB |
38 | %description -l pl.UTF-8 |
39 | Zdobywający nagrody edytor dla języków dynamicznych, takich jak Perl, | |
40 | PHP, Python, Ruby czy Tcl; zawiera obsługę dla kodu po stronie | |
41 | przeglądarki wraz z JavaScriptem, CSS-em, HTML-em i XML-em. | |
42 | ||
43 | Sprawdzanie składni w tle i jej kolorowanie pozwala natychmiast | |
44 | wyłapać błędy, a automatyczne dopełnianie i podpowiadanie wywołań | |
45 | prowadzi programistę w trakcie pisania. Edytor dostępny jest dla | |
46 | Linuksa, MacOS X i Windows. | |
47 | ||
3c09e2a8 AM |
48 | %prep |
49 | %setup -q -n %{name}-%{version}-%{buildrev}-linux-libcpp6-x86 | |
50 | ||
3c09e2a8 AM |
51 | %install |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | sh install.sh \ | |
a1e22b1a | 55 | --install-dir $RPM_BUILD_ROOT%{_prefix} |
3c09e2a8 AM |
56 | |
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %files | |
61 | %defattr(644,root,root,755) | |
62 | %doc *.txt | |
63 | %attr(755,root,root) %{_bindir}/* | |
d1e9e59d | 64 | # XXX: FIXME |
3c09e2a8 | 65 | %attr(-,root,root) %{_libdir}/* |
d1e9e59d JB |
66 | #%{_desktopdir}/* |
67 | # XXX: too many dirs? | |
68 | %{_iconsdir}/* |