File cabal-install.spec of Package cabal-install
# 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: cabal-install
Version: 0.14.0
Release: 1
Summary: Command-line program to manage Haskell software
Group: Development/Languages/Other
License: BSD-3-Clause
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# 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
BuildRequires: ghc-array-devel
BuildRequires: ghc-bytestring-devel
Buildrequires: ghc-containers-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-HTTP-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-network-devel
BuildRequires: ghc-old-time-devel
BuildRequires: ghc-pretty-devel
BuildRequires: ghc-process-devel
BuildRequires: ghc-random-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-unix-devel
BuildRequires: ghc-zlib-devel
# END cabal2spec
%description
Command-line program to manage Haskell software by automating the fetching,
configuration, compilation, and installation of Haskell libraries and programs
%prep
%setup -q
%build
#%%define cabal_configure_options -f "opt1 -opt2 ..."
%ghc_bin_build
%install
%ghc_bin_install
%files
%defattr(-,root,root,-)
%doc LICENSE
%attr(755,root,root) %{_bindir}/cabal
%changelog
* Tue Nov 1 2011 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 0.10.2-0
- initial packaging for Fedora automatically generated by cabal2spec-0.24.1