2012-01-04 14:05:47 +00:00
|
|
|
# cabal2spec-0.25.2
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
2011-09-12 09:46:41 +00:00
|
|
|
|
|
|
|
%global pkg_name primitive
|
|
|
|
|
|
|
|
%global common_summary Wrappers for primitive operations
|
|
|
|
|
|
|
|
%global common_description This library provides wrappers for primitive array operations from GHC.Prim.
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
2012-03-22 15:13:13 +00:00
|
|
|
Version: 0.4.1
|
2012-07-16 02:14:06 +00:00
|
|
|
Release: 2%{?dist}
|
2011-09-12 09:46:41 +00:00
|
|
|
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
|
2012-01-04 14:05:47 +00:00
|
|
|
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
2011-09-12 09:46:41 +00:00
|
|
|
# END cabal2spec
|
2012-07-16 02:14:06 +00:00
|
|
|
BuildRequires: ghc-base-devel
|
2011-09-12 09:46:41 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{common_description}
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
2012-01-04 14:05:47 +00:00
|
|
|
%ghc_devel_package
|
2011-09-12 09:46:41 +00:00
|
|
|
|
2012-01-04 14:05:47 +00:00
|
|
|
%ghc_devel_description
|
2011-09-12 09:46:41 +00:00
|
|
|
|
|
|
|
|
2012-01-04 14:05:47 +00:00
|
|
|
%ghc_devel_post_postun
|
2011-09-12 09:46:41 +00:00
|
|
|
|
|
|
|
|
2012-03-22 15:13:13 +00:00
|
|
|
%ghc_files LICENSE
|
2011-09-12 09:46:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2012-07-16 02:14:06 +00:00
|
|
|
* Mon Jul 16 2012 Jens Petersen <petersen@redhat.com> - 0.4.1-2
|
|
|
|
- change prof BRs to devel
|
|
|
|
|
2012-03-22 15:13:13 +00:00
|
|
|
* Thu Mar 22 2012 Jens Petersen <petersen@redhat.com> - 0.4.1-1
|
|
|
|
- update to 0.4.1
|
|
|
|
|
2012-01-04 14:05:47 +00:00
|
|
|
* Wed Jan 4 2012 Jens Petersen <petersen@redhat.com> - 0.4.0.1-1
|
|
|
|
- update to 0.4.0.1 and cabal2spec-0.25.2
|
|
|
|
|
2011-10-24 13:38:16 +00:00
|
|
|
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.3.1-2.1
|
|
|
|
- rebuild with new gmp without compat lib
|
|
|
|
|
2011-09-13 07:35:23 +00:00
|
|
|
* Tue Sep 13 2011 Jens Petersen <petersen@redhat.com> - 0.3.1-2
|
|
|
|
- rebuild against newer ghc-rpm-macros
|
|
|
|
|
2011-09-12 09:46:41 +00:00
|
|
|
* Thu Sep 8 2011 Jens Petersen <petersen@redhat.com> - 0.3.1-1
|
|
|
|
- BSD license
|
|
|
|
|
|
|
|
* Thu Sep 8 2011 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 0.3.1-0
|
|
|
|
- initial packaging for Fedora automatically generated by cabal2spec-0.24.1
|