update to 0.7.9 and simplified Haskell Packaging Guidelines

This commit is contained in:
Jens Petersen 2013-06-04 18:50:04 +09:00
parent 414b638ef2
commit a61caafd84
3 changed files with 32 additions and 17 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/sendfile-0.7.6.tar.gz
/sendfile-0.7.8.tar.gz
/sendfile-0.7.9.tar.gz

View File

@ -1,18 +1,11 @@
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name sendfile
%global common_summary A portable sendfile library
%global common_description A library which exposes zero-copy sendfile functionality in a portable way.\
If a platform does not support sendfile, a fallback implementation in haskell\
is provided.
Name: ghc-%{pkg_name}
Version: 0.7.8
Release: 2%{?dist}
Summary: %{common_summary}
Version: 0.7.9
Release: 1%{?dist}
Summary: A portable sendfile library
License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name}
@ -26,7 +19,20 @@ BuildRequires: ghc-network-devel
# End cabal-rpm deps
%description
%{common_description}
A library which exposes zero-copy sendfile functionality in a portable way.
If a platform does not support sendfile, a fallback implementation in haskell
is provided.
%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
@ -41,18 +47,26 @@ BuildRequires: ghc-network-devel
%ghc_lib_install
%ghc_devel_package
%ghc_devel_description
%post devel
%ghc_pkg_recache
%ghc_devel_post_postun
%postun devel
%ghc_pkg_recache
%ghc_files LICENSE
%files -f %{name}.files
%doc LICENSE
%files devel -f %{name}-devel.files
%changelog
* Tue Jun 04 2013 Jens Petersen <petersen@redhat.com> - 0.7.9-1
- update to 0.7.9
- update to new simplified Haskell Packaging Guidelines
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

View File

@ -1 +1 @@
985e6c2fed34d4c53053ffa1b7d88b72 sendfile-0.7.8.tar.gz
5fc4f3459a5883072c30c9c747376f7a sendfile-0.7.9.tar.gz