%global pkg_name ForSyDe %global common_summary Haskell %{pkg_name} library %global common_description A %{pkg_name} library for Haskell. Name: ghc-%{pkg_name} Version: 3.1.1 Release: 5%{?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} # no template-haskell on ppc64 ExcludeArch: ppc64 BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: hscolour BuildRequires: ghc-parameterized-data-prof BuildRequires: ghc-random-prof BuildRequires: ghc-regex-posix-prof BuildRequires: ghc-type-level-prof BuildRequires: ghc-mtl-prof %description %{common_description} %prep %setup -q -n %{pkg_name}-%{version} %build %ghc_lib_build %install %ghc_lib_install %ghc_lib_package %files %defattr(-,root,root,-) %dir %{_datadir}/%{pkg_name}-%{version} %{_datadir}/%{pkg_name}-%{version}/lib/forsyde.vhd %changelog * Thu Jun 23 2011 Jens Petersen <petersen@redhat.com> - 3.1.1-5 - BR ghc-Cabal-devel and use ghc_arches (cabal2spec-0.23.2) * Mon Mar 14 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 3.1.1-4 - Enable build on sparcv9. * Sat Mar 05 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 3.1.1-3 - Added forsyde.vhd to base-package. * Sat Feb 27 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 3.1.1-2 - Added ghc-mtl dependency to BuildRequires. * Mon Feb 21 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 3.1.1-1 - Added BSD3 license. - Added extra data files for devel.files. - Initial packaging for Fedora automatically generated by cabal2spec-0.22.4.