Accepting request 185732 from devel:languages:haskell:pandoc

Updated packaging.

OBS-URL: https://build.opensuse.org/request/show/185732
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zip-archive?expand=0&rev=6
This commit is contained in:
Peter Trommler 2013-08-03 08:33:34 +00:00 committed by Git OBS Bridge
parent 4129b1c9c4
commit 2eb8cde6d5
5 changed files with 69 additions and 39 deletions

View File

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

View File

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

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Wed May 15 15:21:20 UTC 2013 - peter.trommler@ohm-hochschule.de
- new spec file template generated by cabal-rpm
-------------------------------------------------------------------
Mon Mar 11 14:39:51 UTC 2013 - peter.trommler@ohm-hochschule.de
- update to 0.1.3.4 from upstream
* use new binary API
* use new directory API
* general code cleanup
* added testsuite
- requirement for pandoc 1.11
-------------------------------------------------------------------
Wed Oct 3 07:56:00 UTC 2012 - peter.trommler@ohm-hochschule.de

View File

@ -1,8 +1,7 @@
#
# spec file for ghc-zip-archive
# spec file for package ghc-zip-archive
#
# Copyright (c) 2012 Herbert Graeber <herbert@graeber-clan.de>
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,60 +15,76 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%global pkg_name zip-archive
%global common_summary Haskell library for creating and modifying zip archives
%global common_description The zip-archive library provides functions for creating, modifying, and extracting files from zip archives.
Name: ghc-%{pkg_name}
Version: 0.1.1.8
Release: 1
Summary: %{common_summary}
Group: System/Libraries
Name: ghc-zip-archive
Version: 0.1.3.4
Release: 0
Summary: Library for creating and modifying zip archives
License: BSD-3-Clause
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# BEGIN cabal2spec
URL: http://hackage.haskell.org/package/%{pkg_name}
Group: System/Libraries
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}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-array-devel
BuildRequires: ghc-binary-devel
BuildRequires: ghc-bytestring-devel >= 0.9.0
BuildRequires: ghc-digest-devel >= 0.0.0.1
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-digest-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-utf8-string-devel >= 0.3.1
BuildRequires: ghc-old-time-devel
BuildRequires: ghc-pretty-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-unix-devel
BuildRequires: ghc-utf8-string-devel
BuildRequires: ghc-zlib-devel
# END cabal2spec
# End cabal-rpm deps
%description
%{common_description}
The zip-archive library provides functions for creating, modifying,
and extracting files from zip archives.
%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}
%description devel
The zip-archive library provides functions for creating, modifying,
and extracting files from zip archives.
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache
# devel subpackage
%ghc_devel_package
%postun devel
%ghc_pkg_recache
%ghc_devel_description
%ghc_devel_post_postun
%ghc_files LICENSE
%files -f %{name}.files
%defattr(-,root,root)
%doc LICENSE
%files devel -f %{name}-devel.files
%changelog

View File

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