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.
90 lines
2.4 KiB
90 lines
2.4 KiB
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
%global pkg_name blaze-markup
|
|
|
|
Name: ghc-%{pkg_name}
|
|
Version: 0.5.1.5
|
|
Release: 3%{?dist}
|
|
Summary: A blazingly fast markup combinator library for Haskell
|
|
|
|
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-blaze-builder-devel
|
|
BuildRequires: ghc-bytestring-devel
|
|
BuildRequires: ghc-text-devel
|
|
# End cabal-rpm deps
|
|
|
|
%description
|
|
Core modules of a blazingly fast markup combinator library for
|
|
the Haskell programming language. The Text.Blaze module is a good starting
|
|
point, as well as this tutorial: <http://jaspervdj.be/blaze/tutorial.html>.
|
|
|
|
|
|
%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
|
|
|
|
|
|
%changelog
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1.5-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 0.5.1.5-2
|
|
- update to new simplified Haskell Packaging Guidelines
|
|
|
|
* Tue Mar 12 2013 Jens Petersen <petersen@redhat.com> - 0.5.1.5-1
|
|
- update to 0.5.1.5
|
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1.1-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Mon Nov 19 2012 Jens Petersen <petersen@redhat.com> - 0.5.1.1-2
|
|
- update with cabal-rpm-0.6.5
|
|
|
|
* Thu Oct 25 2012 Jens Petersen <petersen@redhat.com> - 0.5.1.1-1
|
|
- update to 0.5.1.1
|
|
|
|
* Mon Sep 10 2012 Jens Petersen <petersen@redhat.com> - 0.5.1.0-1
|
|
- improve description format
|
|
|
|
* Mon Sep 10 2012 Fedora Haskell SIG <haskell@lists.fedoraproject.org>
|
|
- spec file generated by cabal-rpm-0.6.2
|