2012-06-07 09:59:07 +00:00
|
|
|
#
|
|
|
|
# spec file for ghc-zip-archive
|
|
|
|
#
|
2009-08-02 18:38:09 +00:00
|
|
|
|
2012-01-19 17:10:15 +00: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-08-02 18:38:09 +00:00
|
|
|
|
2012-01-19 17:10:15 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
2009-08-02 18:38:09 +00:00
|
|
|
|
2012-01-19 17:10:15 +00:00
|
|
|
%global pkg_name zip-archive
|
2009-08-02 18:38:09 +00:00
|
|
|
|
2012-06-07 09:59:07 +00:00
|
|
|
%global common_summary Haskell library for creating and modifying zip archives
|
2009-08-02 18:38:09 +00:00
|
|
|
|
2012-06-07 09:59:07 +00:00
|
|
|
%global common_description The zip-archive library provides functions for creating, modifying, and extracting files from zip archives.
|
2009-08-02 18:38:09 +00:00
|
|
|
|
2012-01-19 17:10:15 +00:00
|
|
|
Name: ghc-%{pkg_name}
|
2012-11-28 08:26:06 +00:00
|
|
|
Version: 0.1.1.8
|
2012-01-19 17:10:15 +00:00
|
|
|
Release: 1
|
|
|
|
Summary: %{common_summary}
|
|
|
|
|
2012-06-07 09:59:07 +00:00
|
|
|
Group: System/Libraries
|
2012-02-29 12:54:23 +00:00
|
|
|
License: BSD-3-Clause
|
2012-06-07 09:59:07 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-01-19 17:10:15 +00: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-07 09:59:07 +00:00
|
|
|
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
2012-01-19 17:10:15 +00:00
|
|
|
BuildRequires: ghc-binary-devel
|
|
|
|
BuildRequires: ghc-bytestring-devel >= 0.9.0
|
|
|
|
BuildRequires: ghc-digest-devel >= 0.0.0.1
|
|
|
|
BuildRequires: ghc-mtl-devel
|
|
|
|
BuildRequires: ghc-utf8-string-devel >= 0.3.1
|
|
|
|
BuildRequires: ghc-zlib-devel
|
|
|
|
# END cabal2spec
|
2012-02-29 12:54:23 +00:00
|
|
|
|
2012-01-19 17:10:15 +00:00
|
|
|
%description
|
|
|
|
%{common_description}
|
2009-08-02 18:38:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2012-01-19 17:10:15 +00:00
|
|
|
%ghc_lib_build
|
2009-08-02 18:38:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2012-01-19 17:10:15 +00:00
|
|
|
%ghc_lib_install
|
2009-08-02 18:38:09 +00:00
|
|
|
|
|
|
|
|
2012-06-07 09:59:07 +00:00
|
|
|
# devel subpackage
|
|
|
|
%ghc_devel_package
|
2009-08-02 18:38:09 +00:00
|
|
|
|
2012-06-07 09:59:07 +00:00
|
|
|
%ghc_devel_description
|
2009-08-02 18:38:09 +00:00
|
|
|
|
|
|
|
|
2012-06-07 09:59:07 +00:00
|
|
|
%ghc_devel_post_postun
|
2009-08-02 18:38:09 +00:00
|
|
|
|
|
|
|
|
2012-06-07 09:59:07 +00:00
|
|
|
%ghc_files LICENSE
|
2009-08-02 18:38:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|