2006-09-05 22:45:56 +02:00
|
|
|
|
Name: alex
|
|
|
|
|
Summary: The lexer generator for Haskell
|
2007-01-18 22:20:05 +01:00
|
|
|
|
Summary(de): Ein Lexer-Generator für Haskell
|
2007-11-15 09:29:48 +01:00
|
|
|
|
Version: 2.2
|
2006-09-05 22:45:56 +02:00
|
|
|
|
Release: 0
|
|
|
|
|
License: BSD w/o adv. clause
|
|
|
|
|
Group: Development/Languages/Haskell
|
|
|
|
|
Packager: Herbert Graeber <herbert@graeber-clan.de>
|
|
|
|
|
URL: http://www.haskell.org/alex/
|
2007-01-18 22:20:05 +01:00
|
|
|
|
Source: http://www.haskell.org/alex/dist/%{version}/alex-%{version}.tar.gz
|
2006-09-05 22:45:56 +02:00
|
|
|
|
BuildRequires: ghc
|
|
|
|
|
BuildRequires: libxslt
|
|
|
|
|
BuildRequires: sgml-skel
|
|
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
|
|
|
|
BuildRequires: docbook-utils
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
Prefix: /usr
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Alex is a tool for generating lexical analysers in Haskell, given a
|
|
|
|
|
description of the tokens to be recognised in the form of regular
|
|
|
|
|
expressions. It is similar to the tool 'lex' or 'flex' for C/C++.
|
|
|
|
|
|
|
|
|
|
%description -l de
|
|
|
|
|
Alex ist ein Tool zum Erzeugen von lexkialischen Analysatoren. Er erzeugt
|
2007-11-15 09:03:29 +01:00
|
|
|
|
aus eine Beschreibung von Symbolen durch regul<EFBFBD>re Ausdr<EFBFBD>cke ein
|
2006-09-05 22:45:56 +02:00
|
|
|
|
Haskell-Modul, das aus einem Text eine Folge von Symbolen erzeugt. Alex ist
|
2007-11-15 09:03:29 +01:00
|
|
|
|
ein vergleichbar mit 'lex' bzw. 'flex' f<EFBFBD>r C und C++.
|
2006-09-05 22:45:56 +02:00
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
Summary: Alex Documentation
|
|
|
|
|
Summary(de): Alex-Dokumentation
|
|
|
|
|
Group: Development/Languages/Haskell
|
|
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
|
This is the documentation for Alex, a lexical analyser generator for Haskell.
|
|
|
|
|
|
|
|
|
|
%description doc -l de
|
2007-11-15 09:03:29 +01:00
|
|
|
|
Dieses ist Dokumentation f<EFBFBD>r Alex.
|
2006-09-05 22:45:56 +02:00
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n alex-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
2007-01-18 22:20:05 +01:00
|
|
|
|
runhaskell Setup.lhs configure --prefix=%{_prefix} --libdir=%{_libdir} --datadir=%{_datadir} \
|
|
|
|
|
--libexecdir=%{_prefix}/lib
|
|
|
|
|
runhaskell Setup.lhs build
|
|
|
|
|
cd doc
|
2006-09-05 22:45:56 +02:00
|
|
|
|
test -f configure || autoreconf
|
2007-01-18 22:20:05 +01:00
|
|
|
|
./configure
|
2006-09-05 22:45:56 +02:00
|
|
|
|
make html
|
|
|
|
|
|
|
|
|
|
%install
|
2007-01-18 22:20:05 +01:00
|
|
|
|
runhaskell Setup.lhs copy --destdir=${RPM_BUILD_ROOT}
|
2006-09-05 22:45:56 +02:00
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr (-,root,root)
|
2007-01-18 22:29:36 +01:00
|
|
|
|
%doc ANNOUNCE
|
|
|
|
|
%doc LICENSE
|
|
|
|
|
%doc README
|
|
|
|
|
%doc TODO
|
2007-01-18 23:11:08 +01:00
|
|
|
|
%{_bindir}/alex
|
|
|
|
|
%{_datadir}/alex-%{version}
|
2006-09-05 22:45:56 +02:00
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
%defattr (-,root, root)
|
2007-01-18 22:29:36 +01:00
|
|
|
|
%doc examples
|
|
|
|
|
%doc doc/alex
|
2006-09-05 22:45:56 +02:00
|
|
|
|
|
|
|
|
|
%changelog
|
2007-11-15 09:03:29 +01:00
|
|
|
|
* Thu Nov 15 2007 Herbert Graeber <herbert@links2linux.de>
|
|
|
|
|
- Update to version 2.2.0
|
|
|
|
|
* Cabal 1.2 is now required.
|
|
|
|
|
* ByteString wrappers: use Alex to lex ByteStrings directly.
|
|
|
|
|
|
2007-01-18 22:20:05 +01:00
|
|
|
|
* Thu Jan 18 2007 Herbert Graeber <herbert@links2linux.de>
|
|
|
|
|
- Update to version 2.1.0
|
|
|
|
|
|
2006-09-06 14:35:39 +02:00
|
|
|
|
* Wed Sep 06 2006 Herbert Graeber <herbert@links2linux.de>
|
|
|
|
|
- Haddock isn't needed for build
|
|
|
|
|
|
2006-09-05 22:45:56 +02:00
|
|
|
|
* Mon Sep 04 2006 Herbert Graeber <herbert@links2linux.de>
|
|
|
|
|
- Use docbook-utils for html documentation
|
|
|
|
|
- Require sgml-skel for build
|
|
|
|
|
|
|
|
|
|
* Tue Aug 29 2006 - Herbert Graeber <herbert@links2linux.de>
|
|
|
|
|
- Disabled ps documentation (no fop without java)
|
|
|
|
|
|
|
|
|
|
* Mon Aug 28 2006 - Herbert Graeber <herbert@links2linux.de>
|
|
|
|
|
- Enabled full documentation build
|
|
|
|
|
|
|
|
|
|
* Mon Aug 28 2006 - Herbert Graeber <herbert@links2linux.de>
|
|
|
|
|
- Move to the SUSE Build Service
|
|
|
|
|
- Disabled extended documentation for the first build
|
|
|
|
|
|
|
|
|
|
* Thu Apr 20 2006 - Herbert Graeber <herbert@links2linux.de>
|
|
|
|
|
- Rebuild with GHC 6.4.2
|
|
|
|
|
|
|
|
|
|
* Wed Sep 21 2005 - Herbert Graeber <herbert@links2linux.de>
|
|
|
|
|
- Recompiled with ghc 6.4.1
|
|
|
|
|
|
|
|
|
|
* Wed Apr 20 2005 - Herbert Graeber <herbert@links2linux.de>
|
|
|
|
|
- Changes for x86_64
|
|
|
|
|
|
|
|
|
|
* Thu Apr 07 2005 - Herbert Graeber <herbert@links2linux.de>
|
|
|
|
|
- update to version 2.0.1 for ghc 6.4 compatibility
|