refresh to cabal-rpm-0.13
This commit is contained in:
parent
51aa67d93e
commit
462e6af6eb
|
@ -1,110 +1,110 @@
|
||||||
name: generics-sop
|
name: generics-sop
|
||||||
version: 0.3.2.0
|
version: 0.3.2.0
|
||||||
x-revision: 2
|
x-revision: 3
|
||||||
synopsis: Generic Programming using True Sums of Products
|
synopsis: Generic Programming using True Sums of Products
|
||||||
description:
|
description:
|
||||||
A library to support the definition of generic functions.
|
A library to support the definition of generic functions.
|
||||||
Datatypes are viewed in a uniform, structured way:
|
Datatypes are viewed in a uniform, structured way:
|
||||||
the choice between constructors is represented using an n-ary
|
the choice between constructors is represented using an n-ary
|
||||||
sum, and the arguments of each constructor are represented using
|
sum, and the arguments of each constructor are represented using
|
||||||
an n-ary product.
|
an n-ary product.
|
||||||
.
|
.
|
||||||
The module "Generics.SOP" is the main module of this library and contains
|
The module "Generics.SOP" is the main module of this library and contains
|
||||||
more detailed documentation.
|
more detailed documentation.
|
||||||
.
|
.
|
||||||
Examples of using this library are provided by the following
|
Examples of using this library are provided by the following
|
||||||
packages:
|
packages:
|
||||||
.
|
.
|
||||||
* @<https://hackage.haskell.org/package/basic-sop basic-sop>@ basic examples,
|
* @<https://hackage.haskell.org/package/basic-sop basic-sop>@ basic examples,
|
||||||
.
|
.
|
||||||
* @<https://hackage.haskell.org/package/pretty-sop pretty-sop>@ generic pretty printing,
|
* @<https://hackage.haskell.org/package/pretty-sop pretty-sop>@ generic pretty printing,
|
||||||
.
|
.
|
||||||
* @<https://hackage.haskell.org/package/lens-sop lens-sop>@ generically computed lenses,
|
* @<https://hackage.haskell.org/package/lens-sop lens-sop>@ generically computed lenses,
|
||||||
.
|
.
|
||||||
* @<https://hackage.haskell.org/package/json-sop json-sop>@ generic JSON conversions.
|
* @<https://hackage.haskell.org/package/json-sop json-sop>@ generic JSON conversions.
|
||||||
.
|
.
|
||||||
A detailed description of the ideas behind this library is provided by
|
A detailed description of the ideas behind this library is provided by
|
||||||
the paper:
|
the paper:
|
||||||
.
|
.
|
||||||
* Edsko de Vries and Andres Löh.
|
* Edsko de Vries and Andres Löh.
|
||||||
<http://www.andres-loeh.de/TrueSumsOfProducts True Sums of Products>.
|
<http://www.andres-loeh.de/TrueSumsOfProducts True Sums of Products>.
|
||||||
Workshop on Generic Programming (WGP) 2014.
|
Workshop on Generic Programming (WGP) 2014.
|
||||||
.
|
.
|
||||||
license: BSD3
|
license: BSD3
|
||||||
license-file: LICENSE
|
license-file: LICENSE
|
||||||
author: Edsko de Vries <edsko@well-typed.com>, Andres Löh <andres@well-typed.com>
|
author: Edsko de Vries <edsko@well-typed.com>, Andres Löh <andres@well-typed.com>
|
||||||
maintainer: andres@well-typed.com
|
maintainer: andres@well-typed.com
|
||||||
category: Generics
|
category: Generics
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
cabal-version: >=1.10
|
cabal-version: >=1.10
|
||||||
extra-source-files: CHANGELOG.md doctest.sh
|
extra-source-files: CHANGELOG.md doctest.sh
|
||||||
tested-with: GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1, GHC == 8.0.2, GHC == 8.2.1, GHC == 8.2.2, GHC == 8.3.*
|
tested-with: GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1, GHC == 8.0.2, GHC == 8.2.1, GHC == 8.2.2, GHC == 8.3.*
|
||||||
|
|
||||||
source-repository head
|
source-repository head
|
||||||
type: git
|
type: git
|
||||||
location: https://github.com/well-typed/generics-sop
|
location: https://github.com/well-typed/generics-sop
|
||||||
|
|
||||||
library
|
library
|
||||||
exposed-modules: Generics.SOP
|
exposed-modules: Generics.SOP
|
||||||
Generics.SOP.GGP
|
Generics.SOP.GGP
|
||||||
Generics.SOP.TH
|
Generics.SOP.TH
|
||||||
Generics.SOP.Dict
|
Generics.SOP.Dict
|
||||||
Generics.SOP.Type.Metadata
|
Generics.SOP.Type.Metadata
|
||||||
-- exposed via Generics.SOP:
|
-- exposed via Generics.SOP:
|
||||||
Generics.SOP.BasicFunctors
|
Generics.SOP.BasicFunctors
|
||||||
Generics.SOP.Classes
|
Generics.SOP.Classes
|
||||||
Generics.SOP.Constraint
|
Generics.SOP.Constraint
|
||||||
Generics.SOP.Instances
|
Generics.SOP.Instances
|
||||||
Generics.SOP.Metadata
|
Generics.SOP.Metadata
|
||||||
Generics.SOP.NP
|
Generics.SOP.NP
|
||||||
Generics.SOP.NS
|
Generics.SOP.NS
|
||||||
Generics.SOP.Universe
|
Generics.SOP.Universe
|
||||||
Generics.SOP.Sing
|
Generics.SOP.Sing
|
||||||
build-depends: base >= 4.7 && < 5,
|
build-depends: base >= 4.7 && < 5,
|
||||||
template-haskell >= 2.8 && < 2.14,
|
template-haskell >= 2.8 && < 2.15,
|
||||||
ghc-prim >= 0.3 && < 0.6,
|
ghc-prim >= 0.3 && < 0.6,
|
||||||
deepseq >= 1.3 && < 1.5
|
deepseq >= 1.3 && < 1.5
|
||||||
if !impl (ghc >= 8.0)
|
if !impl (ghc >= 8.0)
|
||||||
build-depends: transformers-compat >= 0.3 && < 0.7,
|
build-depends: transformers-compat >= 0.3 && < 0.7,
|
||||||
transformers >= 0.3 && < 0.6
|
transformers >= 0.3 && < 0.6
|
||||||
|
|
||||||
hs-source-dirs: src
|
hs-source-dirs: src
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
default-extensions: CPP
|
default-extensions: CPP
|
||||||
ScopedTypeVariables
|
ScopedTypeVariables
|
||||||
TypeFamilies
|
TypeFamilies
|
||||||
RankNTypes
|
RankNTypes
|
||||||
TypeOperators
|
TypeOperators
|
||||||
GADTs
|
GADTs
|
||||||
ConstraintKinds
|
ConstraintKinds
|
||||||
MultiParamTypeClasses
|
MultiParamTypeClasses
|
||||||
TypeSynonymInstances
|
TypeSynonymInstances
|
||||||
FlexibleInstances
|
FlexibleInstances
|
||||||
FlexibleContexts
|
FlexibleContexts
|
||||||
DeriveFunctor
|
DeriveFunctor
|
||||||
DeriveFoldable
|
DeriveFoldable
|
||||||
DeriveTraversable
|
DeriveTraversable
|
||||||
DefaultSignatures
|
DefaultSignatures
|
||||||
KindSignatures
|
KindSignatures
|
||||||
DataKinds
|
DataKinds
|
||||||
FunctionalDependencies
|
FunctionalDependencies
|
||||||
AutoDeriveTypeable
|
AutoDeriveTypeable
|
||||||
other-extensions: OverloadedStrings
|
other-extensions: OverloadedStrings
|
||||||
PolyKinds
|
PolyKinds
|
||||||
UndecidableInstances
|
UndecidableInstances
|
||||||
TemplateHaskell
|
TemplateHaskell
|
||||||
DeriveGeneric
|
DeriveGeneric
|
||||||
StandaloneDeriving
|
StandaloneDeriving
|
||||||
if impl (ghc < 7.10)
|
if impl (ghc < 7.10)
|
||||||
other-extensions: OverlappingInstances
|
other-extensions: OverlappingInstances
|
||||||
|
|
||||||
test-suite generics-sop-examples
|
test-suite generics-sop-examples
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
main-is: Example.hs
|
main-is: Example.hs
|
||||||
other-modules: HTransExample
|
other-modules: HTransExample
|
||||||
hs-source-dirs: test
|
hs-source-dirs: test
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
build-depends: base >= 4.6 && < 5,
|
build-depends: base >= 4.6 && < 5,
|
||||||
generics-sop
|
generics-sop
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# generated by cabal-rpm-0.12.5
|
# generated by cabal-rpm-0.13
|
||||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||||
|
|
||||||
%global pkg_name generics-sop
|
%global pkg_name generics-sop
|
||||||
|
@ -6,17 +6,19 @@
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.3.2.0
|
Version: 0.3.2.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Generic Programming using True Sums of Products
|
Summary: Generic Programming using True Sums of Products
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
|
# Begin cabal-rpm sources:
|
||||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||||
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
||||||
|
# End cabal-rpm sources
|
||||||
|
|
||||||
|
# Begin cabal-rpm deps:
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
# Begin cabal-rpm deps:
|
|
||||||
BuildRequires: ghc-deepseq-devel
|
BuildRequires: ghc-deepseq-devel
|
||||||
BuildRequires: ghc-template-haskell-devel
|
BuildRequires: ghc-template-haskell-devel
|
||||||
# End cabal-rpm deps
|
# End cabal-rpm deps
|
||||||
|
@ -75,16 +77,22 @@ This package provides the Haskell %{pkg_name} development documentation.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
# Begin cabal-rpm setup:
|
||||||
%setup -q -n %{pkgver}
|
%setup -q -n %{pkgver}
|
||||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
cp -bp %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
# End cabal-rpm setup
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# Begin cabal-rpm build:
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
# End cabal-rpm build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
# Begin cabal-rpm install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
# End cabal-rpm install
|
||||||
grep -v "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-devel-nodoc.files
|
grep -v "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-devel-nodoc.files
|
||||||
%if %{undefined without_haddock}
|
%if %{undefined without_haddock}
|
||||||
grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-devel-doc.files
|
grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-devel-doc.files
|
||||||
|
@ -100,7 +108,9 @@ grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-dev
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
|
# Begin cabal-rpm files:
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
# End cabal-rpm files
|
||||||
|
|
||||||
|
|
||||||
%files devel -f %{name}-devel-nodoc.files
|
%files devel -f %{name}-devel-nodoc.files
|
||||||
|
@ -114,6 +124,9 @@ grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-dev
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.3.2.0-3
|
||||||
|
- refresh to cabal-rpm-0.13
|
||||||
|
|
||||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2.0-2
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue