2013-02-13 19:20:17 +00:00
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
|
|
|
%global pkg_name wai-logger
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
Version: 0.3.0
|
2013-06-07 03:49:13 +00:00
|
|
|
Release: 4%{?dist}
|
|
|
|
Summary: A logging system for WAI
|
2013-02-13 19:20:17 +00:00
|
|
|
|
|
|
|
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-byteorder-devel
|
|
|
|
BuildRequires: ghc-bytestring-devel
|
|
|
|
BuildRequires: ghc-case-insensitive-devel
|
|
|
|
BuildRequires: ghc-date-cache-devel
|
|
|
|
BuildRequires: ghc-fast-logger-devel
|
|
|
|
BuildRequires: ghc-http-types-devel
|
|
|
|
BuildRequires: ghc-network-devel
|
|
|
|
BuildRequires: ghc-wai-devel
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
%description
|
2013-06-07 03:49:13 +00:00
|
|
|
A logging system for WAI
|
|
|
|
|
|
|
|
|
|
|
|
%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.
|
2013-02-13 19:20:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
2013-06-07 03:49:13 +00:00
|
|
|
%post devel
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
2013-02-13 19:20:17 +00:00
|
|
|
|
2013-06-07 03:49:13 +00:00
|
|
|
%postun devel
|
|
|
|
%ghc_pkg_recache
|
2013-02-13 19:20:17 +00:00
|
|
|
|
|
|
|
|
2013-06-07 03:49:13 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
%doc LICENSE
|
2013-02-13 19:20:17 +00:00
|
|
|
|
|
|
|
|
2013-06-07 03:49:13 +00:00
|
|
|
%files devel -f %{name}-devel.files
|
2013-02-13 19:20:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2013-06-07 03:49:13 +00:00
|
|
|
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 0.3.0-4
|
|
|
|
- update to new simplified Haskell Packaging Guidelines
|
|
|
|
|
2013-03-22 10:33:34 +00:00
|
|
|
* Fri Mar 22 2013 Jens Petersen <petersen@redhat.com> - 0.3.0-3
|
|
|
|
- rebuild
|
|
|
|
|
2013-02-13 19:20:17 +00:00
|
|
|
* Wed Feb 13 2013 Ben Boeckel <mathstuf@gmail.com> - 0.3.0-2
|
|
|
|
- Initial import into Fedora
|
|
|
|
|
|
|
|
* Sat Dec 8 2012 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.3.0-1
|
|
|
|
- spec file generated by cabal-rpm-0.6.6
|