Accepting request 124053 from home:ptrommler:pandoc
pandoc: Haskell Platform 2012.2.0.0 update OBS-URL: https://build.opensuse.org/request/show/124053 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zip-archive?expand=0&rev=4
This commit is contained in:
parent
50247cd461
commit
4edff6672c
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 7 08:27:48 UTC 2012 - peter.trommler@ohm-hochschule.de
|
||||||
|
|
||||||
|
- cabal2spec 0.25.5 spec file template
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 18 20:38:15 UTC 2012 - herbert@graeber-clan.de
|
Wed Jan 18 20:38:15 UTC 2012 - herbert@graeber-clan.de
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# For Haskell Packaging Guidelines see:
|
#
|
||||||
# - https://fedoraproject.org/wiki/Packaging:Haskell
|
# spec file for ghc-zip-archive
|
||||||
# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
#
|
||||||
|
|
||||||
# Copyright (c) 2012 Herbert Graeber <herbert@graeber-clan.de>
|
# Copyright (c) 2012 Herbert Graeber <herbert@graeber-clan.de>
|
||||||
#
|
#
|
||||||
@ -16,72 +16,47 @@
|
|||||||
# 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 zip-archive
|
%global pkg_name zip-archive
|
||||||
|
|
||||||
# common part of summary for all the subpackages
|
%global common_summary Haskell library for creating and modifying zip archives
|
||||||
%global common_summary Haskell %{pkg_name} library
|
|
||||||
|
|
||||||
# main description used for all the subpackages
|
%global common_description The zip-archive library provides functions for creating, modifying, and extracting files from zip archives.
|
||||||
%global common_description A %{pkg_name} library for Haskell.
|
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.1.1.7
|
Version: 0.1.1.7
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: %{common_summary}
|
Summary: %{common_summary}
|
||||||
|
|
||||||
Group: Development/Libraries/Other
|
Group: System/Libraries
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# BEGIN cabal2spec
|
# 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}
|
ExclusiveArch: %{ix86} x86_64 %{ghc_arches}
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
||||||
%if %{undefined without_hscolour}
|
|
||||||
BuildRequires: hscolour
|
|
||||||
%endif
|
|
||||||
BuildRequires: ghc-binary-devel
|
BuildRequires: ghc-binary-devel
|
||||||
BuildRequires: ghc-bytestring-devel >= 0.9.0
|
BuildRequires: ghc-bytestring-devel >= 0.9.0
|
||||||
BuildRequires: ghc-digest-devel >= 0.0.0.1
|
BuildRequires: ghc-digest-devel >= 0.0.0.1
|
||||||
BuildRequires: ghc-mtl-devel
|
BuildRequires: ghc-mtl-devel
|
||||||
BuildRequires: ghc-utf8-string-devel >= 0.3.1
|
BuildRequires: ghc-utf8-string-devel >= 0.3.1
|
||||||
BuildRequires: ghc-zlib-devel
|
BuildRequires: ghc-zlib-devel
|
||||||
|
|
||||||
# END cabal2spec
|
# END cabal2spec
|
||||||
# BR any C devel dependency here
|
|
||||||
# list ghc-*-prof dependencies:
|
|
||||||
|
|
||||||
%if %{defined sles_version}
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{common_description}
|
%{common_description}
|
||||||
|
|
||||||
|
|
||||||
%package -n ghc-%{pkg_name}-devel
|
|
||||||
Summary: Development files for %{common_summary}
|
|
||||||
Group: Development/Libraries/Other
|
|
||||||
# BEGIN cabal2spec
|
|
||||||
%{?ghc_devel_requires}
|
|
||||||
Obsoletes: ghc-%{pkg_name}-prof < %{version}-%{release}
|
|
||||||
Provides: ghc-%{pkg_name}-prof = %{version}-%{release}
|
|
||||||
# END cabal2spec
|
|
||||||
# remember to require any C devel dependency here
|
|
||||||
# Haskell devel dependencies are autogenerated by ghc-deps.sh
|
|
||||||
|
|
||||||
%description -n ghc-%{pkg_name}-devel
|
|
||||||
%{common_description}
|
|
||||||
|
|
||||||
This package contains the development files.
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#%%define cabal_configure_options -f "opt1 -opt2 ..."
|
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
|
||||||
|
|
||||||
@ -89,22 +64,16 @@ This package contains the development files.
|
|||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
|
||||||
|
|
||||||
%post -n ghc-%{pkg_name}-devel
|
# devel subpackage
|
||||||
%ghc_pkg_recache
|
%ghc_devel_package
|
||||||
|
|
||||||
|
%ghc_devel_description
|
||||||
|
|
||||||
|
|
||||||
%postun -n ghc-%{pkg_name}-devel
|
%ghc_devel_post_postun
|
||||||
%ghc_pkg_recache
|
|
||||||
|
|
||||||
|
|
||||||
%if %{undefined ghc_without_shared}
|
%ghc_files LICENSE
|
||||||
%files -n ghc-%{pkg_name} -f ghc-%{pkg_name}.files
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%files -n ghc-%{pkg_name}-devel -f ghc-%{pkg_name}-devel.files
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user