]> git.pld-linux.org Git - packages/bison++.git/commitdiff
- initial pld release
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 7 Jul 2004 20:48:55 +0000 (20:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bison++.spec -> 1.1

bison++.spec [new file with mode: 0644]

diff --git a/bison++.spec b/bison++.spec
new file mode 100644 (file)
index 0000000..cef4a72
--- /dev/null
@@ -0,0 +1,44 @@
+Summary:       Generate a parser in c or c++ from BNF notation
+Name:          bison++
+Version:       1.21.5
+Release:       1
+License:       GPL
+Group:         Development/Tools
+Source0:       ftp://ftp.iecc.com/pub/file/bison++flex++/b++5.tar.z
+# Source0-md5: 482ba52685d2d91bd708a952a1a6e143
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Based on bison version 1.19. Compatible with bison but with C++ support.
+Bison is a general-purpose parser generator that converts a grammar
+description for an LALR (BNF-like) context free grammar into a C/C++ program
+to parse that grammar. Once you are proficient with bison++ you can generate
+a wide range of language parsers, from those used in simple desk calculators
+to complex programming languages.
+
+%prep
+%setup -q -c
+
+%build
+%configure
+
+%{__make} \
+       CC="%{__cc}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_mandir}/pl/man1
+
+%{makeinstall} \
+       mandir=$RPM_BUILD_ROOT%{_mandir}/man1 \
+       datadir=$RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc REFERENCES ChangeLog
+%attr(755,root,root) %{_bindir}/bison++
+%{_datadir}/%{name}
+%{_mandir}/man?/*
This page took 0.061456 seconds and 4 git commands to generate.