]> git.pld-linux.org Git - packages/alex.git/blob - alex.spec
- initial revision
[packages/alex.git] / alex.spec
1 Summary:        A lexical analyser generator for Haskell
2 Name:           alex
3 Version:        2.0
4 Release:        0.1
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)
12
13 %description
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++.
18
19 %prep
20 %setup -q
21
22 %build
23 # if ac/am/* rebuilding is necessary, do it in this order and add
24 # appropriate BuildRequires
25 #%{__gettextize}
26 #%{__aclocal}
27 #%{__autoconf}
28 #%{__autoheader}
29 #%{__automake}
30 %configure
31 %{__make}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 # create directories if necessary
36 #install -d $RPM_BUILD_ROOT
37
38 %{__make} install \
39         DESTDIR=$RPM_BUILD_ROOT
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
47 %attr(755,root,root) %{_bindir}/*
48 %{_datadir}/%{name}
This page took 0.039031 seconds and 4 git commands to generate.