4
0
forked from pool/ghc-vector

Accepting request 185277 from devel:languages:haskell:platform

Update to Haskell Platform 2013.2.0.0

OBS-URL: https://build.opensuse.org/request/show/185277
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-vector?expand=0&rev=7
This commit is contained in:
Peter Trommler
2013-08-01 08:55:35 +00:00
committed by Git OBS Bridge
parent 2897ba4525
commit 7bc0dfffef
2 changed files with 36 additions and 19 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon May 6 10:28:29 UTC 2013 - peter.trommler@ohm-hochschule.de
- BR ghc-deepseq-devel explicitly rather that relying on Cabal
to pull it in
- more transparent packaging (fewer macros)
-------------------------------------------------------------------
Mon Jan 7 09:21:01 UTC 2013 - peter.trommler@ohm-hochschule.de

View File

@@ -1,8 +1,7 @@
#
# spec file for ghc-vector
# spec file for package ghc-vector
#
# Copyright (c) 2012 Herbert Graeber <herbert@graeber-clan.de>
# Copyright (c) 2013 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
@@ -16,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%global pkg_name vector
%global common_summary Haskell %{pkg_name} library
@@ -24,47 +24,57 @@
Name: ghc-vector
Version: 0.10.0.1
Release: 1
Release: 0
Summary: %{common_summary}
Group: System/Libraries
License: BSD-3-Clause
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
ExclusiveArch: %{ix86} x86_64 %{ghc_arches}
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-primitive-devel
BuildRequires: ghc-rpm-macros
# END cabal2spec
%description
%{common_description}
%package devel
Summary: Haskell %{pkg_name} library development files
Group: Development/Languages/Other
Requires: ghc-compiler
Requires(post): ghc-compiler
Requires(postun): ghc-compiler
Requires: %{name} = %{version}-%{release}
%description devel
%{common_description}
This package contains the development files.
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache
# devel subpackage
%ghc_devel_package
%postun devel
%ghc_pkg_recache
%ghc_devel_description
%ghc_devel_post_postun
%ghc_files LICENSE
%files -f %{name}.files
%defattr(-,root,root,-)
%doc LICENSE
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%changelog