|
|
@ -1,29 +1,27 @@
|
|
|
|
# For Haskell Packaging Guidelines see:
|
|
|
|
# cabal2spec-0.25
|
|
|
|
# - https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
|
|
|
|
|
|
|
|
%global pkg_name random
|
|
|
|
%global pkg_name random
|
|
|
|
|
|
|
|
|
|
|
|
# common part of summary for all the subpackages
|
|
|
|
|
|
|
|
%global common_summary Haskell random number library
|
|
|
|
%global common_summary Haskell random number library
|
|
|
|
|
|
|
|
|
|
|
|
# main description used for all the subpackages
|
|
|
|
|
|
|
|
%global common_description A random number library for Haskell.
|
|
|
|
%global common_description A random number library for Haskell.
|
|
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
Version: 1.0.0.3
|
|
|
|
Version: 1.0.1.1
|
|
|
|
Release: 28%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: %{common_summary}
|
|
|
|
Summary: %{common_summary}
|
|
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: BSD and HaskellReport
|
|
|
|
License: BSD and HaskellReport
|
|
|
|
|
|
|
|
# BEGIN cabal2spec
|
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
ExclusiveArch: %{ghc_arches}
|
|
|
|
ExclusiveArch: %{ghc_arches}
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
# macros for building haskell packages
|
|
|
|
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
# END cabal2spec
|
|
|
|
BuildRequires: hscolour
|
|
|
|
|
|
|
|
BuildRequires: ghc-time-devel
|
|
|
|
BuildRequires: ghc-time-devel
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -42,12 +40,23 @@ BuildRequires: ghc-time-devel
|
|
|
|
%ghc_lib_install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# define the shared, devel and prof subpkgs, devel scripts,
|
|
|
|
# devel subpackage
|
|
|
|
# and filelists: ghc-random.files, ghc-random-devel.files
|
|
|
|
%ghc_devel_package
|
|
|
|
%ghc_lib_package
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_description
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_post_postun
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_files LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Mar 18 2012 Jens Petersen <petersen@redhat.com> - 1.0.1.1-1
|
|
|
|
|
|
|
|
- update to 1.0.1.1
|
|
|
|
|
|
|
|
- update to cabal2spec-0.25
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0.3-28
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0.3-28
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|