import 2.4.1.2-30 (#1059942)

epel9
Jens Petersen 11 years ago
parent c65b62d168
commit 784316a8f8

1
.gitignore vendored

@ -3,3 +3,4 @@ network-2.2.1.7.tar.gz
/network-2.3.0.2.tar.gz
/network-2.3.0.5.tar.gz
/network-2.3.0.11.tar.gz
/network-2.4.1.2.tar.gz

@ -1,28 +1,39 @@
%global pkg_name network
%global common_summary Haskell %{pkg_name} library
# https://fedoraproject.org/wiki/Packaging:Haskell
%global common_description A Haskell network library.
%global pkg_name network
Name: ghc-%{pkg_name}
# part of haskell-platform
Version: 2.3.0.11
Release: 1%{?dist}
Summary: %{common_summary}
Version: 2.4.1.2
Release: 30%{?dist}
Summary: Network 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-parsec-prof
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-parsec-devel
BuildRequires: ghc-unix-devel
# End cabal-rpm deps
%description
%{common_description}
Haskell basic networking library.
%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,19 +48,26 @@ BuildRequires: ghc-parsec-prof
%ghc_lib_install
%ghc_devel_package
%post devel
%ghc_pkg_recache
%ghc_devel_description
%postun devel
%ghc_pkg_recache
%ghc_devel_post_postun
%files -f %{name}.files
%doc LICENSE
%ghc_files LICENSE
%files devel -f %{name}-devel.files
%doc examples
%changelog
* Fri Jan 31 2014 Jens Petersen <petersen@redhat.com> - 2.4.1.2-30
- spec file revived using cabal-rpm-0.8.8
* Tue Mar 20 2012 Jens Petersen <petersen@redhat.com> - 2.3.0.11-1
- update to 2.3.0.11

@ -1 +1 @@
cfe4922ac85685be9f86d4d34654f481 network-2.3.0.11.tar.gz
032075c35dea5d23923af3928f9a5511 network-2.4.1.2.tar.gz

Loading…
Cancel
Save