]> git.pld-linux.org Git - packages/baci.git/blob - baci.spec
- added BR: bison
[packages/baci.git] / baci.spec
1 Summary:        BenAri Concurrent Interpreter
2 Summary(pl):    Wspó³bie¿ny interpreter BACI
3 Name:           baci
4 Version:        1.0
5 Release:        5
6 License:        freeware
7 Group:          Development/Languages
8 Source0:        http://www.mines.edu/fs_home/tcamp/baci/%{name}src.tar.gz
9 # Source0-md5:  c1b4f0f555cf0aa8da3bed614b1aa8e3
10 Patch0:         %{name}-bapascal.patch
11 Patch1:         %{name}-amd64.patch
12 BuildRequires:  bison
13 BuildRequires:  flex
14 BuildRequires:  tk-devel
15 URL:            http://www.mines.edu/fs_home/tcamp/baci/
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 BenAri Concurrent Pascal PCODE Interpreter & Compiler.
20
21 %description -l pl
22 Kompilator i interpreter jêzyka BACI.
23
24 %prep
25 %setup -q -n %{name}src
26 %patch0
27 %ifarch amd64
28 %patch1 -p1
29 %endif
30
31 %build
32 for i in lib pascomp disasm ccomp; do
33         make -C $i CFLAGS="%{rpmcflags}"
34 done
35 %{__make} -C interp gui std
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{_bindir}
40
41 install ccomp/bacc disasm/badis pascomp/bapas interp/{bainterp,bagui} $RPM_BUILD_ROOT%{_bindir}
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %attr(755,root,root) %{_bindir}/*
This page took 0.161265 seconds and 3 git commands to generate.