2012-06-06 19:53:34 +02:00
|
|
|
#
|
2013-01-07 15:24:44 +01:00
|
|
|
# spec file for package ghc-network
|
2012-06-06 19:53:34 +02:00
|
|
|
#
|
2012-01-12 16:30:41 +01:00
|
|
|
|
|
|
|
# Copyright (c) 2012 Peter Trommler peter.trommler@ohm-hochschule.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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
%global pkg_name network
|
|
|
|
|
2012-06-06 19:53:34 +02:00
|
|
|
%global common_summary Haskell Low-level networking interface library
|
2012-01-12 16:30:41 +01:00
|
|
|
|
2012-06-06 19:53:34 +02:00
|
|
|
%global common_description A low-level networking interface library for Haskell.
|
2012-01-12 16:30:41 +01:00
|
|
|
|
2013-01-07 15:24:44 +01:00
|
|
|
Name: ghc-network
|
2012-11-17 18:11:49 +01:00
|
|
|
Version: 2.3.1.0
|
2012-01-12 16:30:41 +01:00
|
|
|
Release: 1
|
|
|
|
Summary: %{common_summary}
|
|
|
|
|
2012-06-06 19:53:34 +02:00
|
|
|
Group: System/Libraries
|
2012-02-28 16:49:16 +01:00
|
|
|
License: BSD-3-Clause
|
2012-06-06 19:53:34 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-01-12 16:30: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-06 19:53:34 +02:00
|
|
|
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
|
|
|
BuildRequires: ghc-bytestring-devel
|
|
|
|
BuildRequires: ghc-parsec-devel
|
2012-01-12 16:30:41 +01:00
|
|
|
# END cabal2spec
|
2012-02-28 16:49:16 +01:00
|
|
|
|
2012-01-12 16:30:41 +01:00
|
|
|
%description
|
|
|
|
%{common_description}
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
2012-06-06 19:53:34 +02:00
|
|
|
# devel subpackage
|
|
|
|
%ghc_devel_package
|
2012-01-12 16:30:41 +01:00
|
|
|
|
2012-06-06 19:53:34 +02:00
|
|
|
%ghc_devel_description
|
2012-01-12 16:30:41 +01:00
|
|
|
|
|
|
|
|
2012-06-06 19:53:34 +02:00
|
|
|
%ghc_devel_post_postun
|
2012-01-12 16:30:41 +01:00
|
|
|
|
|
|
|
|
2012-06-06 19:53:34 +02:00
|
|
|
%ghc_files LICENSE
|
2012-01-12 16:30:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|