THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Browse Source

237692: ghc8.6.4-contravariant-1.5.2-alt1 +16 more

- Spec created by cabal2rpm 0.20_11

ghc8.6.4-co-log-core-0.2.0.0-alt1

- Spec created by cabal2rpm 0.20_11

ghc8.6.4-optparse-applicative-0.15.1.0-alt1

- updated with the help of cabal2gear.

ghc8.6.4-torsor-0.1-alt1

- Spec created by cabal2rpm 0.20_11

ghc8.6.4-filemanip-0.3.6.3-alt1

- Spec created by cabal2rpm 0.20_11

ghc8.6.4-base-noprelude-4.12.0.0-alt1

- Spec created by cabal2rpm 0.20_11

ghc8.6.4-semigroups-0.18.5-alt1

- Spec created by cabal2rpm 0.20_11

ghc8.6.4-cereal-0.5.8.1-alt1

- Spec created by cabal2rpm 0.20_11

hreg-0.0.1-alt1

- Initial build for Sisyphus
- Spec created by cabal2rpm 0.20_11

ghc8.6.4-chronos-1.0.7-alt2

- Fix build on 32-bits platforms

ghc8.6.4-markdown-unlit-0.5.0-alt1

- Spec created by cabal2rpm 0.20_11

ghc8.6.4-relude-0.5.0-alt1

- Spec created by cabal2rpm 0.20_11

ghc8.6.4-statevar-1.2-alt1

- Spec created by cabal2rpm 0.20_11

ghc8.6.4-bytestring-encoding-0.1.0.0-alt1

- Spec created by cabal2rpm 0.20_11

ghc8.6.4-typerep-map-0.3.2-alt2

- Fix build on 32-bits platforms

ghc8.6.4-co-log-0.3.0.0-alt1

- Spec created by cabal2rpm 0.20_11

ghc8.6.4-clock-0.8-alt1

- Spec created by cabal2rpm 0.20_11
master
Evgeny Sinelnikov 1 month ago
parent
commit
d796c2ced9
17 changed files with 782 additions and 1 deletions
  1. +45
    -0
      g/ghc8.6.4-base-noprelude/ghc-base-noprelude.spec
  2. +43
    -0
      g/ghc8.6.4-bytestring-encoding/ghc-bytestring-encoding.spec
  3. +44
    -0
      g/ghc8.6.4-cereal/ghc-cereal.spec
  4. +59
    -0
      g/ghc8.6.4-chronos/ghc-chronos.spec
  5. +43
    -0
      g/ghc8.6.4-clock/ghc-clock.spec
  6. +43
    -0
      g/ghc8.6.4-co-log-core/ghc-co-log-core.spec
  7. +56
    -0
      g/ghc8.6.4-co-log/ghc-co-log.spec
  8. +43
    -0
      g/ghc8.6.4-contravariant/ghc-contravariant.spec
  9. +44
    -0
      g/ghc8.6.4-filemanip/ghc-filemanip.spec
  10. +43
    -0
      g/ghc8.6.4-markdown-unlit/ghc-markdown-unlit.spec
  11. +4
    -1
      g/ghc8.6.4-optparse-applicative/ghc-optparse-applicative.spec
  12. +64
    -0
      g/ghc8.6.4-relude/ghc-relude.spec
  13. +47
    -0
      g/ghc8.6.4-semigroups/ghc-semigroups.spec
  14. +43
    -0
      g/ghc8.6.4-statevar/ghc-statevar.spec
  15. +42
    -0
      g/ghc8.6.4-torsor/ghc-torsor.spec
  16. +61
    -0
      g/ghc8.6.4-typerep-map/ghc-typerep-map.spec
  17. +58
    -0
      h/hreg/hreg.spec

+ 45
- 0
g/ghc8.6.4-base-noprelude/ghc-base-noprelude.spec View File

@@ -0,0 +1,45 @@
%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 base-noprelude
%define f_pkg_name base-noprelude
%define pkg_libdir %_libdir/%hsc_name-%hsc_version/%h_pkg_name-%version

Name: %hsc_namever-%f_pkg_name
Version: 4.12.0.0
Release: alt1
License: BSD-3-Clause
Packager: Evgeny Sinelnikov <sin@altlinux.org>
Group: Development/Haskell
Url: https://github.com/hvr/base-noprelude
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Summary: "base" package sans "Prelude" module

BuildPreReq: haskell(abi) = %ghc_version


