epel9
Jens Petersen 11 years ago
parent 88c3135fba
commit 7c0e515e2c

1
.gitignore vendored

@ -2,3 +2,4 @@ alex-2.3.3.tar.gz
/alex-2.3.4.tar.gz
/alex-2.3.5.tar.gz
/alex-3.0.1.tar.gz
/alex-3.0.5.tar.gz

@ -1,27 +1,36 @@
# https://fedoraproject.org/wiki/Packaging:Haskell
Name: alex
# part of haskell-platform
Version: 3.0.1
Release: 3%{?dist}
Summary: A lexer generator for Haskell
Version: 3.0.5
Release: 34%{?dist}
Summary: Tool for generating lexical analysers in Haskell
Group: Development/Tools
License: BSD
URL: http://hackage.haskell.org/package/%{name}
Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz
ExclusiveArch: %{ghc_arches}
Source0: http://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
Patch1: alex-ghc74-fix-bang-pattern.patch
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: autoconf docbook-style-xsl libxslt
# Begin cabal-rpm deps:
BuildRequires: ghc-QuickCheck-devel
Patch1: alex-ghc74-fix-bang-pattern.patch
BuildRequires: ghc-array-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-directory-devel
# End cabal-rpm deps
BuildRequires: autoconf
BuildRequires: docbook-style-xsl
BuildRequires: libxslt
%ifarch ppc ppc64
BuildRequires: alex
%endif
%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++.
Alex is a tool for generating lexical analysers in Haskell. It takes a
description of tokens based on regular expressions and generates a Haskell
module containing code for scanning text efficiently. It is similar to the tool
lex or flex for C/C++.
%prep
@ -52,6 +61,10 @@ cd ..
%changelog
* Fri Apr 11 2014 Jens Petersen <petersen@redhat.com> - 3.0.5-34
- split out of haskell-platform
- update to 3.0.5
* Wed Jun 6 2012 Jens Petersen <petersen@redhat.com> - 3.0.1-3
- BR alex on ppc archs!
- also apply bang pattern patch on ppc64
@ -174,7 +187,7 @@ cd ..
* Sun Jul 22 2007 Bryan O'Sullivan <bos@serpentine.com> - 2.1.0-3
- apply a few cleanups from Jens Petersen
* Tue Apr 26 2007 Bryan O'Sullivan <bos@serpentine.com> - 2.1.0-2
* Thu Apr 26 2007 Bryan O'Sullivan <bos@serpentine.com> - 2.1.0-2
- fix a few style issues
* Fri Jan 19 2007 Bryan O'Sullivan <bos@serpentine.com> - 2.1.0-1

@ -1 +1 @@
5dec239c89165d159faa2154bc0724cd alex-3.0.1.tar.gz
018f9817cd3c094294c8ab83e530c1c8 alex-3.0.5.tar.gz

Loading…
Cancel
Save