update to 0.95.2 and cblrpm-0.8.7

unpackage from haskell-platform
This commit is contained in:
Jens Petersen 2014-01-07 17:25:14 +09:00
parent 41a19591d3
commit 7df3c44eeb
3 changed files with 42 additions and 21 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
regex-posix-0.94.2.tar.gz
/regex-posix-0.94.4.tar.gz
/regex-posix-0.95.1.tar.gz
/regex-posix-0.95.2.tar.gz

View File

@ -1,28 +1,40 @@
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name regex-posix
%global common_summary Haskell posix regex backend library
%global common_description The posix regex backend for regex-base.
Name: ghc-%{pkg_name}
# part of haskell-platform-2011.4.0.0
Version: 0.95.1
Release: 3%{?dist}
Summary: %{common_summary}
# part of haskell-platform
Version: 0.95.2
Release: 29%{?dist}
Summary: Haskell posix regex library
Group: System Environment/Libraries
License: BSD
# BEGIN cabal2spec
URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
ExclusiveArch: %{ghc_arches}
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
# END cabal2spec
BuildRequires: ghc-regex-base-prof
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-array-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-regex-base-devel
# End cabal-rpm deps
%description
%{common_description}
The posix regex backend for regex-base.
%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
@ -37,18 +49,26 @@ BuildRequires: ghc-regex-base-prof
%ghc_lib_install
%ghc_devel_package
%ghc_devel_description
%post devel
%ghc_pkg_recache
%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
* Tue Jan 7 2014 Jens Petersen <petersen@redhat.com> - 0.95.2-29
- update to 0.95.2 with cblrpm-0.8.7
- unsubpackage from haskell-platform
* Wed Mar 21 2012 Jens Petersen <petersen@redhat.com> - 0.95.1-3
- rebuild

View File

@ -1 +1 @@
41cbc6d2b99837b64e0cc457c2737cc8 regex-posix-0.95.1.tar.gz
1df0f9494aab110c7231f36393285c7c regex-posix-0.95.2.tar.gz