- build with new macros

- update urls to point to hackage
epel9
Jens Petersen 16 years ago
parent d300b0b25d
commit 26674aafdb

@ -1,14 +1,17 @@
# ghc does not emit debug information
%define debug_package %{nil}
Name: alex Name: alex
Version: 2.3 Version: 2.3
Release: 1%{?dist} Release: 2%{?dist}
Summary: The lexer generator for Haskell Summary: The lexer generator for Haskell
Group: Development/Tools Group: Development/Tools
License: BSD License: BSD
URL: http://haskell.org/alex/ URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/alex
Source: http://haskell.org/alex/dist/%{version}/alex-%{version}.tar.gz Source: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExcludeArch: alpha ppc64 ExclusiveArch: i386 x86_64 ppc
BuildRequires: autoconf ghc docbook-style-xsl libxslt BuildRequires: autoconf ghc docbook-style-xsl libxslt
@ -23,17 +26,19 @@ expressions. It is similar to the tool lex or flex for C/C++.
%build %build
runhaskell Setup.lhs configure --prefix=%{_prefix} --libdir=%{_libdir} %cabal_configure
runhaskell Setup.lhs build %cabal_build
cd doc
pushd doc
autoreconf autoreconf
./configure --prefix=%{_prefix} --libdir=%{_libdir} ./configure --prefix=%{_prefix} --libdir=%{_libdir}
make html make html
popd
%install %install
rm -rf ${RPM_BUILD_ROOT} rm -rf ${RPM_BUILD_ROOT}
runhaskell Setup.lhs copy --destdir=${RPM_BUILD_ROOT} %cabal_install
%clean %clean
@ -48,6 +53,10 @@ rm -rf ${RPM_BUILD_ROOT}
%changelog %changelog
* Tue Nov 25 2008 Jens Petersen <petersen@redhat.com> - 2.3-2
- build with new macros
- update urls to point to hackage
* Mon Oct 13 2008 Bryan O'Sullivan <bos@serpentine.com> - 2.3-1 * Mon Oct 13 2008 Bryan O'Sullivan <bos@serpentine.com> - 2.3-1
- Update to 2.3 - Update to 2.3

Loading…
Cancel
Save