%description
This package simplifies defining custom "Prelude"s without having to use
@-XNoImplicitPrelude@ by re-exporting the full module-hierarchy of the
base-4.12.0.0 package /except/ for the "Prelude" module.

%prep
%setup
%patch -p1

%build
%hs_configure2
%hs_build

%install
mkdir -p %buildroot%pkg_libdir
%hs_install
%hs_gen_filelist

%files -f %name-files.all

%changelog
* Wed Sep 18 2019 Evgeny Sinelnikov <sin@altlinux.org> 4.12.0.0-alt1
- Spec created by cabal2rpm 0.20_11

+ 43
- 0
g/ghc8.6.4-bytestring-encoding/ghc-bytestring-encoding.spec View File

@@ -0,0 +1,43 @@
%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 bytestring-encoding
%define f_pkg_name bytestring-encoding
%define pkg_libdir %_libdir/%hsc_name-%hsc_version/%h_pkg_name-%version

Name: %hsc_namever-%f_pkg_name
Version: 0.1.0.0
Release: alt1
License: BSD3
Packager: Evgeny Sinelnikov <sin@altlinux.org>
Group: Development/Haskell
Url: https://github.com/msakai/bytestring-encoding#readme
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Summary: ByteString <-> Text converter based on GHC.IO.Encoding

BuildPreReq: haskell(abi) = %ghc_version


%description
Please see the README on GitHub at
<https://github.com/msakai/bytestring-encoding#readme>

%prep
%setup
%patch -p1

%build
%hs_configure2
%hs_build

%install
%hs_install
%hs_gen_filelist

%files -f %name-files.all

%changelog
* Wed Sep 18 2019 Evgeny Sinelnikov <sin@altlinux.org> 0.1.0.0-alt1
- Spec created by cabal2rpm 0.20_11

+ 44
- 0
g/ghc8.6.4-cereal/ghc-cereal.spec View File

@@ -0,0 +1,44 @@
%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 cereal
%define f_pkg_name cereal
%define pkg_libdir %_libdir/%hsc_name-%hsc_version/%h_pkg_name-%version

Name: %hsc_namever-%f_pkg_name
Version: 0.5.8.1
Release: alt1
License: BSD3
Packager: Evgeny Sinelnikov <sin@altlinux.org>
Group: Development/Haskell
Url: https://github.com/GaloisInc/cereal
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Summary: A binary serialization library

BuildPreReq: haskell(abi) = %ghc_version


%description
A binary serialization library, similar to binary, that introduces an
isolate primitive for parser isolation, and labeled blocks for better error
messages.

%prep
%setup
%patch -p1

%build
%hs_configure2
%hs_build

%install
%hs_install
%hs_gen_filelist

%files -f %name-files.all

%changelog
* Tue Sep 17 2019 Evgeny Sinelnikov <sin@altlinux.org> 0.5.8.1-alt1
- Spec created by cabal2rpm 0.20_11

+ 59
- 0
g/ghc8.6.4-chronos/ghc-chronos.spec View File

@@ -0,0 +1,59 @@
%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 chronos
%define f_pkg_name chronos
%define pkg_libdir %_libdir/%hsc_name-%hsc_version/%h_pkg_name-%version

Name: %hsc_namever-%f_pkg_name
Version: 1.0.7
Release: alt2
License: BSD-3-Clause
Packager: Evgeny Sinelnikov <sin@altlinux.org>
Group: Development/Haskell
Url: https://github.com/andrewthad/chronos
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Summary: A performant time library

BuildPreReq: haskell(abi) = %ghc_version
BuildPreReq: ghc%ghc_version-aeson
BuildPreReq: ghc%ghc_version-attoparsec
BuildPreReq: ghc%ghc_version-clock
BuildPreReq: ghc%ghc_version-hashable
BuildPreReq: ghc%ghc_version-primitive
BuildPreReq: ghc%ghc_version-semigroups
BuildPreReq: ghc%ghc_version-torsor
BuildPreReq: ghc%ghc_version-vector


%description
Chronos is a performance-oriented time library for Haskell, with a
straightforward API. The main differences between this and the
time library are: * Chronos uses machine integers where possible.
This means that time-related arithmetic should be faster, with the
drawback that the types are incapable of representing times that
are very far in the future or the past (because Chronos provides
nanosecond, rather than picosecond, resolution).

%prep
%setup
%patch -p1

%build
%hs_configure2
%hs_build

%install
%hs_install
%hs_gen_filelist

%files -f %name-files.all

