Accepting request 260169 from devel:languages:haskell

1

OBS-URL: https://build.opensuse.org/request/show/260169
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-split?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2014-11-26 19:55:03 +00:00 committed by Git OBS Bridge
commit 6e64e11f75
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 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 # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,39 +18,51 @@
%global pkg_name split %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 Name: ghc-split
Version: 0.2.2 Version: 0.2.2
Release: 0 Release: 0
Summary: %{common_summary} Summary: Combinator library for splitting lists
License: BSD-3-Clause License: BSD-3-Clause
Group: System/Libraries Group: System/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# BEGIN cabal2spec
Url: http://hackage.haskell.org/package/%{pkg_name} Url: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz 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-Cabal-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
# END cabal2spec
%description %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 %package devel
Summary: Haskell %{pkg_name} library development files Summary: Haskell %{pkg_name} library development files
Group: Development/Languages/Other Group: Development/Libraries/Other
Requires: ghc-compiler Provides: %{name}-static = %{version}-%{release}
Requires(post): ghc-compiler Requires: ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%description devel %description devel
%{common_description} This package provides the Haskell %{pkg_name} library development files.
This package contains the development files.
%prep %prep
%setup -q -n %{pkg_name}-%{version} %setup -q -n %{pkg_name}-%{version}
@ -69,9 +81,10 @@ This package contains the development files.
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc LICENSE CHANGES README %doc LICENSE
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README
%changelog %changelog