SHA256
1
0
forked from pool/ghc-xml

Accepting request 185731 from devel:languages:haskell:pandoc

Updated packaging.

OBS-URL: https://build.opensuse.org/request/show/185731
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-xml?expand=0&rev=5
This commit is contained in:
Peter Trommler 2013-08-03 08:33:06 +00:00 committed by Git OBS Bridge
parent e0b9c47b30
commit 96225b7a0e
5 changed files with 47 additions and 39 deletions

View File

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

View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed May 15 13:51:42 UTC 2013 - peter.trommler@ohm-hochschule.de
- update to 1.3.13 from upstream
- added functionality
* support for extracting characters with a custom function
-------------------------------------------------------------------
Thu Jun 7 17:27:37 UTC 2012 - peter.trommler@ohm-hochschule.de

View File

@ -1,8 +1,7 @@
#
# spec file for ghc-xml
# spec file for package ghc-xml
#
# 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,62 @@
# 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 xml
%global common_summary Haskell simple XML library
%global common_description A simple XML library for Haskell.
Name: ghc-%{pkg_name}
Version: 1.3.12
Release: 1
Summary: %{common_summary}
Group: System/Libraries
Name: ghc-xml
Version: 1.3.13
Release: 0
Summary: A simple XML library
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-bytestring-devel
BuildRequires: ghc-text-devel
# END cabal2spec
# End cabal-rpm deps
%description
%{common_description}
A simple Haskell library for XML processing.
%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 simple Haskell library for XML processing.
%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

3
xml-1.3.13.tar.gz Normal file
View File

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