2012-04-09 17:29:33 +00:00
|
|
|
# cabal2spec-0.25.4
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
2011-09-30 03:43:14 +00:00
|
|
|
|
|
|
|
%global pkg_name data-default
|
|
|
|
|
|
|
|
%global common_summary Provides a class for types with a default value
|
|
|
|
|
2012-04-09 17:29:33 +00:00
|
|
|
%global common_description %{common_summary}.
|
2011-09-30 03:43:14 +00:00
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
2012-04-09 17:29:33 +00:00
|
|
|
Version: 0.4.0
|
2011-09-30 03:43:14 +00:00
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: %{common_summary}
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: BSD
|
2012-04-09 17:29:33 +00:00
|
|
|
# BEGIN cabal2spec
|
2011-09-30 03:43:14 +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-04-09 17:29:33 +00:00
|
|
|
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
|
|
|
# END cabal2spec
|
2012-04-09 17:39:33 +00:00
|
|
|
BuildRequires: ghc-dlist-prof, ghc-containers-prof
|
2011-09-30 03:43:14 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{common_description}
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
2012-04-09 17:29:33 +00:00
|
|
|
# devel subpackage
|
|
|
|
%ghc_devel_package
|
2011-09-30 03:43:14 +00:00
|
|
|
|
2012-04-09 17:29:33 +00:00
|
|
|
%ghc_devel_description
|
2011-09-30 03:43:14 +00:00
|
|
|
|
|
|
|
|
2012-04-09 17:29:33 +00:00
|
|
|
%ghc_devel_post_postun
|
2011-09-30 03:43:14 +00:00
|
|
|
|
|
|
|
|
2012-04-09 17:39:33 +00:00
|
|
|
%ghc_files
|
2011-09-30 03:43:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2012-04-09 17:29:33 +00:00
|
|
|
* Mon Apr 9 2012 Lakshmi Narasimhan T V <lakshminaras2002@gmail.com> - 0.4.0-1
|
|
|
|
- updated to 0.4.0
|
|
|
|
- spec file updated to cabal2spec-0.25.4
|
|
|
|
|
2012-03-22 13:35:39 +00:00
|
|
|
* Sun Mar 18 2012 Jens Petersen <petersen@redhat.com> - 0.3.0-3
|
|
|
|
- update to cabal2spec-0.25
|
|
|
|
|
2012-01-13 03:22:02 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-2.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-10-24 11:03:24 +00:00
|
|
|
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.3.0-1.1
|
|
|
|
- rebuild with new gmp without compat lib
|
|
|
|
|
2011-09-30 03:43:14 +00:00
|
|
|
* Sat Sep 10 2011 Lakshmi Narasimhan T V <lakshminaras2002@gmail.com> - 0.3.0-1
|
|
|
|
- License is BSD.
|
|
|
|
|
|
|
|
* Sat Sep 10 2011 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 0.3.0-0
|
|
|
|
- initial packaging for Fedora automatically generated by cabal2spec-0.24.1
|