2012-01-05 13:31:43 +00:00
|
|
|
# cabal2spec-0.25.2
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
2011-08-30 09:12:02 +00:00
|
|
|
|
|
|
|
%global pkg_name http-types
|
|
|
|
|
|
|
|
%global common_summary Generic HTTP types for Haskell
|
|
|
|
|
|
|
|
%global common_description Generic HTTP types for Haskell for both client and server code.
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
2012-03-03 14:56:08 +00:00
|
|
|
Version: 0.6.9
|
2012-01-05 13:31:43 +00:00
|
|
|
Release: 1%{?dist}
|
2011-08-30 09:12:02 +00:00
|
|
|
Summary: %{common_summary}
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: BSD
|
2011-10-13 09:11:18 +00:00
|
|
|
# BEGIN cabal2spec
|
2011-08-30 09:12:02 +00:00
|
|
|
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
|
2012-01-05 13:31:43 +00:00
|
|
|
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
2011-10-13 09:11:18 +00:00
|
|
|
# END cabal2spec
|
2012-01-05 13:31:43 +00:00
|
|
|
BuildRequires: ghc-blaze-builder-prof
|
|
|
|
BuildRequires: ghc-case-insensitive-prof
|
2011-08-30 09:12:02 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{common_description}
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
2012-01-05 13:31:43 +00:00
|
|
|
%ghc_devel_package
|
2011-08-30 09:12:02 +00:00
|
|
|
|
2012-01-05 13:31:43 +00:00
|
|
|
%ghc_devel_description
|
2011-08-30 09:12:02 +00:00
|
|
|
|
|
|
|
|
2012-01-05 13:31:43 +00:00
|
|
|
%ghc_devel_post_postun
|
2011-08-30 09:12:02 +00:00
|
|
|
|
|
|
|
|
2012-01-05 13:31:43 +00:00
|
|
|
%ghc_files
|
2011-08-30 09:12:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2012-03-03 14:56:08 +00:00
|
|
|
* Sat Mar 3 2012 Jens Petersen <petersen@redhat.com> - 0.6.9-1
|
|
|
|
- update to 0.6.9
|
|
|
|
|
2012-01-05 13:31:43 +00:00
|
|
|
* Thu Jan 5 2012 Jens Petersen <petersen@redhat.com> - 0.6.8-1
|
|
|
|
- update to 0.6.8 and cabal2spec-0.25.2
|
|
|
|
|
2011-10-25 03:00:38 +00:00
|
|
|
* Tue Oct 25 2011 Jens Petersen <petersen@redhat.com> - 0.6.5.1-1.1
|
|
|
|
- rebuild against new gmp
|
|
|
|
|
2011-10-13 09:11:18 +00:00
|
|
|
* Thu Oct 13 2011 Jens Petersen <petersen@redhat.com> - 0.6.5.1-1
|
|
|
|
- update to 0.6.5.1
|
|
|
|
|
2011-09-14 00:23:41 +00:00
|
|
|
* Wed Sep 14 2011 Jens Petersen <petersen@redhat.com> - 0.6.5-2
|
|
|
|
- rebuild against newer ghc-rpm-macros
|
|
|
|
|
2011-08-30 09:12:02 +00:00
|
|
|
* Thu Jun 30 2011 Jens Petersen <petersen@redhat.com> - 0.6.5-1
|
|
|
|
- BSD
|
|
|
|
- depends on blaze-builder and case-insensitive
|
|
|
|
|
|
|
|
* Thu Jun 30 2011 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 0.6.5-0
|
|
|
|
- initial packaging for Fedora automatically generated by cabal2spec-0.24
|