import 2.4.1.2-30 (#1059942)
This commit is contained in:
parent
c65b62d168
commit
784316a8f8
1
.gitignore
vendored
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.2.tar.gz
|
||||||
/network-2.3.0.5.tar.gz
|
/network-2.3.0.5.tar.gz
|
||||||
/network-2.3.0.11.tar.gz
|
/network-2.3.0.11.tar.gz
|
||||||
|
/network-2.4.1.2.tar.gz
|
||||||
|
@ -1,28 +1,39 @@
|
|||||||
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||||
|
|
||||||
%global pkg_name network
|
%global pkg_name network
|
||||||
|
|
||||||
%global common_summary Haskell %{pkg_name} library
|
|
||||||
|
|
||||||
%global common_description A Haskell network library.
|
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
# part of haskell-platform
|
# part of haskell-platform
|
||||||
Version: 2.3.0.11
|
Version: 2.4.1.2
|
||||||
Release: 1%{?dist}
|
Release: 30%{?dist}
|
||||||
Summary: %{common_summary}
|
Summary: Network 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-parsec-prof
|
BuildRequires: ghc-bytestring-devel
|
||||||
|
BuildRequires: ghc-parsec-devel
|
||||||
|
BuildRequires: ghc-unix-devel
|
||||||
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description
|
%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
|
%prep
|
||||||
@ -37,19 +48,26 @@ BuildRequires: ghc-parsec-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
|
||||||
%doc examples
|
%doc examples
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Mar 20 2012 Jens Petersen <petersen@redhat.com> - 2.3.0.11-1
|
||||||
- update to 2.3.0.11
|
- update to 2.3.0.11
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user