Accepting request 185722 from devel:languages:haskell:pandoc

Updated packaging.

OBS-URL: https://build.opensuse.org/request/show/185722
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-digest?expand=0&rev=6
This commit is contained in:
Peter Trommler 2013-08-03 08:27:45 +00:00 committed by Git OBS Bridge
parent c4e2931655
commit ef55588320
5 changed files with 55 additions and 37 deletions

View File

@ -1,3 +1,3 @@
<services> <services>
<service name="download_files"/> <service name="download_files" mode="localonly"/>
</services> </services>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7bb8b85959cfb3c6539aa2f2104c14aec9758a3a5d6039aba975299fdcd704d4
size 3781

3
digest-0.0.1.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:641717eb16392abf8965986a9e8dc21eebf1d97775bbb6923c7b7f8fee17fe11
size 3790

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 13 15:17:05 UTC 2013 - peter.trommler@ohm-hochschule.de
- update to 0.0.1.2 from upstream (no changelog)
* minor change in cabal flag default
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 3 07:45:23 UTC 2012 - peter.trommler@ohm-hochschule.de Wed Oct 3 07:45:23 UTC 2012 - peter.trommler@ohm-hochschule.de

View File

@ -1,8 +1,7 @@
# #
# spec file for ghc-digest # spec file for package ghc-digest
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Herbert Graeber <herbert@graeber-clan.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,57 +15,70 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%global pkg_name digest %global pkg_name digest
%global common_summary Various cryptographic hashes for bytestrings Name: ghc-digest
Version: 0.0.1.2
%global common_description This package provides efficient cryptographic hash implementations for strict and lazy bytestrings. For now, CRC32 and Adler32 are supported; they are implemented as FFI bindings to efficient code from zlib. Release: 0
Summary: Various hashes for Haskell bytestrings
Name: ghc-%{pkg_name}
Version: 0.0.1.1
Release: 1
Summary: %{common_summary}
Group: System/Libraries
License: BSD-3-Clause License: BSD-3-Clause
BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: System/Libraries
# BEGIN cabal2spec
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
ExclusiveArch: %{ix86} x86_64 %{ghc_arches} BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-bytestring-devel BuildRequires: ghc-bytestring-devel
BuildRequires: zlib-devel BuildRequires: zlib-devel
# END cabal2spec # End cabal-rpm deps
%description %description
%{common_description} This package provides efficient cryptographic hash implementations for
strict and lazy bytestrings. For now, CRC32 and Adler32 are supported;
they are implemented as FFI bindings to efficient code from zlib.
%package devel
Summary: Haskell %{pkg_name} library development files
Group: Development/Libraries/Other
Requires: ghc-compiler
Requires(post): ghc-compiler
Requires(postun): ghc-compiler
Requires: %{name} = %{version}-%{release}
# Begin cabal-rpm deps:
Requires: zlib-devel
# End cabal-rpm deps
%description devel
This package provides efficient cryptographic hash implementations for
strict and lazy bytestrings. For now, CRC32 and Adler32 are supported;
they are implemented as FFI bindings to efficient code from zlib.
%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
%post devel
%ghc_pkg_recache
# devel subpackage %postun devel
%ghc_devel_package %ghc_pkg_recache
Requires: zlib-devel
%ghc_devel_description %files -f %{name}.files
%defattr(-,root,root)
%doc LICENSE
%ghc_devel_post_postun
%ghc_files LICENSE
%files devel -f %{name}-devel.files
%defattr(-,root,root)
%changelog %changelog