2 %define _plug_name epic
3 %define _rel_ver 0.6.13
4 %define _rel_date 20070808
6 Summary: EPIC - Eclipse Perl Integration
7 Summary(pl.UTF-8): EPIC - wtyczka do środowiska Eclipse ułatwiająca programowanie w Perlu
8 Name: eclipse-plugin-%{_plug_name}
12 Group: Development/Languages
13 Source0: http://dl.sourceforge.net/e-p-i-c/org.%{_plug_name}.updatesite_%{version}_%{_rel_date}.zip
14 # Source0-md5: 8f1d7fa06c276084bba71ca4187e86f1
15 URL: http://www.epic-ide.org/
17 Requires: eclipse >= 3.1
18 ExclusiveArch: %{ix86} ppc ia64
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _eclipse_arch %(echo %{_target_cpu} | sed 's/i.86/x86/;s/athlon/x86/;s/pentium./x86/')
22 %define _eclipsedir %{_libdir}/eclipse
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.
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
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{_eclipsedir}/{features,plugins}
45 cp -r org.epic.updatesite/plugins/* $RPM_BUILD_ROOT%{_eclipsedir}/plugins
46 cp -r org.epic.updatesite/features/* $RPM_BUILD_ROOT%{_eclipsedir}/features
49 rm -rf $RPM_BUILD_ROOT
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