Accepting request 259833 from devel:languages:haskell:platform

Haskell Platform 2014.2.0.0 update

OBS-URL: https://build.opensuse.org/request/show/259833
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-attoparsec?expand=0&rev=5
This commit is contained in:
Peter Trommler 2014-11-06 19:14:56 +00:00 committed by Git OBS Bridge
parent c8d7cb646e
commit a267d73de0
2 changed files with 30 additions and 27 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 2 08:34:11 UTC 2014 - peter.trommler@ohm-hochschule.de
- regenerate spec file
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Aug 23 00:07:38 UTC 2014 - peter.trommler@ohm-hochschule.de Sat Aug 23 00:07:38 UTC 2014 - peter.trommler@ohm-hochschule.de
@ -17,7 +22,7 @@ Mon May 6 15:08:29 UTC 2013 - peter.trommler@ohm-hochschule.de
Mon Feb 4 09:38:03 UTC 2013 - peter.trommler@ohm-hochschule.de Mon Feb 4 09:38:03 UTC 2013 - peter.trommler@ohm-hochschule.de
- update to 0.10.4.0 from upstream (no changelog) - update to 0.10.4.0 from upstream (no changelog)
- fixes bugs an performance issues - fixes bugs and performance issues
- currently under consideration for inclusion in Haskell Platform - currently under consideration for inclusion in Haskell Platform
------------------------------------------------------------------- -------------------------------------------------------------------

View File

@ -1,8 +1,7 @@
# #
# spec file for package ghc-attoparsec # spec file for package ghc-attoparsec
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Peter Trommler <peter.trommler@ohm-hochschule.de>
# #
# 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
@ -16,56 +15,54 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%global pkg_name attoparsec %global pkg_name attoparsec
%global common_summary Haskell fast combinator parsing for bytestrings and text
%global common_description A fast parser combinator library for Haskell, aimed particularly at dealing efficiently with network protocols and complicated text/binary file formats.
Name: ghc-attoparsec Name: ghc-attoparsec
Version: 0.10.4.0 Version: 0.10.4.0
Release: 0 Release: 0
Summary: %{common_summary} Summary: Fast combinator parsing for bytestrings and text
Group: System/Libraries
License: BSD-3-Clause License: BSD-3-Clause
# BEGIN cabal2spec Group: System/Libraries
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 %{!?without_hscolour:hscolour} BuildRequires: ghc-rpm-macros
# END cabal2spec # Begin cabal-rpm deps:
BuildRequires: ghc-array-devel BuildRequires: ghc-array-devel
BuildRequires: ghc-bytestring-devel BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel BuildRequires: ghc-containers-devel
Buildrequires: ghc-deepseq-devel BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-text-devel BuildRequires: ghc-text-devel
# End cabal-rpm deps
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
%{common_description} A fast parser combinator library, aimed particularly at dealing efficiently
with network protocols and complicated text/binary file formats.
%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}
%build %build
%ghc_lib_build %ghc_lib_build
%install %install
%ghc_lib_install %ghc_lib_install
@ -77,9 +74,10 @@ This package contains the development files.
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc LICENSE README.markdown %doc LICENSE
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc examples README.markdown
%changelog %changelog