Accepting request 185719 from devel:languages:haskell:pandoc

Updated packaging.

OBS-URL: https://build.opensuse.org/request/show/185719
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-blaze-markup?expand=0&rev=3
This commit is contained in:
Peter Trommler 2013-08-03 08:25:26 +00:00 committed by Git OBS Bridge
parent 8e2bbe8208
commit 1c1012ce8a
4 changed files with 50 additions and 34 deletions

View File

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

View File

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 14 12:36:42 UTC 2013 - peter.trommler@ohm-hochschule.de
- update to 0.5.1.5 from upstream (no changelog)
-------------------------------------------------------------------
Sun Nov 18 11:11:46 UTC 2012 - peter.trommler@ohm-hochschule.de

View File

@ -1,8 +1,7 @@
#
# spec file for ghc-blaze-markup
# spec file for package ghc-blaze-markup
#
# Copyright (c) 2012 Peter Trommler peter.trommler@ohm-hochschule.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,57 +15,69 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%global pkg_name blaze-markup
%global common_summary Haskell %{pkg_name} library
%global common_description A %{pkg_name} library for Haskell.
Name: ghc-%{pkg_name}
Version: 0.5.1.1
Release: 1
Summary: %{common_summary}
Group: System/Libraries
Name: ghc-blaze-markup
Version: 0.5.1.5
Release: 0
Summary: A blazingly fast markup combinator library for Haskell
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-blaze-builder-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-text-devel
# END cabal2spec
# End cabal-rpm deps
%description
%{common_description}
Core modules of a blazingly fast markup combinator library for the Haskell
programming language. The Text.Blaze module is a good
starting point, as well as this tutorial:
<http://jaspervdj.be/blaze/tutorial.html>.
%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
Core modules of a blazingly fast markup combinator library for the Haskell
programming language. The Text.Blaze module is a good
starting point, as well as this tutorial:
<http://jaspervdj.be/blaze/tutorial.html>.
%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