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-06-02 05:24:06 +00:00
|
|
|
Version: 0.2.3
|
2012-07-19 06:01:56 +00:00
|
|
|
Release: 4%{?dist}
|
2011-12-16 02:04:44 +00:00
|
|
|
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-07-16 02:14:48 +00:00
|
|
|
BuildRequires: ghc-network-devel
|
|
|
|
BuildRequires: ghc-unix-devel
|
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-03-23 04:24:41 +00:00
|
|
|
%ghc_files LICENSE
|
2011-12-16 02:04:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2012-07-19 06:01:56 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-16 02:14:48 +00:00
|
|
|
* Mon Jul 16 2012 Jens Petersen <petersen@redhat.com> - 0.2.3-3
|
|
|
|
- change prof BRs to devel
|
|
|
|
|
2012-06-15 09:03:19 +00:00
|
|
|
* Fri Jun 15 2012 Jens Petersen <petersen@redhat.com> - 0.2.3-2
|
|
|
|
- rebuild
|
|
|
|
|
2012-06-02 05:24:06 +00:00
|
|
|
* Sat Jun 2 2012 Jens Petersen <petersen@redhat.com> - 0.2.3-1
|
|
|
|
- update to 0.2.3
|
|
|
|
|
2012-03-23 04:24:41 +00:00
|
|
|
* Fri Mar 23 2012 Jens Petersen <petersen@redhat.com> - 0.2.1-2
|
|
|
|
- add license to ghc_files
|
|
|
|
|
2012-03-08 02:38:54 +00:00
|
|
|
* Thu Mar 8 2012 Jens Petersen <petersen@redhat.com> - 0.2.1-1
|
|
|
|
- update to 0.2.1
|
|
|
|
|
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
|