You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.6 KiB
61 lines
1.6 KiB
14 years ago
|
# For Haskell Packaging Guidelines see:
|
||
|
# - https://fedoraproject.org/wiki/Packaging:Haskell
|
||
|
# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||
|
|
||
|
%global pkg_name strict
|
||
|
|
||
|
# common part of summary for all the subpackages
|
||
|
%global common_summary Haskell library providing strict data types
|
||
|
|
||
|
# main description used for all the subpackages
|
||
|
%global common_description This package provides strict versions of some \
|
||
|
standard Haskell data types (pairs, Maybe and Either).\
|
||
|
It also contains strict IO operations.
|
||
|
|
||
|
Name: ghc-%{pkg_name}
|
||
|
Version: 0.3.2
|
||
|
Release: 2%{?dist}
|
||
|
Summary: %{common_summary}
|
||
|
|
||
|
Group: System Environment/Libraries
|
||
|
License: BSD
|
||
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||
|
ExclusiveArch: %{ghc_arches}
|
||
|
BuildRequires: ghc-Cabal-devel
|
||
|
# macros for building haskell packages
|
||
|
BuildRequires: ghc-rpm-macros
|
||
|
BuildRequires: hscolour
|
||
|
|
||
|
|
||
|
%description
|
||
|
%{common_description}
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %{pkg_name}-%{version}
|
||
|
|
||
|
|
||
|
%build
|
||
|
%ghc_lib_build
|
||
|
|
||
|
|
||
|
%install
|
||
|
%ghc_lib_install
|
||
|
|
||
|
|
||
|
# define the shared, devel and prof subpkgs, devel scripts,
|
||
|
# and filelists: ghc-strict.files, ghc-strict-devel.files
|
||
|
%ghc_lib_package
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* Tue Jun 14 2011 Lakshmi Narasimhan T V <lakshminaras2002@gmail.com> - 0.3.2-2
|
||
|
- Upgrade to cabal2spec-0.22.7
|
||
|
|
||
|
* Tue Apr 12 2011 Lakshmi Narasimhan T V <lakshminaras2002@gmail.com> - 0.3.2-1
|
||
|
- License is BSD.
|
||
|
|
||
|
* Tue Apr 12 2011 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 0.3.2-0
|
||
|
- initial packaging for Fedora automatically generated by cabal2spec-0.22.5
|