forked from pool/ghc-data-default
Accepting request 185721 from devel:languages:haskell:pandoc
Updated packaging. OBS-URL: https://build.opensuse.org/request/show/185721 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-data-default?expand=0&rev=4
This commit is contained in:
parent
29dff52e48
commit
af42c2b221
2
_service
2
_service
@ -1,3 +1,3 @@
|
||||
<services>
|
||||
<service name="download_files"/>
|
||||
<service name="download_files" mode="localonly"/>
|
||||
</services>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e915f012765bfda27c2d8555c634e7812c0c1f88d2b9409d216ccea49c9d7b59
|
||||
size 1868
|
3
data-default-0.5.0.tar.gz
Normal file
3
data-default-0.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4ad884231906e064b9c74f511b542d7ee5032fbe055e95023c1a10999ae468f3
|
||||
size 2005
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 25 14:25:35 UTC 2013 - peter.trommler@ohm-hochschule.de
|
||||
|
||||
- update to 0.5.0 from upstream (no changelog)
|
||||
- required by pandoc 1.10
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 8 11:25:21 UTC 2012 - peter.trommler@ohm-hochschule.de
|
||||
|
||||
|
@ -1,8 +1,7 @@
|
||||
#
|
||||
# spec file for ghc-data-default
|
||||
# spec file for package ghc-data-default
|
||||
#
|
||||
|
||||
# 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,61 +15,60 @@
|
||||
# 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 data-default
|
||||
|
||||
%global common_summary Haskell %{pkg_name} library
|
||||
|
||||
%global common_description A %{pkg_name} library for Haskell.
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.3.0
|
||||
Release: 1
|
||||
Summary: %{common_summary}
|
||||
|
||||
Group: System/Libraries
|
||||
Name: ghc-data-default
|
||||
Version: 0.5.0
|
||||
Release: 0
|
||||
Summary: Haskell types with default values
|
||||
License: BSD-3-Clause
|
||||
Group: System/Libraries
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# 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
|
||||
ExclusiveArch: %{ix86} x86_64 %{ghc_arches}
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
||||
BuildRequires: ghc-rpm-macros
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-containers-devel
|
||||
BuildRequires: ghc-dlist-devel
|
||||
BuildRequires: ghc-old-locale-devel
|
||||
# END cabal2spec
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
A Haskell class for types with a default value
|
||||
|
||||
%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 Haskell class for types with a default value
|
||||
%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
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user