2015-05-02 09:47:02 +00:00
|
|
|
#
|
|
|
|
# spec file for package ghc-conduit-extra
|
|
|
|
#
|
2016-07-10 15:31:02 +00:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2015-05-02 09:47:02 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2015-05-17 15:09:41 +00:00
|
|
|
|
2015-05-02 09:47:02 +00:00
|
|
|
%global pkg_name conduit-extra
|
|
|
|
%bcond_with tests
|
2016-07-17 13:28:49 +00:00
|
|
|
Name: ghc-%{pkg_name}
|
2016-11-23 13:51:19 +00:00
|
|
|
Version: 1.1.15
|
2015-05-02 09:47:02 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Batteries included conduit: adapters for common libraries
|
2015-05-17 15:09:41 +00:00
|
|
|
License: MIT
|
2016-09-28 11:52:35 +00:00
|
|
|
Group: Development/Languages/Other
|
2015-05-02 09:47:02 +00:00
|
|
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
2016-04-03 15:16:00 +00:00
|
|
|
BuildRequires: ghc-async-devel
|
2015-05-02 09:47:02 +00:00
|
|
|
BuildRequires: ghc-attoparsec-devel
|
|
|
|
BuildRequires: ghc-blaze-builder-devel
|
|
|
|
BuildRequires: ghc-bytestring-devel
|
|
|
|
BuildRequires: ghc-conduit-devel
|
|
|
|
BuildRequires: ghc-directory-devel
|
2016-03-08 09:03:31 +00:00
|
|
|
BuildRequires: ghc-exceptions-devel
|
2015-05-02 09:47:02 +00:00
|
|
|
BuildRequires: ghc-filepath-devel
|
|
|
|
BuildRequires: ghc-monad-control-devel
|
|
|
|
BuildRequires: ghc-network-devel
|
|
|
|
BuildRequires: ghc-primitive-devel
|
|
|
|
BuildRequires: ghc-process-devel
|
|
|
|
BuildRequires: ghc-resourcet-devel
|
2016-07-17 13:28:49 +00:00
|
|
|
BuildRequires: ghc-rpm-macros
|
2015-05-02 09:47:02 +00:00
|
|
|
BuildRequires: ghc-stm-devel
|
|
|
|
BuildRequires: ghc-streaming-commons-devel
|
|
|
|
BuildRequires: ghc-text-devel
|
|
|
|
BuildRequires: ghc-transformers-base-devel
|
|
|
|
BuildRequires: ghc-transformers-devel
|
2016-07-17 13:28:49 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2015-05-02 09:47:02 +00:00
|
|
|
%if %{with tests}
|
2016-07-17 13:28:49 +00:00
|
|
|
BuildRequires: ghc-QuickCheck-devel
|
2015-05-02 09:47:02 +00:00
|
|
|
BuildRequires: ghc-bytestring-builder-devel
|
|
|
|
BuildRequires: ghc-hspec-devel
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
|
|
|
The conduit package itself maintains relative small dependencies. The purpose
|
|
|
|
of this package is to collect commonly used utility functions wrapping other
|
|
|
|
library dependencies, without depending on heavier-weight dependencies.
|
|
|
|
The basic idea is that this package should only depend on haskell-platform
|
|
|
|
packages and conduit.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Haskell %{pkg_name} library development files
|
|
|
|
Group: Development/Libraries/Other
|
2016-07-17 13:28:49 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2015-05-02 09:47:02 +00:00
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
|
|
Requires(post): ghc-compiler = %{ghc_version}
|
|
|
|
Requires(postun): ghc-compiler = %{ghc_version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
%check
|
2016-09-28 11:52:35 +00:00
|
|
|
%cabal_test
|
2016-07-17 13:28:49 +00:00
|
|
|
|
2015-05-02 09:47:02 +00:00
|
|
|
%post devel
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
%postun devel
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%files devel -f %{name}-devel.files
|
|
|
|
%defattr(-,root,root,-)
|
2016-07-17 13:28:49 +00:00
|
|
|
%doc ChangeLog.md README.md
|
2015-05-02 09:47:02 +00:00
|
|
|
|
|
|
|
%changelog
|