Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
132 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# cabal2spec-0.25 | ||
# https://fedoraproject.org/wiki/Packaging:Haskell | ||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell | ||
|
||
%global pkg_name pureMD5 | ||
%global common_summary Haskell %{pkg_name} library | ||
%global common_description A %{pkg_name} library for Haskell. | ||
|
||
|
||
Name: ghc-%{pkg_name} | ||
Version: 2.1.0.3 | ||
Release: 1%{?dist} | ||
Summary: %{common_summary} | ||
Group: System Environment/Libraries | ||
License: BSD | ||
# BEGIN cabal2spec | ||
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 | ||
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} | ||
# END cabal2spec | ||
BuildRequires: ghc-base-devel | ||
BuildRequires: ghc-binary-devel | ||
BuildRequires: ghc-bytestring-devel | ||
BuildRequires: ghc-cereal-devel | ||
BuildRequires: ghc-crypto-api-devel | ||
BuildRequires: ghc-tagged-devel | ||
|
||
|
||
%description | ||
%{common_description} | ||
|
||
|
||
%prep | ||
%setup -q -n %{pkg_name}-%{version} | ||
|
||
|
||
%build | ||
%ghc_lib_build | ||
|
||
|
||
%install | ||
%ghc_lib_install | ||
|
||
|
||
# devel subpackage | ||
%ghc_devel_package | ||
|
||
%ghc_devel_description | ||
|
||
%ghc_devel_post_postun | ||
|
||
%ghc_files LICENSE | ||
|
||
|
||
%changelog | ||
* Fri Jul 13 2012 Satoru SATOH <ssato@redhat.com> - 2.1.0.3-1 | ||
- Added some build depends | ||
|
||
* Fri Jul 13 2012 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> | ||
- spec file template generated by cabal2spec-0.25.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# cabal2spec-0.25 | ||
# https://fedoraproject.org/wiki/Packaging:Haskell | ||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell | ||
|
||
%global pkg_name remote | ||
%global common_summary Haskell %{pkg_name} library | ||
%global common_description A %{pkg_name} library for Haskell. | ||
|
||
|
||
Name: ghc-%{pkg_name} | ||
Version: 0.1.1 | ||
Release: 1%{?dist} | ||
Summary: %{common_summary} | ||
Group: System Environment/Libraries | ||
License: BSD | ||
# BEGIN cabal2spec | ||
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 | ||
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} | ||
# END cabal2spec | ||
BuildRequires: ghc-base-devel | ||
BuildRequires: ghc-time-devel | ||
BuildRequires: ghc-filepath-devel | ||
BuildRequires: ghc-containers-devel | ||
BuildRequires: ghc-network-devel | ||
BuildRequires: ghc-syb-devel | ||
BuildRequires: ghc-mtl-devel | ||
BuildRequires: ghc-binary-devel | ||
BuildRequires: ghc-bytestring-devel | ||
BuildRequires: ghc-template-haskell-devel | ||
BuildRequires: ghc-stm-devel | ||
BuildRequires: ghc-pureMD5-devel | ||
BuildRequires: ghc-utf8-string-devel | ||
BuildRequires: ghc-directory-devel | ||
|
||
|
||
%description | ||
%{common_description} | ||
|
||
|
||
%prep | ||
%setup -q -n %{pkg_name}-%{version} | ||
|
||
|
||
%build | ||
%ghc_lib_build | ||
|
||
|
||
%install | ||
%ghc_lib_install | ||
|
||
|
||
# devel subpackage | ||
%ghc_devel_package | ||
|
||
%ghc_devel_description | ||
|
||
%ghc_devel_post_postun | ||
|
||
%ghc_files LICENSE | ||
|
||
|
||
%changelog | ||
* Fri Jul 13 2012 Satoru SATOH <ssato@redhat.com> - 0.1.1-1 | ||
- Added build-time depends | ||
|
||
* Fri Jul 13 2012 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> | ||
- spec file template generated by cabal2spec-0.25.5 |