summaryrefslogtreecommitdiff
path: root/packaging/bison.spec
blob: 667d325949b8b9eeefc7705e91ea3465225533f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Name:           bison
BuildRequires:  gcc-c++
Version:        2.6
Release:        0
Summary:        The GNU Parser Generator
License:        GPL-3.0+
Group:          Development/Languages/C and C++
Url:            http://www.gnu.org/software/bison/bison.html
Source:         bison-%{version}.tar.xz
Source2:        baselibs.conf
Requires:       m4

%description
Bison is a parser generator similar to yacc(1).

%prep
%setup -q

%build
%configure --disable-nls
make %{?_smp_mflags}

%check
make %{?_smp_mflags} check

%install
%make_install

%files 
%dir %{_datadir}/aclocal
%{_bindir}/bison
%{_bindir}/yacc
%{_libdir}/liby.a
%{_datadir}/bison
%dir %{_datadir}/aclocal
%{_datadir}/aclocal/bison-i18n.m4
%doc %{_infodir}/bison.info*.gz
%doc %{_mandir}/man1/bison.1.gz
%doc %{_mandir}/man1/yacc.1.gz