[ghc-split] update to revised simplified Haskell Packaging Guidelines

Jens Petersen petersen at fedoraproject.org
Wed Apr 24 07:36:17 UTC 2013


commit 82ce77d1336ad5031217186bfd1a60412ac0af69
Author: Jens Petersen <petersen at redhat.com>
Date:   Wed Apr 24 16:36:04 2013 +0900

    update to revised simplified Haskell Packaging Guidelines

 ghc-split.spec |   81 ++++++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 67 insertions(+), 14 deletions(-)
---
diff --git a/ghc-split.spec b/ghc-split.spec
index 8243765..738d913 100644
--- a/ghc-split.spec
+++ b/ghc-split.spec
@@ -1,18 +1,12 @@
 # https://fedoraproject.org/wiki/Packaging:Haskell
-# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
 
 %global pkg_name split
 
-%global common_summary Combinator library for splitting lists
-
-%global common_description A collection of various methods for splitting lists into parts,\
-akin to the split functions found in several mainstream languages.
-
 Name:           ghc-%{pkg_name}
-# part of haskell-platform-2012.4
+# part of haskell-platform-2012.4+
 Version:        0.2.1.1
-Release:        2%{?dist}
-Summary:        %{common_summary}
+Release:        3%{?dist}
+Summary:        Combinator library for splitting lists
 
 License:        BSD
 URL:            http://hackage.haskell.org/package/%{pkg_name}
@@ -22,7 +16,59 @@ BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-rpm-macros
 
 %description
-%{common_description}
+A collection of various methods for splitting
+lists into parts, akin to the \"split\" function
+found in several mainstream languages. Here is
+its tale:
+
+Once upon a time the standard "Data.List" module
+held no function for splitting a list into parts
+according to a delimiter.  Many a brave
+lambda-knight strove to add such a function, but
+their striving was in vain, for Lo, the Supreme
+Council fell to bickering amongst themselves what
+was to be the essential nature of the One True
+Function which could cleave a list in twain (or
+thrain, or any required number of parts).
+
+And thus came to pass the split package,
+comprising divers functions for splitting a list
+asunder, each according to its nature.  And the
+Supreme Council had no longer any grounds for
+argument, for the favored method of each was
+contained therein.
+
+To get started, see the "Data.List.Split" module.
+
+
+%package devel
+Summary:        Haskell %{pkg_name} library development files
+%{?ghc_devel_requires}
+
+%description devel
+A collection of various methods for splitting
+lists into parts, akin to the \"split\" function
+found in several mainstream languages. Here is
+its tale:
+
+Once upon a time the standard "Data.List" module
+held no function for splitting a list into parts
+according to a delimiter.  Many a brave
+lambda-knight strove to add such a function, but
+their striving was in vain, for Lo, the Supreme
+Council fell to bickering amongst themselves what
+was to be the essential nature of the One True
+Function which could cleave a list in twain (or
+thrain, or any required number of parts).
+
+And thus came to pass the split package,
+comprising divers functions for splitting a list
+asunder, each according to its nature.  And the
+Supreme Council had no longer any grounds for
+argument, for the favored method of each was
+contained therein.
+
+To get started, see the "Data.List.Split" module.
 
 
 %prep
@@ -37,19 +83,26 @@ BuildRequires:  ghc-rpm-macros
 %ghc_lib_install
 
 
-%ghc_devel_package
+%post devel
+%ghc_pkg_recache
 
-%ghc_devel_description
 
+%postun devel
+%ghc_pkg_recache
 
-%ghc_devel_post_postun
 
+%files -f %{name}.files
+%doc LICENSE
 
-%ghc_files LICENSE
+
+%files devel -f %{name}-devel.files
 %doc CHANGES
 
 
 %changelog
+* Wed Apr 24 2013 Jens Petersen <petersen at redhat.com> - 0.2.1.1-3
+- update to revised simplified Haskell Packaging Guidelines (cabal-rpm-0.8)
+
 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.1.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list