%changelog
* Thu Sep 19 2019 Evgeny Sinelnikov <sin@altlinux.org> 1.0.7-alt2
- Fix build on 32-bits platforms

* Wed Sep 18 2019 Evgeny Sinelnikov <sin@altlinux.org> 1.0.7-alt1
- Spec created by cabal2rpm 0.20_11

+ 43
- 0
g/ghc8.6.4-clock/ghc-clock.spec View File

@@ -0,0 +1,43 @@
%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 clock
%define f_pkg_name clock
%define pkg_libdir %_libdir/%hsc_name-%hsc_version/%h_pkg_name-%version

Name: %hsc_namever-%f_pkg_name
Version: 0.8
Release: alt1
License: BSD3
Packager: Evgeny Sinelnikov <sin@altlinux.org>
Group: Development/Haskell
Url: https://github.com/corsis/clock
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Summary: High-resolution clock functions: monotonic, realtime, cputime.

BuildPreReq: haskell(abi) = %ghc_version


%description
A package for convenient access to high-resolution clock and timer
functions of different operating systems via a unified API.

%prep
%setup
%patch -p1

%build
%hs_configure2
%hs_build

%install
%hs_install
%hs_gen_filelist

%files -f %name-files.all

%changelog
* Wed Sep 18 2019 Evgeny Sinelnikov <sin@altlinux.org> 0.8-alt1
- Spec created by cabal2rpm 0.20_11

+ 43
- 0
g/ghc8.6.4-co-log-core/ghc-co-log-core.spec View File

@@ -0,0 +1,43 @@
%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 co-log-core
%define f_pkg_name co-log-core
%define pkg_libdir %_libdir/%hsc_name-%hsc_version/%h_pkg_name-%version

Name: %hsc_namever-%f_pkg_name
Version: 0.2.0.0
Release: alt1
License: MPL-2.0
Packager: Evgeny Sinelnikov <sin@altlinux.org>
Group: Development/Haskell
Url: https://github.com/kowainik/co-log
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Summary: Composable Contravariant Comonadic Logging Library

BuildPreReq: haskell(abi) = %ghc_version


%description
This package provides core types and functions to work with the @LogAction@
data type which is both simple and powerful.

%prep
%setup
%patch -p1

%build
%hs_configure2
%hs_build

%install
%hs_install
%hs_gen_filelist

%files -f %name-files.all

%changelog
* Wed Sep 18 2019 Evgeny Sinelnikov <sin@altlinux.org> 0.2.0.0-alt1
- Spec created by cabal2rpm 0.20_11

+ 56
- 0
g/ghc8.6.4-co-log/ghc-co-log.spec View File

@@ -0,0 +1,56 @@
%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 co-log
%define f_pkg_name co-log
%define pkg_libdir %_libdir/%hsc_name-%hsc_version/%h_pkg_name-%version

Name: %hsc_namever-%f_pkg_name
Version: 0.3.0.0
Release: alt1
License: MPL-2.0
Packager: Evgeny Sinelnikov <sin@altlinux.org>
Group: Development/Haskell
Url: http://hackage.haskell.org/package/co-log
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Summary: Composable Contravariant Comonadic Logging Library

BuildPreReq: haskell(abi) = %ghc_version
BuildPreReq: ghc%ghc_version-ansi-terminal
BuildPreReq: ghc%ghc_version-chronos
BuildPreReq: ghc%ghc_version-co-log-core
BuildPreReq: ghc%ghc_version-contravariant
BuildPreReq: ghc%ghc_version-typerep-map
BuildPreReq: ghc%ghc_version-markdown-unlit


