update to new simplified Haskell Packaging Guidelines
This commit is contained in:
parent
6315743aa4
commit
953d301252
@ -1,17 +1,11 @@
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||
|
||||
%global pkg_name ranges
|
||||
|
||||
%global common_summary Ranges and various functions on them
|
||||
|
||||
%global common_description Ranges and some functions allowing things like fast \
|
||||
membership lookup on ranges with holes in them and so on.
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.2.4
|
||||
Release: 6%{?dist}
|
||||
Summary: %{common_summary}
|
||||
Release: 7%{?dist}
|
||||
Summary: Ranges and various functions on them
|
||||
|
||||
License: BSD
|
||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||
@ -24,7 +18,19 @@ BuildRequires: ghc-containers-devel
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
Ranges and some functions allowing things like fast membership
|
||||
lookup on ranges with holes in them and so on.
|
||||
|
||||
|
||||
%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
|
||||
@ -39,18 +45,25 @@ BuildRequires: ghc-containers-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
|
||||
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 0.2.4-7
|
||||
- update to new simplified Haskell Packaging Guidelines
|
||||
|
||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user