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.
117 lines
3.2 KiB
117 lines
3.2 KiB
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
%global pkg_name aeson
|
|
|
|
Name: ghc-%{pkg_name}
|
|
Version: 0.6.1.0
|
|
Release: 3%{?dist}
|
|
Summary: Fast JSON parsing and encoding
|
|
|
|
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
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
BuildRequires: ghc-rpm-macros
|
|
# Begin cabal-rpm deps:
|
|
BuildRequires: ghc-attoparsec-devel
|
|
BuildRequires: ghc-blaze-builder-devel
|
|
BuildRequires: ghc-bytestring-devel
|
|
BuildRequires: ghc-containers-devel
|
|
BuildRequires: ghc-deepseq-devel
|
|
BuildRequires: ghc-dlist-devel
|
|
BuildRequires: ghc-hashable-devel
|
|
BuildRequires: ghc-mtl-devel
|
|
BuildRequires: ghc-old-locale-devel
|
|
BuildRequires: ghc-syb-devel
|
|
BuildRequires: ghc-template-haskell-devel
|
|
BuildRequires: ghc-text-devel
|
|
BuildRequires: ghc-time-devel
|
|
BuildRequires: ghc-unordered-containers-devel
|
|
BuildRequires: ghc-vector-devel
|
|
ExclusiveArch: %{ghc_arches_with_ghci}
|
|
# End cabal-rpm deps
|
|
|
|
%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
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
Requires(post): ghc-compiler = %{ghc_version}
|
|
Requires(postun): ghc-compiler = %{ghc_version}
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
%prep
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
%build
|
|
%ghc_lib_build
|
|
|
|
|
|
%install
|
|
%ghc_lib_install
|
|
|
|
|
|
%post devel
|
|
%ghc_pkg_recache
|
|
|
|
|
|
%postun devel
|
|
%ghc_pkg_recache
|
|
|
|
|
|
%files -f %{name}.files
|
|
%doc LICENSE
|
|
|
|
|
|
%files devel -f %{name}-devel.files
|
|
%doc README.markdown release-notes.markdown examples
|
|
|
|
|
|
%changelog
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* Thu Jun 21 2012 Jens Petersen <petersen@redhat.com> - 0.6.0.2-3
|
|
- rebuild
|
|
|
|
* 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
|
|
|
|
* Sat Mar 24 2012 Jens Petersen <petersen@redhat.com> - 0.6.0.0-2
|
|
- depends on dlist for ghc > 7.2
|
|
|
|
* 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
|