Accepting request 185716 from devel:languages:haskell:pandoc
Updated packaging. OBS-URL: https://build.opensuse.org/request/show/185716 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-base64-bytestring?expand=0&rev=6
This commit is contained in:
parent
a8f5db1cf9
commit
165a47e5b0
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:759fbb0f8f3ff26c4ad3e71fbcccfd472bc1a4eefe4b5508ce78a8793305197c
|
|
||||||
size 8861
|
|
3
base64-bytestring-1.0.0.1.tar.gz
Normal file
3
base64-bytestring-1.0.0.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ab25abf4b00a2f52b270bc3ed43f1d59f16c8eec9d7dffb14df1e9265b233b50
|
||||||
|
size 9080
|
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 13 12:56:05 UTC 2013 - peter.trommler@ohm-hochschule.de
|
||||||
|
|
||||||
|
- new packaging guidelines
|
||||||
|
* no macros spanning multiple spec file sections
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 13 12:54:45 UTC 2013 - peter.trommler@ohm-hochschule.de
|
||||||
|
|
||||||
|
- update to 1.0.0.1 from upstream
|
||||||
|
- performance improvements
|
||||||
|
* encoding 5%
|
||||||
|
* decodeLenient 50%
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Nov 18 11:05:29 UTC 2012 - peter.trommler@ohm-hochschule.de
|
Sun Nov 18 11:05:29 UTC 2012 - peter.trommler@ohm-hochschule.de
|
||||||
|
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for ghc-base64-bytestring
|
# spec file for package ghc-base64-bytestring
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2012 Herbert Graeber <herbert@graeber-clan.de>
|
|
||||||
# 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
|
||||||
@ -17,58 +15,63 @@
|
|||||||
# 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 base64-bytestring
|
%global pkg_name base64-bytestring
|
||||||
|
|
||||||
%global common_summary Haskell %{pkg_name} library
|
Name: ghc-base64-bytestring
|
||||||
|
Version: 1.0.0.1
|
||||||
%global common_description A %{pkg_name} library for Haskell.
|
Release: 0
|
||||||
|
Summary: Haskell base64 encoding and decoding for ByteStrings
|
||||||
Name: ghc-%{pkg_name}
|
|
||||||
Version: 1.0.0.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
|
||||||
# END cabal2spec
|
# Begin cabal-rpm deps:
|
||||||
|
BuildRequires: ghc-bytestring-devel
|
||||||
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{common_description}
|
Haskell library for fast base64 encoding and decoding for ByteStrings.
|
||||||
|
|
||||||
|
|
||||||
|
%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
|
||||||
|
Fast base64 encoding and decoding for ByteStrings library development files.
|
||||||
|
|
||||||
|
|
||||||
%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
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc README.markdown
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user