update to 0.7.9 and simplified Haskell Packaging Guidelines
This commit is contained in:
parent
414b638ef2
commit
a61caafd84
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/sendfile-0.7.6.tar.gz
|
||||
/sendfile-0.7.8.tar.gz
|
||||
/sendfile-0.7.9.tar.gz
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user