]>
Commit | Line | Data |
---|---|---|
f42c1e47 MŁ |
1 | |
2 | %define _plug_name epic | |
3c841c23 | 3 | %define _rel_ver 0.6.13 |
4 | %define _rel_date 20070808 | |
f42c1e47 MŁ |
5 | |
6 | Summary: EPIC - Eclipse Perl Integration | |
3ac01668 | 7 | Summary(pl.UTF-8): EPIC - wtyczka do środowiska Eclipse ułatwiająca programowanie w Perlu |
f42c1e47 MŁ |
8 | Name: eclipse-plugin-%{_plug_name} |
9 | Version: %{_rel_ver} | |
419c221f | 10 | Release: 1 |
f42c1e47 MŁ |
11 | License: CPL v1.0 |
12 | Group: Development/Languages | |
13 | Source0: http://dl.sourceforge.net/e-p-i-c/org.%{_plug_name}.updatesite_%{version}_%{_rel_date}.zip | |
3c841c23 | 14 | # Source0-md5: 8f1d7fa06c276084bba71ca4187e86f1 |
15 | URL: http://www.epic-ide.org/ | |
f42c1e47 | 16 | BuildRequires: unzip |
419c221f | 17 | Requires: eclipse >= 3.1 |
f42c1e47 MŁ |
18 | ExclusiveArch: %{ix86} ppc ia64 |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %define _eclipse_arch %(echo %{_target_cpu} | sed 's/i.86/x86/;s/athlon/x86/;s/pentium./x86/') | |
22 | %define _eclipsedir %{_libdir}/eclipse | |
23 | ||
24 | %description | |
25 | EPIC is an opensource Perl IDE for the Eclipse platform. Features | |
26 | supported are syntax highlighting, on the fly syntax check, content | |
27 | assist, perldoc support, source formatter, templating support and a | |
28 | Perl debugger. A regular expression plugin and support for the eSpell | |
29 | spellchecker are also available. | |
30 | ||
775229b1 JR |
31 | %description -l pl.UTF-8 |
32 | EPIC to opensource'owe IDE dla Perla zbudowane na bazie środowiska | |
33 | Eclipse. Oferuje podświetlanie składni, sprawdzanie poprawności | |
34 | podczas pisania, wsparcie dla stosowania szablonów oraz debugger | |
35 | Perla. Zawiera także wtyczkę do obsługi wyrażeń regularnych oraz | |
d86bfd2e | 36 | wsparcie dla eSpella. |
f42c1e47 MŁ |
37 | |
38 | %prep | |
39 | %setup -q -c | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | install -d $RPM_BUILD_ROOT%{_eclipsedir}/{features,plugins} | |
44 | ||
d86bfd2e JB |
45 | cp -r org.epic.updatesite/plugins/* $RPM_BUILD_ROOT%{_eclipsedir}/plugins |
46 | cp -r org.epic.updatesite/features/* $RPM_BUILD_ROOT%{_eclipsedir}/features | |
f42c1e47 MŁ |
47 | |
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
53 | %dir %{_eclipsedir}/features | |
54 | %{_eclipsedir}/features/org.epic.*.jar | |
55 | %dir %{_eclipsedir}/plugins | |
56 | %{_eclipsedir}/plugins/org.epic.*.jar |