Group :: Desenvolvimento/Haskell
RPM: ghc8.6.4-network
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define ghc_version 8.6.4
%define hsc_name ghc
%define hsc_version %ghc_version
%define hsc_namever %hsc_name%hsc_version
%define h_pkg_name network
%define f_pkg_name network
%define pkg_libdir %_libdir/%hsc_name-%hsc_version/%h_pkg_name-%version
Name: %hsc_namever-%f_pkg_name
Version: 2.8.0.0
Release: alt1
License: BSD3
Packager: Evgeny Sinelnikov <sin at altlinux.org>
Group: Development/Haskell
Url: https://github.com/haskell/network
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Summary: Low-level networking interface
BuildPreReq: haskell(abi) = %ghc_version
%description
This package provides a low-level networking interface.
In network-2.6 the at Network.URI at module was split off into its own package,
network-uri-2.6. If you're using the at Network.URI at module you can
automatically get it from the right package by adding this to your .cabal
file:
> library > build-depends: network-uri-flag
%prep
%setup
%patch -p1
%build
%hs_configure2
%hs_build
%install
%hs_install
%hs_gen_filelist
%files -f %name-files.all
%changelog
…
Todas as alterações você pod ver aqui
%define hsc_name ghc
%define hsc_version %ghc_version
%define hsc_namever %hsc_name%hsc_version
%define h_pkg_name network
%define f_pkg_name network
%define pkg_libdir %_libdir/%hsc_name-%hsc_version/%h_pkg_name-%version
Name: %hsc_namever-%f_pkg_name
Version: 2.8.0.0
Release: alt1
License: BSD3
Packager: Evgeny Sinelnikov <sin at altlinux.org>
Group: Development/Haskell
Url: https://github.com/haskell/network
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Summary: Low-level networking interface
BuildPreReq: haskell(abi) = %ghc_version
%description
This package provides a low-level networking interface.
In network-2.6 the at Network.URI at module was split off into its own package,
network-uri-2.6. If you're using the at Network.URI at module you can
automatically get it from the right package by adding this to your .cabal
file:
> library > build-depends: network-uri-flag
%prep
%setup
%patch -p1
%build
%hs_configure2
%hs_build
%install
%hs_install
%hs_gen_filelist
%files -f %name-files.all
%changelog
…
Todas as alterações você pod ver aqui