update to cabal-rpm-0.8.7
This commit is contained in:
parent
70b6380b3a
commit
4affc97de4
@ -1,33 +1,40 @@
|
|||||||
# cabal2spec-0.25.2
|
|
||||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
||||||
|
|
||||||
%global pkg_name regex-base
|
%global pkg_name regex-base
|
||||||
|
|
||||||
%global common_summary Haskell regex base library
|
|
||||||
|
|
||||||
%global common_description Interface API for regex-{posix,pcre,parsec,tdfa,dfa}.
|
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
# part of haskell-platform-2011.4.0.0
|
# part of haskell-platform
|
||||||
Version: 0.93.2
|
Version: 0.93.2
|
||||||
Release: 11%{?dist}
|
Release: 28%{?dist}
|
||||||
Summary: %{common_summary}
|
Summary: Haskell regex base library
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
|
||||||
License: BSD
|
License: BSD
|
||||||
# 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: %{ghc_arches}
|
|
||||||
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-mtl-prof
|
BuildRequires: ghc-array-devel
|
||||||
BuildRequires: ghc-bytestring-prof
|
BuildRequires: ghc-bytestring-devel
|
||||||
|
BuildRequires: ghc-containers-devel
|
||||||
|
BuildRequires: ghc-mtl-devel
|
||||||
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{common_description}
|
Interface API for regex-{posix,pcre,parsec,tdfa,dfa}.
|
||||||
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Haskell %{pkg_name} library development files
|
||||||
|
Provides: %{name}-static = %{version}-%{release}
|
||||||
|
Requires: ghc-compiler = %{ghc_version}
|
||||||
|
Requires(post): ghc-compiler = %{ghc_version}
|
||||||
|
Requires(postun): ghc-compiler = %{ghc_version}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package provides the Haskell %{pkg_name} library development files.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -42,18 +49,25 @@ BuildRequires: ghc-bytestring-prof
|
|||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
|
||||||
|
|
||||||
%ghc_devel_package
|
%post devel
|
||||||
|
%ghc_pkg_recache
|
||||||
%ghc_devel_description
|
|
||||||
|
|
||||||
|
|
||||||
%ghc_devel_post_postun
|
%postun devel
|
||||||
|
%ghc_pkg_recache
|
||||||
|
|
||||||
|
|
||||||
%ghc_files LICENSE
|
%files -f %{name}.files
|
||||||
|
%doc LICENSE
|
||||||
|
|
||||||
|
|
||||||
|
%files devel -f %{name}-devel.files
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 2 2014 Jens Petersen <petersen@redhat.com> - 0.93.2-28
|
||||||
|
- spec file updated to cabal-rpm-0.8.7
|
||||||
|
|
||||||
* Wed Mar 21 2012 Jens Petersen <petersen@redhat.com> - 0.93.2-11
|
* Wed Mar 21 2012 Jens Petersen <petersen@redhat.com> - 0.93.2-11
|
||||||
- rebuild
|
- rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user