%description
The default implementation of logging based on
[co-log-core](http://hackage.haskell.org/package/co-log-core).

The ideas behind this package are described in the following blog post:

* [co-log: Composable Contravariant Combinatorial Comonadic Configurable
Convenient Logging](https://kowainik.github.io/posts/2018-09-25-co-log)
homepage: https://github.com/kowainik/co-log

%prep
%setup
%patch -p1

%build
%hs_configure2
%hs_build

%install
%hs_install
rm -f %buildroot%_bindir/*
%hs_gen_filelist

%files -f %name-files.all

%changelog
* Wed Sep 18 2019 Evgeny Sinelnikov <sin@altlinux.org> 0.3.0.0-alt1
- Spec created by cabal2rpm 0.20_11

+ 43
- 0
g/ghc8.6.4-contravariant/ghc-contravariant.spec View File

@@ -0,0 +1,43 @@
%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 contravariant
%define f_pkg_name contravariant
%define pkg_libdir %_libdir/%hsc_name-%hsc_version/%h_pkg_name-%version

Name: %hsc_namever-%f_pkg_name
Version: 1.5.2
Release: alt1
License: BSD3
Packager: Evgeny Sinelnikov <sin@altlinux.org>
Group: Development/Haskell
Url: http://github.com/ekmett/contravariant/
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Summary: Contravariant functors

BuildPreReq: haskell(abi) = %ghc_version
BuildPreReq: ghc%ghc_version-statevar


%description
Contravariant functors.

%prep
%setup
%patch -p1

%build
%hs_configure2
%hs_build

%install
%hs_install
%hs_gen_filelist

%files -f %name-files.all

%changelog
* Wed Sep 18 2019 Evgeny Sinelnikov <sin@altlinux.org> 1.5.2-alt1
- Spec created by cabal2rpm 0.20_11

+ 44
- 0
g/ghc8.6.4-filemanip/ghc-filemanip.spec View File

@@ -0,0 +1,44 @@
%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 filemanip
%define f_pkg_name filemanip
%define pkg_libdir %_libdir/%hsc_name-%hsc_version/%h_pkg_name-%version

Name: %hsc_namever-%f_pkg_name
Version: 0.3.6.3
Release: alt1
License: BSD3
Packager: Evgeny Sinelnikov <sin@altlinux.org>
Group: Development/Haskell
Url: https://github.com/bos/filemanip
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Summary: Expressive file and directory manipulation for Haskell.

BuildPreReq: haskell(abi) = %ghc_version
BuildPreReq: ghc%ghc_version-unix-compat


%description
A Haskell library for working with files and directories. Includes code for
pattern matching, finding files, modifying file contents, and more.

%prep
%setup
%patch -p1

%build
%hs_configure2
%hs_build

%install
%hs_install
%hs_gen_filelist

%files -f %name-files.all

%changelog
* Tue Sep 17 2019 Evgeny Sinelnikov <sin@altlinux.org> 0.3.6.3-alt1
- Spec created by cabal2rpm 0.20_11

+ 43
- 0
g/ghc8.6.4-markdown-unlit/ghc-markdown-unlit.spec View File

@@ -0,0 +1,43 @@
%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 markdown-unlit
%define f_pkg_name markdown-unlit
%define pkg_libdir %_libdir/%hsc_name-%hsc_version/%h_pkg_name-%version

Name: %hsc_namever-%f_pkg_name
Version: 0.5.0
Release: alt1
License: MIT
Packager: Evgeny Sinelnikov <sin@altlinux.org>
Group: Development/Haskell
Url: https://github.com/sol/markdown-unlit#readme
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Summary: Literate Haskell support for Markdown

BuildPreReq: haskell(abi) = %ghc_version
BuildPreReq: ghc%ghc_version-base-compat


%description
Documentation is here: <https://github.com/sol/markdown-unlit#readme>

%prep
%setup
%patch -p1

%build
%hs_configure2
%hs_build

%install
%hs_install
%hs_gen_filelist

%files -f %name-files.all

%changelog
* Wed Sep 18 2019 Evgeny Sinelnikov <sin@altlinux.org> 0.5.0-alt1
- Spec created by cabal2rpm 0.20_11

+ 4
- 1
g/ghc8.6.4-optparse-applicative/ghc-optparse-applicative.spec View File

@@ -7,7 +7,7 @@
%define pkg_libdir %_libdir/%hsc_name-%hsc_version/%h_pkg_name-%version

Name: %hsc_namever-%f_pkg_name
Version: 0.14.3.0
Version: 0.15.1.0
Release: alt1
License: BSD3
Packager: Evgeny Sinelnikov <sin@altlinux.org>
@@ -51,6 +51,9 @@ also available on github
%files -f %name-files.all

%changelog
* Wed Sep 18 2019 Evgeny Sinelnikov <sin@altlinux.org> 0.15.1.0-alt1
- updated with the help of cabal2gear.

* Mon Jul 01 2019 Evgeny Sinelnikov <sin@altlinux.org> 0.14.3.0-alt1
- Spec created by cabal2rpm 0.20_11
- Add build dependency to ansi-wl-pprint and transformers-compat

+ 64
- 0
g/ghc8.6.4-relude/ghc-relude.spec View File

@@ -0,0 +1,64 @@
%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 relude
%define f_pkg_name relude
%define pkg_libdir %_libdir/%hsc_name-%hsc_version/%h_pkg_name-%version

Name: %hsc_namever-%f_pkg_name
Version: 0.5.0
Release: alt1
License: MIT
Packager: Evgeny Sinelnikov <sin@altlinux.org>
Group: Development/Haskell
Url: http://hackage.haskell.org/package/relude
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Summary: Custom prelude from Kowainik

BuildPreReq: haskell(abi) = %ghc_version
BuildPreReq: ghc%ghc_version-hashable
BuildPreReq: ghc%ghc_version-unordered-containers


%description
== Goals

* Avoid all partial functions (like @head :: [a] -> a@). The types of
partial functions lie about their behavior and usage of such functions can
lead to the unexpected bugs. Though you can still use some unsafe functions
from @Relude.Unsafe@ module, but they are not exported by default.

* Type-safety. We like to make invalid states unrepresantable. And if
it's possible to express this concept through the types then we will do it.

* Performance. Prefer Text over [String], use spaceleak-free functions
(like our custom sum and product).

* Minimalism (low number of dependencies). We don't force users of
relude to stick to some specific lens or text formatting or logging
library.

* Convenience (like lifted to @MonadIO@ functions, more reexports). But
we want to bring common types and functions (like containers and
bytestrng) into scope because they are used in almost every application
anyways.

%prep
%setup
%patch -p1

%build
%hs_configure2
%hs_build

%install
%hs_install
%hs_gen_filelist

%files -f %name-files.all

%changelog
* Tue Sep 17 2019 Evgeny Sinelnikov <sin@altlinux.org> 0.5.0-alt1
- Spec created by cabal2rpm 0.20_11

+ 47
- 0
g/ghc8.6.4-semigroups/ghc-semigroups.spec View File

@@ -0,0 +1,47 @@
%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 semigroups
%define f_pkg_name semigroups
%define pkg_libdir %_libdir/%hsc_name-%hsc_version/%h_pkg_name-%version

Name: %hsc_namever-%f_pkg_name
Version: 0.18.5
Release: alt1
License: BSD3
Packager: Evgeny Sinelnikov <sin@altlinux.org>
Group: Development/Haskell
Url: http://github.com/ekmett/semigroups/
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Summary: Anything that associates

BuildPreReq: haskell(abi) = %ghc_version


%description
In mathematics, a semigroup is an algebraic structure consisting of a set
together with an associative binary operation. A semigroup generalizes a
monoid in that there might not exist an identity element. It also
(originally) generalized a group (a monoid with all inverses) to a type
where every element did not have to have an inverse, thus the name
semigroup.

%prep
%setup
%patch -p1

%build
%hs_configure2
%hs_build

%install
%hs_install
%hs_gen_filelist

%files -f %name-files.all

%changelog
* Wed Sep 18 2019 Evgeny Sinelnikov <sin@altlinux.org> 0.18.5-alt1
- Spec created by cabal2rpm 0.20_11

+ 43
- 0
g/ghc8.6.4-statevar/ghc-statevar.spec View File

@@ -0,0 +1,43 @@
%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 StateVar
%define f_pkg_name statevar
%define pkg_libdir %_libdir/%hsc_name-%hsc_version/%h_pkg_name-%version

Name: %hsc_namever-%f_pkg_name
Version: 1.2
Release: alt1
License: BSD3
Packager: Evgeny Sinelnikov <sin@altlinux.org>
Group: Development/Haskell
Url: https://github.com/haskell-opengl/StateVar
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Summary: State variables

BuildPreReq: haskell(abi) = %ghc_version


%description
This package contains state variables, which are references in the IO
monad, like IORefs or parts of the OpenGL state.

%prep
%setup
%patch -p1

%build
%hs_configure2
%hs_build

%install
%hs_install
%hs_gen_filelist

%files -f %name-files.all

%changelog
* Wed Sep 18 2019 Evgeny Sinelnikov <sin@altlinux.org> 1.2-alt1
- Spec created by cabal2rpm 0.20_11

+ 42
- 0
g/ghc8.6.4-torsor/ghc-torsor.spec View File

@@ -0,0 +1,42 @@
%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 torsor
%define f_pkg_name torsor
%define pkg_libdir %_libdir/%hsc_name-%hsc_version/%h_pkg_name-%version

Name: %hsc_namever-%f_pkg_name
Version: 0.1
Release: alt1
License: BSD3
Packager: Evgeny Sinelnikov <sin@altlinux.org>
Group: Development/Haskell
Url: https://github.com/andrewthad/torsor#readme
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Summary: Torsor Typeclass

BuildPreReq: haskell(abi) = %ghc_version


%description
Torsor Typeclass

%prep
%setup
%patch -p1

%build
%hs_configure2
%hs_build

%install
%hs_install
%hs_gen_filelist

%files -f %name-files.all

%changelog
* Wed Sep 18 2019 Evgeny Sinelnikov <sin@altlinux.org> 0.1-alt1
- Spec created by cabal2rpm 0.20_11

+ 61
- 0
g/ghc8.6.4-typerep-map/ghc-typerep-map.spec View File

@@ -0,0 +1,61 @@
%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 typerep-map
%define f_pkg_name typerep-map
%define pkg_libdir %_libdir/%hsc_name-%hsc_version/%h_pkg_name-%version

Name: %hsc_namever-%f_pkg_name
Version: 0.3.2
Release: alt2
License: MIT
Packager: Evgeny Sinelnikov <sin@altlinux.org>
Group: Development/Haskell
Url: http://hackage.haskell.org/package/typerep-map
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Summary: Efficient implementation of a dependent map with types as keys

BuildPreReq: haskell(abi) = %ghc_version
BuildPreReq: ghc%ghc_version-primitive
BuildPreReq: ghc%ghc_version-vector
BuildRequires: chrpath


%description
A dependent map from type representations to values of these types.

%prep
%setup
%patch -p1

%build
%hs_configure2
%hs_build

%install
%hs_install
chrpath -d %buildroot%hs_libdir/libHS*.so
if [ -d %f_pkg_name.pkg ]; then
mkdir -p %buildroot%hs_pkgconfdir
for f in %f_pkg_name.pkg/*; do
pkgname=$(grep ^name: $f | sed 's/name:\s*\(.*\)/\1/')
pkgver=$(grep ^version: $f | sed 's/version:\s*\(.*\)/\1/')
install -m 755 $f %buildroot%pkg_libdir/$pkgname.pkg
test "$pkgname" != "%f_pkg_name" ||
install -D -m 644 $f %buildroot%hs_pkgconfdir/$pkgname-$pkgver.conf
done
fi
%hs_gen_filelist

%files -f %name-files.all

%changelog
* Thu Sep 19 2019 Evgeny Sinelnikov <sin@altlinux.org> 0.3.2-alt2
- Fix build on 32-bits platforms

* Wed Sep 18 2019 Evgeny Sinelnikov <sin@altlinux.org> 0.3.2-alt1
- Spec created by cabal2rpm 0.20_11
- Remove RUNPATH section from dynamic libraries
- Install package.conf from directory

+ 58
- 0
h/hreg/hreg.spec View File

@@ -0,0 +1,58 @@
%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 hreg
%define f_pkg_name hreg
%define pkg_libdir %_libdir/%hsc_name-%hsc_version/%h_pkg_name-%version

Name: hreg
Version: 0.0.1
Release: alt1
License: BSD-3-Clause
Packager: Evgeny Sinelnikov <sin@altlinux.org>
Group: Development/Haskell
Url: http://hackage.haskell.org/package/hreg
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Summary: Group Policy Objects storage Parser/Generator

BuildPreReq: haskell(abi) = %ghc_version
BuildPreReq: ghc%ghc_version-attoparsec
BuildPreReq: ghc%ghc_version-base-noprelude
BuildPreReq: ghc%ghc_version-bytestring-encoding
BuildPreReq: ghc%ghc_version-cereal
BuildPreReq: ghc%ghc_version-co-log
BuildPreReq: ghc%ghc_version-conduit
BuildPreReq: ghc%ghc_version-exceptions
BuildPreReq: ghc%ghc_version-filemanip
BuildPreReq: ghc%ghc_version-relude
BuildPreReq: ghc%ghc_version-optparse-applicative
BuildPreReq: ghc%ghc_version-unix-compat


%description
This application provides ability to Export/Import from policy files
of group policy objects and registry files, Apply policy files as
filesystem tree and compare exported registry files.


%prep
%setup
%patch -p1

%build
%hs_configure2 --disable-shared
%hs_build

%install
%hs_install
rm -rf %buildroot/%_libdir/%hsc_name-%hsc_version/
%hs_gen_filelist

%files -f %name-files.all

%changelog
* Tue Sep 17 2019 Evgeny Sinelnikov <sin@altlinux.org> 0.0.1-alt1
- Initial build for Sisyphus
- Spec created by cabal2rpm 0.20_11

Loading…
Cancel
Save