2012-01-12 16:23:29 +01:00
|
|
|
# For Haskell Packaging Guidelines see:
|
|
|
|
# - https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
|
|
|
|
# Copyright (c) 2012 Peter Trommler peter.trommler@ohm-hochschule.de
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
Name: alex
|
|
|
|
Version: 2.3.5
|
|
|
|
Release: 0
|
|
|
|
Summary: Tool for generating lexical analysers in Haskell
|
|
|
|
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
License: BSD3
|
|
|
|
# BEGIN cabal2spec
|
|
|
|
URL: http://hackage.haskell.org/package/%{name}
|
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
ExclusiveArch: %{ix86} x86_64 %{ghc_arches}
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
# END cabal2spec
|
|
|
|
# list ghc-*-devel dependencies:
|
|
|
|
BuildRequires: ghc-QuickCheck-devel
|
2006-09-05 22:45:56 +02:00
|
|
|
|
|
|
|
%description
|
2012-01-12 16:23:29 +01:00
|
|
|
Tool for generating lexical analysers in Haskell similar to lex
|
2006-09-05 22:45:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2008-12-04 19:33:24 +01:00
|
|
|
%setup -q
|
2006-09-05 22:45:56 +02:00
|
|
|
|
2009-02-28 14:10:17 +01:00
|
|
|
|
2006-09-05 22:45:56 +02:00
|
|
|
%build
|
2012-01-12 16:23:29 +01:00
|
|
|
#%%define cabal_configure_options -f "opt1 -opt2 ..."
|
|
|
|
%ghc_bin_build
|
2006-09-05 22:45:56 +02:00
|
|
|
|
2009-02-28 14:10:17 +01:00
|
|
|
|
2012-01-12 16:23:29 +01:00
|
|
|
%install
|
|
|
|
%ghc_bin_install
|
2009-02-28 14:10:17 +01:00
|
|
|
|
2006-09-05 22:45:56 +02:00
|
|
|
%files
|
2012-01-12 16:23:29 +01:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc LICENSE
|
|
|
|
%attr(755,root,root) %{_bindir}/%{name}
|
2009-02-28 14:10:17 +01:00
|
|
|
%{_datadir}/%{name}-%{version}
|
|
|
|
|
2006-09-05 22:45:56 +02:00
|
|
|
|
|
|
|
%changelog
|
2012-01-12 16:23:29 +01:00
|
|
|
* Sat Oct 8 2011 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 3.0.1-0
|
|
|
|
- initial packaging for Fedora automatically generated by cabal2spec-0.24.1
|