]> git.pld-linux.org Git - packages/baci.git/blob - baci.spec
- minor License unifications
[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:        7
6 License:        Freeware
7 Group:          Development/Languages
8 Source0:        http://www.mines.edu/fs_home/tcamp/baci/%{name}src.tar.gz
9 # Source0-md5:  14e0500bf7079a17664469ecead8bb4f
10 # Source0-size: 270644
11 Patch0:         %{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 %ifarch amd64
27 %patch0 -p1
28 %endif
29
30 %build
31 for i in lib pascomp disasm ccomp; do
32         make -C $i CFLAGS="%{rpmcflags}"
33 done
34 %{__make} -C interp gui std
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{_bindir}
39
40 install ccomp/bacc disasm/badis pascomp/bapas interp/{bainterp,bagui} $RPM_BUILD_ROOT%{_bindir}
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %attr(755,root,root) %{_bindir}/*
This page took 0.136416 seconds and 3 git commands to generate.