1 #specfile originally created for Fedora, modified for Moblin Linux
2 %define byaccdate 20091027
4 Summary: Berkeley Yacc, a parser generator
6 Version: 1.9.%{byaccdate}
9 Group: Development/Tools
10 URL: http://invisible-island.net/byacc/byacc.html
11 Source: %{name}-%{version}.tar.bz2
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15 Byacc (Berkeley Yacc) is a public domain LALR parser generator which
16 is used by many programs during their build process.
18 If you are going to do development on your system, you will want to install
22 %setup -q -n %{name}-%{version}
25 %configure --disable-dependency-tracking
29 rm -rf $RPM_BUILD_ROOT
30 make DESTDIR=$RPM_BUILD_ROOT install
31 ln -s yacc $RPM_BUILD_ROOT/%{_bindir}/byacc
32 ln -s yacc.1 $RPM_BUILD_ROOT/%{_mandir}/man1/byacc.1
35 echo ====================TESTING=========================
37 echo ====================TESTING END=====================
40 rm -rf $RPM_BUILD_ROOT
43 %doc ACKNOWLEDGEMENTS CHANGES NEW_FEATURES NOTES NO_WARRANTY README
44 %defattr(-,root,root,-)
47 %{_mandir}/man1/yacc.1*
48 %{_mandir}/man1/byacc.1*