1 Summary: A lexical analyser generator for Haskell
5 License: BSD-like w/o adv. clause
6 Group: Development/Tools
7 Source0: http://www.haskell.org/alex/dist/%{name}-%{version}-src.tar.bz2
8 # Source0-md5: 14ff6abf21d81763b15afe151add9091
9 URL: http://www.haskell.org/alex/
10 BuildRequires: ghc >= 5.04
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 Alex is a tool for generating lexical analysers in Haskell,
15 given a description of the tokens to be recognised in the form
16 of regular expressions.
17 It is similar to the tool lex or flex for C/C++.
23 # if ac/am/* rebuilding is necessary, do it in this order and add
24 # appropriate BuildRequires
34 rm -rf $RPM_BUILD_ROOT
35 # create directories if necessary
36 #install -d $RPM_BUILD_ROOT
39 DESTDIR=$RPM_BUILD_ROOT
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
46 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
47 %attr(755,root,root) %{_bindir}/*