You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ghc-aeson/ghc-aeson.spec

128 lines
3.5 KiB

13 years ago
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name aeson
Name: ghc-%{pkg_name}
11 years ago
Version: 0.6.2.1
Release: 2%{?dist}
Summary: Fast JSON parsing and encoding
13 years ago
License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
# for archs without ghci
Patch1: aeson-disable-TH.patch
13 years ago
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
13 years ago
BuildRequires: ghc-attoparsec-devel
BuildRequires: ghc-blaze-builder-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-deepseq-devel
12 years ago
BuildRequires: ghc-dlist-devel
BuildRequires: ghc-hashable-devel
13 years ago
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-old-locale-devel
13 years ago
BuildRequires: ghc-syb-devel
BuildRequires: ghc-template-haskell-devel
BuildRequires: ghc-text-devel
13 years ago
BuildRequires: ghc-time-devel
BuildRequires: ghc-unordered-containers-devel
BuildRequires: ghc-vector-devel
# End cabal-rpm deps
13 years ago
%description
A JSON parsing and encoding library optimized for ease of use and
high performance. Aeson was the father of Jason in Greek mythology.
%package devel
Summary: Haskell %{pkg_name} library development files
11 years ago
Provides: %{name}-static = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
11 years ago
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development files.
13 years ago
%prep
%setup -q -n %{pkg_name}-%{version}
%ifnarch %{ghc_arches_with_ghci}
%patch1 -p1 -b .orig
%endif
13 years ago
%build
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache
13 years ago
%postun devel
%ghc_pkg_recache
13 years ago
%files -f %{name}.files
%doc LICENSE
13 years ago
%files devel -f %{name}-devel.files
13 years ago
%doc README.markdown release-notes.markdown examples
%changelog
* Sun Apr 20 2014 Jens Petersen <petersen@redhat.com> - 0.6.2.1-2
- disable TH module on arch's without ghci
11 years ago
* Wed Jan 22 2014 Jens Petersen <petersen@redhat.com> - 0.6.2.1-1
- update to 0.6.2.1
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 0.6.1.0-2
- update to new simplified Haskell Packaging Guidelines
12 years ago
* Mon Mar 11 2013 Jens Petersen <petersen@redhat.com> - 0.6.1.0-1
- update to 0.6.1.0
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.6.0.2-5
- update with cabal-rpm
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
13 years ago
* Thu Jun 21 2012 Jens Petersen <petersen@redhat.com> - 0.6.0.2-3
- rebuild
13 years ago
* Fri Jun 15 2012 Jens Petersen <petersen@redhat.com> - 0.6.0.2-2
- rebuild
* Sun May 6 2012 Jens Petersen <petersen@redhat.com> - 0.6.0.2-1
- update to 0.6.0.2
- build needs ghci
13 years ago
* Sat Mar 24 2012 Jens Petersen <petersen@redhat.com> - 0.6.0.0-2
- depends on dlist for ghc > 7.2
13 years ago
13 years ago
* Mon Feb 27 2012 Jens Petersen <petersen@redhat.com> - 0.6.0.0-1
- BSD license
- doc files
* Mon Feb 27 2012 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org>
- spec file template generated by cabal2spec-0.25.4