]> git.pld-linux.org Git - packages/bison++.git/blame - bison++.spec
- initial pld release
[packages/bison++.git] / bison++.spec
CommitLineData
4768c311
AM
1Summary: Generate a parser in c or c++ from BNF notation
2Name: bison++
3Version: 1.21.5
4Release: 1
5License: GPL
6Group: Development/Tools
7Source0: ftp://ftp.iecc.com/pub/file/bison++flex++/b++5.tar.z
8# Source0-md5: 482ba52685d2d91bd708a952a1a6e143
9BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
10
11%description
12Based on bison version 1.19. Compatible with bison but with C++ support.
13Bison is a general-purpose parser generator that converts a grammar
14description for an LALR (BNF-like) context free grammar into a C/C++ program
15to parse that grammar. Once you are proficient with bison++ you can generate
16a wide range of language parsers, from those used in simple desk calculators
17to complex programming languages.
18
19%prep
20%setup -q -c
21
22%build
23%configure
24
25%{__make} \
26 CC="%{__cc}"
27
28%install
29rm -rf $RPM_BUILD_ROOT
30install -d $RPM_BUILD_ROOT%{_mandir}/pl/man1
31
32%{makeinstall} \
33 mandir=$RPM_BUILD_ROOT%{_mandir}/man1 \
34 datadir=$RPM_BUILD_ROOT%{_datadir}/%{name}
35
36%clean
37rm -rf $RPM_BUILD_ROOT
38
39%files
40%defattr(644,root,root,755)
41%doc REFERENCES ChangeLog
42%attr(755,root,root) %{_bindir}/bison++
43%{_datadir}/%{name}
44%{_mandir}/man?/*
This page took 0.049491 seconds and 4 git commands to generate.