This commit is contained in:
Jens Petersen 2011-10-28 10:59:41 +09:00
parent 919ff546e9
commit f12af5fa48
3 changed files with 58 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/random-1.0.0.3.tar.gz

56
ghc-random.spec Normal file
View File

@ -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

View File

@ -0,0 +1 @@
d6c1343438092e74fb07d439c64395c4 random-1.0.0.3.tar.gz