|
|
|
@ -7,17 +7,16 @@
|
|
|
|
|
Name: alex
|
|
|
|
|
# part of haskell-platform-2011.1.0.0 alpha
|
|
|
|
|
Version: 2.3.4
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: A lexer generator for 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
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
# fedora ghc archs:
|
|
|
|
|
ExclusiveArch: %{ix86} x86_64 ppc alpha
|
|
|
|
|
BuildRequires: ghc
|
|
|
|
|
BuildRequires: ghc, ghc-devel
|
|
|
|
|
BuildRequires: ghc-rpm-macros >= 0.7.0
|
|
|
|
|
BuildRequires: autoconf docbook-style-xsl libxslt
|
|
|
|
|
|
|
|
|
@ -42,14 +41,9 @@ cd ..
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%ghc_bin_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc ANNOUNCE LICENSE README TODO doc/alex examples
|
|
|
|
@ -58,6 +52,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Jan 15 2011 Jens Petersen <petersen@redhat.com> - 2.3.4-2
|
|
|
|
|
- update to cabal2spec-0.22.4
|
|
|
|
|
- BR ghc-devel
|
|
|
|
|
|
|
|
|
|
* Sun Dec 5 2010 Jens Petersen <petersen@redhat.com> - 2.3.4-1
|
|
|
|
|
- update to 2.3.4
|
|
|
|
|
|
|
|
|
|