Accepting request 185718 from devel:languages:haskell:pandoc
Updated packaging. OBS-URL: https://build.opensuse.org/request/show/185718 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-blaze-html?expand=0&rev=5
This commit is contained in:
parent
29f053c937
commit
b5609fd104
4
_service
4
_service
@ -1,3 +1,3 @@
|
|||||||
<services>
|
<services>
|
||||||
<service name="download_files"/>
|
<service name="download_files" mode="localonly"/>
|
||||||
</services>
|
</services>
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b0e3cacac02136290664b9ad4b6200d7f1ee1749778ca9b981a1ae8bcc3745b8
|
|
||||||
size 77460
|
|
3
blaze-html-0.6.1.1.tar.gz
Normal file
3
blaze-html-0.6.1.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2cafc98ccbb3b9dc9c444ae306337b2aa7fd0be54b650bf208a656a8f6acee23
|
||||||
|
size 77759
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 15 14:25:47 UTC 2013 - peter.trommler@ohm-hochschule.de
|
||||||
|
|
||||||
|
- update to 0.6.1.1 from upstream (no changelog)
|
||||||
|
* base, keygen, and source elements are considered leaf elements
|
||||||
|
* dependencies for test framework adjusted
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 3 07:20:49 UTC 2012 - peter.trommler@ohm-hochschule.de
|
Wed Oct 3 07:20:49 UTC 2012 - peter.trommler@ohm-hochschule.de
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for ghc-blaze-html
|
# spec file for package ghc-blaze-html
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2012 Peter Trommler peter.trommler@ohm-hochschule.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,62 +15,70 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# cabal2spec-0.25
|
|
||||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
||||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
||||||
|
|
||||||
%global pkg_name blaze-html
|
%global pkg_name blaze-html
|
||||||
|
|
||||||
%global common_summary Haskell %{pkg_name} library
|
Name: ghc-blaze-html
|
||||||
|
Version: 0.6.1.1
|
||||||
%global common_description A %{pkg_name} library for Haskell.
|
Release: 0
|
||||||
|
Summary: A blazingly fast HTML combinator library for Haskell
|
||||||
Name: ghc-%{pkg_name}
|
|
||||||
Version: 0.5.1.0
|
|
||||||
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-blaze-builder-devel
|
BuildRequires: ghc-blaze-builder-devel
|
||||||
BuildRequires: ghc-blaze-markup-devel
|
BuildRequires: ghc-blaze-markup-devel
|
||||||
BuildRequires: ghc-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
BuildRequires: ghc-text-devel
|
BuildRequires: ghc-text-devel
|
||||||
# END cabal2spec
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{common_description}
|
A blazingly fast HTML 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
|
||||||
|
A blazingly fast HTML 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
|
%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
|
||||||
|
|
||||||
%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
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user