Accepting request 454909 from devel:languages:haskell
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/454909 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zip-archive?expand=0&rev=6
This commit is contained in:
commit
6d33708927
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 23 20:28:10 UTC 2017 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update to version 0.3.0.5 revision 1 with cabal2obs.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 15 06:55:45 UTC 2016 - psimons@suse.com
|
Thu Sep 15 06:55:45 UTC 2016 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-zip-archive
|
# spec file for package ghc-zip-archive
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -26,6 +26,7 @@ License: BSD-3-Clause
|
|||||||
Group: Development/Languages/Other
|
Group: Development/Languages/Other
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
|
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-array-devel
|
BuildRequires: ghc-array-devel
|
||||||
BuildRequires: ghc-binary-devel
|
BuildRequires: ghc-binary-devel
|
||||||
@ -66,6 +67,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
@ -88,6 +90,5 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README.markdown changelog
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
75
zip-archive.cabal
Normal file
75
zip-archive.cabal
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
Name: zip-archive
|
||||||
|
Version: 0.3.0.5
|
||||||
|
x-revision: 1
|
||||||
|
Cabal-Version: >= 1.10
|
||||||
|
Build-type: Custom
|
||||||
|
Synopsis: Library for creating and modifying zip archives.
|
||||||
|
Description: The zip-archive library provides functions for creating, modifying,
|
||||||
|
and extracting files from zip archives.
|
||||||
|
Category: Codec
|
||||||
|
Tested-with: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.2
|
||||||
|
License: BSD3
|
||||||
|
License-file: LICENSE
|
||||||
|
Homepage: http://github.com/jgm/zip-archive
|
||||||
|
Author: John MacFarlane
|
||||||
|
Maintainer: jgm@berkeley.edu
|
||||||
|
Extra-Source-Files: changelog, README.markdown
|
||||||
|
|
||||||
|
Source-repository head
|
||||||
|
type: git
|
||||||
|
location: git://github.com/jgm/zip-archive.git
|
||||||
|
|
||||||
|
flag splitBase
|
||||||
|
Description: Choose the new, smaller, split-up base package.
|
||||||
|
Default: True
|
||||||
|
flag executable
|
||||||
|
Description: Build the Zip executable.
|
||||||
|
Default: False
|
||||||
|
|
||||||
|
custom-setup
|
||||||
|
setup-depends: base, Cabal
|
||||||
|
|
||||||
|
Library
|
||||||
|
if flag(splitBase)
|
||||||
|
Build-depends: base >= 3 && < 5, pretty, containers
|
||||||
|
else
|
||||||
|
Build-depends: base < 3
|
||||||
|
Build-depends: binary >= 0.5, zlib, filepath, bytestring >= 0.9.0,
|
||||||
|
array, mtl, text >= 0.11, old-time, digest >= 0.0.0.1,
|
||||||
|
directory, time
|
||||||
|
Exposed-modules: Codec.Archive.Zip
|
||||||
|
Default-Language: Haskell98
|
||||||
|
Hs-Source-Dirs: src
|
||||||
|
Ghc-Options: -Wall
|
||||||
|
if os(windows)
|
||||||
|
cpp-options: -D_WINDOWS
|
||||||
|
else
|
||||||
|
Build-depends: unix
|
||||||
|
|
||||||
|
Executable Zip
|
||||||
|
if flag(executable)
|
||||||
|
Buildable: True
|
||||||
|
else
|
||||||
|
Buildable: False
|
||||||
|
Main-is: Zip.hs
|
||||||
|
Hs-Source-Dirs: .
|
||||||
|
Build-Depends: base >= 4.2 && < 5, directory >= 1.1, bytestring >= 0.9.0,
|
||||||
|
zip-archive
|
||||||
|
Other-Modules: Paths_zip_archive
|
||||||
|
Ghc-Options: -Wall
|
||||||
|
Default-Language: Haskell98
|
||||||
|
|
||||||
|
Test-Suite test-zip-archive
|
||||||
|
Type: exitcode-stdio-1.0
|
||||||
|
Main-Is: test-zip-archive.hs
|
||||||
|
Hs-Source-Dirs: tests
|
||||||
|
Build-Depends: base >= 4.2 && < 5,
|
||||||
|
directory, bytestring >= 0.9.0, process, time, old-time,
|
||||||
|
HUnit, zip-archive, temporary
|
||||||
|
Default-Language: Haskell98
|
||||||
|
Ghc-Options: -Wall
|
||||||
|
Build-Tools: zip
|
||||||
|
if os(windows)
|
||||||
|
cpp-options: -D_WINDOWS
|
||||||
|
else
|
||||||
|
Build-depends: unix
|
Loading…
Reference in New Issue
Block a user