import (#978723)
This commit is contained in:
parent
e461321461
commit
514ede8272
|
@ -0,0 +1 @@
|
|||
/snap-server-0.9.3.4.tar.gz
|
|
@ -0,0 +1,96 @@
|
|||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
|
||||
%global pkg_name snap-server
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.9.3.4
|
||||
Release: 1%{?dist}
|
||||
Summary: A fast, iteratee-based, epoll-enabled web server for the Snap Framework
|
||||
|
||||
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-MonadCatchIO-transformers-devel
|
||||
BuildRequires: ghc-attoparsec-devel
|
||||
BuildRequires: ghc-attoparsec-enumerator-devel
|
||||
BuildRequires: ghc-blaze-builder-devel
|
||||
BuildRequires: ghc-blaze-builder-enumerator-devel
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-case-insensitive-devel
|
||||
BuildRequires: ghc-containers-devel
|
||||
BuildRequires: ghc-enumerator-devel
|
||||
BuildRequires: ghc-mtl-devel
|
||||
BuildRequires: ghc-network-devel
|
||||
BuildRequires: ghc-old-locale-devel
|
||||
BuildRequires: ghc-snap-core-devel
|
||||
BuildRequires: ghc-text-devel
|
||||
BuildRequires: ghc-time-devel
|
||||
BuildRequires: ghc-unix-devel
|
||||
BuildRequires: ghc-unix-compat-devel
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
Snap is a simple and fast web development framework and server written in
|
||||
Haskell. For more information, you can visit the Snap project website at
|
||||
<http://snapframework.com/>.
|
||||
|
||||
The Snap HTTP server is a high performance, epoll-enabled, iteratee-based web
|
||||
server library written in Haskell. Together with the snap-core library upon
|
||||
which it depends, it provides a clean and efficient Haskell programming
|
||||
interface to the HTTP protocol.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Haskell %{pkg_name} library development files
|
||||
Provides: %{name}-static = %{version}-%{release}
|
||||
Requires: ghc-compiler = %{ghc_version}
|
||||
Requires(post): ghc-compiler = %{ghc_version}
|
||||
Requires(postun): ghc-compiler = %{ghc_version}
|
||||
Requires: %{name}%{?_isa} = %{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 CONTRIBUTORS
|
||||
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%doc README.md README.SNAP.md
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Oct 16 2013 Jens Petersen <petersen@redhat.com> - 0.9.3.4-1
|
||||
- 0.9.3.4
|
||||
- add static provides to devel
|
||||
|
||||
* Thu Jun 27 2013 Jens Petersen <petersen@redhat.com> - 0.9.3.3-1
|
||||
- minor description tweaks and add CONTRIBUTORS
|
||||
|
||||
* Thu Jun 27 2013 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.9.3.3-0
|
||||
- spec file generated by cabal-rpm-0.8.2
|
Loading…
Reference in New Issue