2012-06-08 14:14:05 +02:00
|
|
|
#
|
|
|
|
# spec file for ghc-split
|
|
|
|
#
|
2009-05-20 22:49:07 +02:00
|
|
|
|
2012-01-19 09:40:41 +01:00
|
|
|
# Copyright (c) 2012 Herbert Graeber <herbert@graeber-clan.de>
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
2009-05-20 22:49:07 +02:00
|
|
|
|
2012-01-19 09:40:41 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
2009-05-20 22:49:07 +02:00
|
|
|
|
2012-01-19 09:40:41 +01:00
|
|
|
%global pkg_name split
|
2009-05-20 22:49:07 +02:00
|
|
|
|
2012-06-08 14:14:05 +02:00
|
|
|
%global common_summary Haskell combinator library for splitting lists
|
2009-05-20 22:49:07 +02:00
|
|
|
|
2012-06-08 14:14:05 +02:00
|
|
|
%global common_description Combinator library and utility functions for splitting lists for Haskell.
|
2009-05-20 22:49:07 +02:00
|
|
|
|
2012-12-30 18:38:46 +01:00
|
|
|
Name: ghc-split
|
2012-11-17 17:22:33 +01:00
|
|
|
Version: 0.2.1.1
|
2012-01-19 09:40:41 +01:00
|
|
|
Release: 1
|
|
|
|
Summary: %{common_summary}
|
|
|
|
|
2012-06-08 14:14:05 +02:00
|
|
|
Group: System/Libraries
|
2012-02-29 13:52:53 +01:00
|
|
|
License: BSD-3-Clause
|
2012-06-08 14:14:05 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-01-19 09:40:41 +01:00
|
|
|
# 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
|
|
|
|
ExclusiveArch: %{ix86} x86_64 %{ghc_arches}
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
2012-06-08 14:14:05 +02:00
|
|
|
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
2012-01-19 09:40:41 +01:00
|
|
|
# END cabal2spec
|
2012-02-29 13:52:53 +01:00
|
|
|
|
2012-01-19 09:40:41 +01:00
|
|
|
%description
|
|
|
|
%{common_description}
|
2009-05-20 22:49:07 +02:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2012-01-19 09:40:41 +01:00
|
|
|
%ghc_lib_build
|
2009-05-20 22:49:07 +02:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2012-01-19 09:40:41 +01:00
|
|
|
%ghc_lib_install
|
2009-05-20 22:49:07 +02:00
|
|
|
|
|
|
|
|
2012-06-08 14:14:05 +02:00
|
|
|
# devel subpackage
|
|
|
|
%ghc_devel_package
|
2009-05-20 22:49:07 +02:00
|
|
|
|
2012-06-08 14:14:05 +02:00
|
|
|
%ghc_devel_description
|
2009-05-20 22:49:07 +02:00
|
|
|
|
|
|
|
|
2012-06-08 14:14:05 +02:00
|
|
|
%ghc_devel_post_postun
|
2009-05-20 22:49:07 +02:00
|
|
|
|
|
|
|
|
2012-06-08 14:14:05 +02:00
|
|
|
%ghc_files LICENSE
|
2009-05-20 22:49:07 +02:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|