From 53e2a649bd814a3fa329797a49ddb7f9206a3bfeacd913386a9dd06cb66ca68e Mon Sep 17 00:00:00 2001 From: Peter Trommler Date: Thu, 6 Nov 2014 19:29:14 +0000 Subject: [PATCH] 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 --- ghc-split.changes | 5 +++++ ghc-split.spec | 47 ++++++++++++++++++++++++++++++----------------- 2 files changed, 35 insertions(+), 17 deletions(-) diff --git a/ghc-split.changes b/ghc-split.changes index 4d22d21..34b978b 100644 --- a/ghc-split.changes +++ b/ghc-split.changes @@ -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 diff --git a/ghc-split.spec b/ghc-split.spec index e92f5e6..4e7d9b9 100644 --- a/ghc-split.spec +++ b/ghc-split.spec @@ -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