]> git.pld-linux.org Git - packages/baci.git/blame - baci.spec
- tabs in preamble
[packages/baci.git] / baci.spec
CommitLineData
6faa01cc 1%define _date 20051027
ead3cbce 2Summary: BenAri Concurrent Interpreter
09574d73 3Summary(pl.UTF-8): Współbieżny interpreter BACI
ead3cbce 4Name: baci
db5ab48b 5Version: 1.0.%{_date}
5195eb0c 6Release: 1
9bd92417 7License: Freeware
ead3cbce 8Group: Development/Languages
ff05834e 9Source0: http://www.mines.edu/fs_home/tcamp/baci/%{name}src.tar.gz
674702dd 10# Source0-md5: 14e0500bf7079a17664469ecead8bb4f
6faa01cc 11Patch0: %{name}-20051026.patch
12Patch1: %{name}-%{_date}.patch
13Patch2: %{name}-amd64.patch
4cee4d5a 14BuildRequires: bison
ead3cbce 15BuildRequires: flex
16BuildRequires: tk-devel
ff05834e 17URL: http://www.mines.edu/fs_home/tcamp/baci/
ead3cbce 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21BenAri Concurrent Pascal PCODE Interpreter & Compiler.
22
7e65ddf8
JR
23%description -l pl.UTF-8
24Kompilator i interpreter języka BACI.
ead3cbce 25
26%prep
27%setup -q -n %{name}src
674702dd 28%patch0 -p1
db5ab48b 29%patch1 -p1
6faa01cc 30%if "%{_lib}" == "lib64"
31%patch2 -p1
04aadb27 32%endif
ead3cbce 33
34%build
6faa01cc 35for i in lib disasm ccomp pascomp ar ld; do
2b5091e5
JB
36 %{__make} -C $i \
37 CFLAGS="%{rpmcflags}"
ead3cbce 38done
39%{__make} -C interp gui std
40
41%install
42rm -rf $RPM_BUILD_ROOT
43install -d $RPM_BUILD_ROOT%{_bindir}
c8b82734 44
6faa01cc 45install ccomp/bacc disasm/badis pascomp/bapas interp/{bainterp,bagui} \
46 ar/baar ld/bald $RPM_BUILD_ROOT%{_bindir}
ead3cbce 47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
53%attr(755,root,root) %{_bindir}/*
This page took 0.079804 seconds and 4 git commands to generate.