2012-01-04 14:54:55 +00:00
|
|
|
# cabal2spec-0.25.2
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
2011-12-16 02:04:44 +00:00
|
|
|
|
|
|
|
%global pkg_name simple-sendfile
|
|
|
|
|
|
|
|
%global common_summary Cross-platform sendfile system call
|
|
|
|
|
|
|
|
%global common_description A Haskell cross-platform library for the sendfile system call.\
|
2011-12-16 02:09:23 +00:00
|
|
|
This library tries to minimize system calls,\
|
2011-12-16 02:04:44 +00:00
|
|
|
since they are a bottleneck for concurrent web servers.
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
2012-01-04 14:54:55 +00:00
|
|
|
Version: 0.2.0
|
2011-12-16 02:04:44 +00:00
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: %{common_summary}
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: BSD
|
|
|
|
# BEGIN cabal2spec
|
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
ExclusiveArch: %{ghc_arches}
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
2012-01-04 14:54:55 +00:00
|
|
|
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
2011-12-16 02:04:44 +00:00
|
|
|
# END cabal2spec
|
2012-01-04 14:54:55 +00:00
|
|
|
BuildRequires: ghc-network-prof
|
|
|
|
BuildRequires: ghc-unix-prof
|
2011-12-16 02:04:44 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{common_description}
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
2012-01-04 14:54:55 +00:00
|
|
|
%ghc_devel_package
|
2011-12-16 02:04:44 +00:00
|
|
|
|
2012-01-04 14:54:55 +00:00
|
|
|
%ghc_devel_description
|
2011-12-16 02:04:44 +00:00
|
|
|
|
|
|
|
|
2012-01-04 14:54:55 +00:00
|
|
|
%ghc_devel_post_postun
|
2011-12-16 02:04:44 +00:00
|
|
|
|
|
|
|
|
2012-01-04 14:54:55 +00:00
|
|
|
%ghc_files
|
2011-12-16 02:04:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2012-01-04 14:54:55 +00:00
|
|
|
* Wed Jan 4 2012 Jens Petersen <petersen@redhat.com> - 0.2.0-1
|
|
|
|
- update to 0.2.0 and cabal2spec-0.25.2
|
|
|
|
|
2011-12-16 02:04:44 +00:00
|
|
|
* Thu Dec 1 2011 Jens Petersen <petersen@redhat.com> - 0.1.3-1
|
|
|
|
- BSD license
|
|
|
|
|
|
|
|
* Thu Dec 1 2011 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org>
|
|
|
|
- initial packaging for Fedora automatically generated by cabal2spec-0.24.1
|