import (#727410)
parent
919ff546e9
commit
f12af5fa48
@ -0,0 +1 @@
|
||||
/random-1.0.0.3.tar.gz
|
@ -0,0 +1,56 @@
|
||||
# For Haskell Packaging Guidelines see:
|
||||
# - https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||
|
||||
%global pkg_name random
|
||||
|
||||
# common part of summary for all the subpackages
|
||||
%global common_summary Haskell random number library
|
||||
|
||||
# main description used for all the subpackages
|
||||
%global common_description A random number library for Haskell.
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 1.0.0.3
|
||||
Release: 27%{?dist}
|
||||
Summary: %{common_summary}
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: BSD and HaskellReport
|
||||
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
|
||||
BuildRequires: ghc-time-devel
|
||||
|
||||
%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-random.files, ghc-random-devel.files
|
||||
%ghc_lib_package
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Aug 2 2011 Jens Petersen <petersen@redhat.com> - 1.0.0.3-27
|
||||
- new package previously part of ghc
|
||||
- license is BSD and Haskell Report
|
||||
|
||||
* Tue Aug 2 2011 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 1.0.0.3-0
|
||||
- initial packaging for Fedora automatically generated by cabal2spec-0.23.2
|
Loading…
Reference in new issue