Accepting request 259856 from devel:languages:haskell:platform

Haskell Platform 2014.2.0.0 update

OBS-URL: https://build.opensuse.org/request/show/259856
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-split?expand=0&rev=12
This commit is contained in:
Peter Trommler 2014-11-06 19:29:14 +00:00 committed by Git OBS Bridge
parent 6d4668fe27
commit 53e2a649bd
2 changed files with 35 additions and 17 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 2 10:15:15 UTC 2014 - peter.trommler@ohm-hochschule.de
- regenerated spec file
-------------------------------------------------------------------
Sat Aug 23 00:21:24 UTC 2014 - peter.trommler@ohm-hochschule.de

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-split
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,39 +18,51 @@
%global pkg_name split
%global common_summary Haskell combinator library for splitting lists
%global common_description Combinator library and utility functions for splitting lists for Haskell.
Name: ghc-split
Version: 0.2.2
Release: 0
Summary: %{common_summary}
Summary: Combinator library for splitting lists
License: BSD-3-Clause
Group: System/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# BEGIN cabal2spec
Url: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# END cabal2spec
%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
Group: Development/Languages/Other
Requires: ghc-compiler
Requires(post): ghc-compiler
Requires(postun): ghc-compiler
Group: Development/Libraries/Other
Provides: %{name}-static = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires: %{name} = %{version}-%{release}
%description devel
%{common_description}
This package contains the development files.
This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
@ -69,9 +81,10 @@ This package contains the development files.
%files -f %{name}.files
%defattr(-,root,root,-)
%doc LICENSE CHANGES README
%doc LICENSE
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%doc README
%changelog