ghc-temporary/ghc-temporary.spec

62 lines
1.3 KiB
RPMSpec

# cabal2spec-0.25.2
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name temporary
%global common_summary Haskell %{pkg_name} library
%global common_description A %{pkg_name} library for Haskell.
Name: ghc-%{pkg_name}
Version: 1.1.2.3
Release: 0
Summary: %{common_summary}
Group: System/Libraries
License: BSD-3-Clause
# BEGIN cabal2spec
URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
ExclusiveArch: %{ix86} x86_64 %{ghc_arches}
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
# END cabal2spec
BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
%if %{defined sles_version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%endif
%description
%{common_description}
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build
%install
%ghc_lib_install
%ghc_devel_package
%ghc_devel_description
%ghc_devel_post_postun
%ghc_files
%changelog
* Mon Mar 12 2012 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org>
- spec file template generated by cabal2spec-0.25.2