|
|
7ac3d54 |
%global pkg_name mmap
|
|
|
7ac3d54 |
|
|
|
968858f |
%global common_summary Haskell Memory mapped files library
|
|
|
7ac3d54 |
|
|
|
968858f |
%global common_description A Haskell wrapper to mmap(2) or MapViewOfFile, allowing files or devices\
|
|
|
968858f |
to be lazily loaded into memory as strict or lazy ByteStrings, ForeignPtrs or\
|
|
|
968858f |
plain Ptrs, using the virtual memory subsystem to do on-demand loading.\
|
|
|
968858f |
Modifications are also supported.
|
|
|
968858f |
|
|
|
7ac3d54 |
Name: ghc-%{pkg_name}
|
|
|
947930b |
Version: 0.5.7
|
|
|
6c1fb01 |
Release: 6%{?dist}
|
|
|
968858f |
Summary: %{common_summary}
|
|
|
7ac3d54 |
|
|
|
968858f |
Group: System Environment/Libraries
|
|
|
7ac3d54 |
License: BSD
|
|
|
c118013 |
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
7ac3d54 |
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
6c1fb01 |
ExclusiveArch: %{ghc_arches}
|
|
|
6c1fb01 |
BuildRequires: ghc-Cabal-devel
|
|
|
6c1fb01 |
BuildRequires: ghc-rpm-macros
|
|
|
1d2ea87 |
BuildRequires: hscolour
|
|
|
6c1fb01 |
BuildRequires: ghc-bytestring-prof
|
|
|
7ac3d54 |
|
|
|
7ac3d54 |
%description
|
|
|
968858f |
%{common_description}
|
|
|
7ac3d54 |
|
|
|
7ac3d54 |
|
|
|
7ac3d54 |
%prep
|
|
|
7ac3d54 |
%setup -q -n %{pkg_name}-%{version}
|
|
|
947930b |
|
|
|
7ac3d54 |
|
|
|
7ac3d54 |
%build
|
|
|
62dcd2e |
%ghc_lib_build
|
|
|
7ac3d54 |
|
|
|
7ac3d54 |
|
|
|
7ac3d54 |
%install
|
|
|
62dcd2e |
%ghc_lib_install
|
|
|
7ac3d54 |
|
|
|
7ac3d54 |
|
|
|
c118013 |
%ghc_lib_package
|
|
|
1d2ea87 |
|
|
|
1d2ea87 |
|
|
|
7ac3d54 |
%changelog
|
|
|
6c1fb01 |
* Thu Jun 23 2011 Jens Petersen <petersen@redhat.com> - 0.5.7-6
|
|
|
6c1fb01 |
- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
|
|
|
6c1fb01 |
|
|
|
1f7ade3 |
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.5.7-5
|
|
|
1f7ade3 |
- Enable build on sparcv9
|
|
|
1f7ade3 |
|
|
|
0af34fd |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.7-4
|
|
|
0af34fd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
0af34fd |
|
|
|
c6c6842 |
* Wed Jan 19 2011 Jens Petersen <petersen@redhat.com> - 0.5.7-3
|
|
|
c6c6842 |
- update to cabal2spec-0.22.4
|
|
|
c6c6842 |
|
|
|
c118013 |
* Thu Nov 25 2010 Jens Petersen <petersen@redhat.com> - 0.5.7-2
|
|
|
c118013 |
- update to 0.5.4 and drop -o obsoletes
|
|
|
c118013 |
|
|
|
947930b |
* Mon Nov 1 2010 Jens Petersen <petersen@redhat.com> - 0.5.7-1
|
|
|
947930b |
- update to 0.5.7
|
|
|
947930b |
- mmap-no-HUnit.patch is now upstream
|
|
|
947930b |
|
|
Jesse Keating |
458c3be |
* Wed Sep 29 2010 jkeating - 0.5.6-2
|
|
Jesse Keating |
458c3be |
- Rebuilt for gcc bug 634757
|
|
Jesse Keating |
458c3be |
|
|
|
9c7c5a5 |
* Fri Sep 17 2010 Jens Petersen <petersen@redhat.com> - 0.5.6-1
|
|
|
9c7c5a5 |
- update to 0.5.6 for darcs-2.5
|
|
|
2f078ef |
- patch out superfluous test dependency on HUnit
|
|
|
9c7c5a5 |
|
|
|
1d2ea87 |
* Sat Sep 4 2010 Jens Petersen <petersen@redhat.com> - 0.4.1-5
|
|
|
1d2ea87 |
- add hscolour and doc obsolete (cabal2spec-0.22.2)
|
|
|
1d2ea87 |
|
|
|
62dcd2e |
* Sat Jun 26 2010 Jens Petersen <petersen@redhat.com> - 0.4.1-4
|
|
|
62dcd2e |
- sync cabal2spec-0.22
|
|
|
62dcd2e |
|
|
|
6c4fd3a |
* Sat Apr 24 2010 Jens Petersen <petersen@redhat.com> - 0.4.1-3
|
|
|
6c4fd3a |
- rebuild against ghc-6.12.2
|
|
|
6c4fd3a |
- condition ghc_lib_package
|
|
|
6c4fd3a |
|
|
|
968858f |
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 0.4.1-2
|
|
|
968858f |
- update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1:
|
|
|
968858f |
- drop doc and prof bcond
|
|
|
968858f |
- use common summary and common_description
|
|
|
968858f |
- use ghc_lib_package
|
|
|
968858f |
- drop redundant buildroot and its install cleaning
|
|
|
968858f |
|
|
|
7ac3d54 |
* Tue Nov 17 2009 Jens Petersen <petersen@redhat.com> - 0.4.1-1
|
|
|
7ac3d54 |
- initial packaging for Fedora created by cabal2spec
|