1 Summary: C language interpreter
2 Summary(pl.UTF-8): Interpreter języka C
7 License: Artistic (generally free)
8 Group: Development/Languages
9 Source0: http://www.kd-dev.com/~eic/download/eicdist/%{dir}/EiCsrc_%{version}.tgz
10 # Source0-md5: 4d026568a86f7672bc1417e391c14488
12 Patch0: %{name}-make.patch
13 URL: http://www.kd-dev.com/~eic/
14 BuildRequires: tetex-latex
15 BuildRequires: tetex-dvips
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 EiC is a freely available C language interpreter in both source and
20 binary form. EiC allows you to write C programs, and then "execute"
21 them as if they were a script (like a Perl script or a shell script).
22 You can even embed EiC in your own programs, allowing your application
23 to have a "scripting" language that is syntactically equivalent to C.
24 It is also possible to let an EiC "script" call compiled library code
25 and for compiled code to make callbacks to EiC user defined functions.
27 %description -l pl.UTF-8
28 EiC jest darmowym, ogólnodostępnym interpreterem języka C zarówno w
29 formie źródłowej jak i binarnej. EiC pozwala na pisanie programów w C,
30 a następnie ich "wykonywanie" tak jakby były skryptami (takimi samymi
31 jak skrypty Perla czy powłoki). Możesz nawet włączyć obsługę języka
32 skryptowego syntaktycznie zgodnego z C do swoich programów.
35 Summary: Static eic library for embedding
36 Summary(pl.UTF-8): Biblioteka statyczna eic
37 Group: Development/Libraries
40 Static library that allows to embed EiC in your own programs, allowing
41 your application to have a "scripting" language that is syntactically
44 %description lib -l pl.UTF-8
45 Statyczne biblioteki pozwalające włączyć EiC do swoich własnych
46 programów dodając tym samym obsługę "języka skryptowego" syntaktycznie
52 touch module/link.libs
56 OPT="%{rpmcflags}" %{__make}
60 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}}
65 INSTALL_DIR="$RPM_BUILD_ROOT%{_bindir}"
67 install lib/*.a $RPM_BUILD_ROOT%{_libdir}
68 install %{SOURCE1} $RPM_BUILD_ROOT%{_includedir}
74 rm -rf $RPM_BUILD_ROOT
77 %defattr(644,root,root,755)
78 %doc *.html doc/EiC.ps
79 %attr(755,root,root) %{_bindir}/*
82 %defattr(644,root,root,755)
83 %doc main/README main/examples/embedEiC.c