update to revised simplified Haskell Packaging Guidelines
This commit is contained in:
parent
aef69b9710
commit
82ce77d133
@ -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
|
||||
|
||||
%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
|
||||
%doc CHANGES
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Apr 24 2013 Jens Petersen <petersen@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@lists.fedoraproject.org> - 0.2.1.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user