Compare commits
No commits in common. "rawhide" and "f18" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1 @@
|
|||||||
/data-reify-0.6.tar.gz
|
/data-reify-0.6.tar.gz
|
||||||
/data-reify-0.6.1.tar.gz
|
|
||||||
/data-reify-0.6.3.tar.gz
|
|
||||||
|
102
changelog
102
changelog
@ -1,102 +0,0 @@
|
|||||||
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.6.3-5
|
|
||||||
- refresh to cabal-rpm-2.1.0 with SPDX migration
|
|
||||||
|
|
||||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 0.6.3-3
|
|
||||||
- rebuild
|
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 0.6.3-1
|
|
||||||
- update to 0.6.3
|
|
||||||
|
|
||||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-17
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-16
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-15
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 0.6.1-14
|
|
||||||
- refresh to cabal-rpm-2.0.6
|
|
||||||
|
|
||||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-13
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Aug 01 2019 Jens Petersen <petersen@redhat.com> - 0.6.1-12
|
|
||||||
- add doc and prof subpackages (cabal-rpm-1.0.0)
|
|
||||||
|
|
||||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-11
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.6.1-10
|
|
||||||
- refresh to cabal-rpm-0.13
|
|
||||||
|
|
||||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-9
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-8
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.6.1-6
|
|
||||||
- rebuild
|
|
||||||
|
|
||||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 0.6.1-3
|
|
||||||
- refresh to cabal-rpm-0.11.1
|
|
||||||
|
|
||||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jun 23 2016 Jens Petersen <petersen@redhat.com> - 0.6.1-1
|
|
||||||
- update to 0.6.1
|
|
||||||
|
|
||||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-12
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-11
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Feb 3 2015 Jens Petersen <petersen@redhat.com> - 0.6-10
|
|
||||||
- cblrpm refresh
|
|
||||||
|
|
||||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-9
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-8
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 0.6-6
|
|
||||||
- update to new simplified Haskell Packaging Guidelines
|
|
||||||
|
|
||||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.6-4
|
|
||||||
- update with cabal-rpm
|
|
||||||
|
|
||||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Apr 16 2012 Jens Petersen <petersen@redhat.com> - 0.6-2
|
|
||||||
- add LICENSE to ghc_files
|
|
||||||
|
|
||||||
* Tue Feb 7 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.6-1
|
|
||||||
- Updated license, summary and description.
|
|
||||||
- Spec file template generated by cabal2spec-0.25.2.
|
|
@ -1,137 +0,0 @@
|
|||||||
Name: data-reify
|
|
||||||
Version: 0.6.3
|
|
||||||
x-revision: 1
|
|
||||||
Synopsis: Reify a recursive data structure into an explicit graph.
|
|
||||||
Description: 'data-reify' provided the ability to turn recursive structures into explicit graphs.
|
|
||||||
Many (implicitly or explicitly) recursive data structure can be given this ability, via
|
|
||||||
a type class instance. This gives an alternative to using 'Ref' for observable sharing.
|
|
||||||
.
|
|
||||||
Observable sharing in general is unsafe, so we use the IO monad to bound this effect,
|
|
||||||
but can be used safely even with 'unsafePerformIO' if some simple conditions are met.
|
|
||||||
Typically this package will be used to tie the knot with DSL's that depend of
|
|
||||||
observable sharing, like Lava.
|
|
||||||
.
|
|
||||||
Providing an instance for 'MuRef' is the mechanism for allowing a structure to be
|
|
||||||
reified into a graph, and several examples of this are provided.
|
|
||||||
.
|
|
||||||
© 2009 Andy Gill; BSD3 license.
|
|
||||||
|
|
||||||
Category: Language, Data, Parsing, Reflection
|
|
||||||
License: BSD3
|
|
||||||
License-file: LICENSE
|
|
||||||
Author: Andy Gill
|
|
||||||
Maintainer: Andy Gill <andygill@ku.edu>
|
|
||||||
Copyright: (c) 2009 Andy Gill
|
|
||||||
Homepage: http://ku-fpg.github.io/software/data-reify/
|
|
||||||
Stability: alpha
|
|
||||||
build-type: Simple
|
|
||||||
Cabal-Version: >= 1.10
|
|
||||||
tested-with: GHC == 7.0.4
|
|
||||||
, GHC == 7.2.2
|
|
||||||
, GHC == 7.4.2
|
|
||||||
, GHC == 7.6.3
|
|
||||||
, GHC == 7.8.4
|
|
||||||
, GHC == 7.10.3
|
|
||||||
, GHC == 8.0.2
|
|
||||||
, GHC == 8.2.2
|
|
||||||
, GHC == 8.4.4
|
|
||||||
, GHC == 8.6.5
|
|
||||||
, GHC == 8.8.3
|
|
||||||
, GHC == 8.10.1
|
|
||||||
extra-source-files: CHANGELOG.md, README.md
|
|
||||||
|
|
||||||
source-repository head
|
|
||||||
type: git
|
|
||||||
location: https://github.com/ku-fpg/data-reify
|
|
||||||
|
|
||||||
Flag tests
|
|
||||||
Description: Enable full development tree
|
|
||||||
Default: False
|
|
||||||
|
|
||||||
|
|
||||||
Library
|
|
||||||
Build-Depends: base >= 4 && < 5, hashable, containers, unordered-containers
|
|
||||||
Exposed-modules:
|
|
||||||
Data.Reify,
|
|
||||||
Data.Reify.Graph
|
|
||||||
Ghc-Options: -Wall
|
|
||||||
if impl(ghc >= 8.6)
|
|
||||||
ghc-options: -Wno-star-is-type
|
|
||||||
default-language: Haskell2010
|
|
||||||
|
|
||||||
test-suite spec
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
main-is: Spec.hs
|
|
||||||
other-modules: Data.ReifySpec
|
|
||||||
build-depends: base >= 4 && < 5
|
|
||||||
, base-compat >= 0.11 && < 0.13
|
|
||||||
, data-reify
|
|
||||||
, hspec == 2.*
|
|
||||||
build-tool-depends: hspec-discover:hspec-discover == 2.*
|
|
||||||
hs-source-dirs: spec
|
|
||||||
default-language: Haskell2010
|
|
||||||
ghc-options: -Wall -threaded -rtsopts
|
|
||||||
|
|
||||||
Executable data-reify-test1
|
|
||||||
Build-Depends: base, data-reify
|
|
||||||
Main-Is: Test1.hs
|
|
||||||
Hs-Source-Dirs: test
|
|
||||||
ghc-options: -Wall
|
|
||||||
default-language: Haskell2010
|
|
||||||
if !flag(tests)
|
|
||||||
buildable: False
|
|
||||||
|
|
||||||
|
|
||||||
Executable data-reify-test2
|
|
||||||
Build-Depends: base, data-reify
|
|
||||||
Main-Is: Test2.hs
|
|
||||||
Hs-Source-Dirs: test
|
|
||||||
ghc-options: -Wall
|
|
||||||
default-language: Haskell2010
|
|
||||||
if !flag(tests)
|
|
||||||
buildable: False
|
|
||||||
|
|
||||||
Executable data-reify-test3
|
|
||||||
Build-Depends: base, data-reify
|
|
||||||
Main-Is: Test3.hs
|
|
||||||
Hs-Source-Dirs: test
|
|
||||||
ghc-options: -Wall
|
|
||||||
default-language: Haskell2010
|
|
||||||
if !flag(tests)
|
|
||||||
buildable: False
|
|
||||||
|
|
||||||
Executable data-reify-test4
|
|
||||||
Build-Depends: base, data-reify
|
|
||||||
Main-Is: Test4.hs
|
|
||||||
Hs-Source-Dirs: test
|
|
||||||
ghc-options: -Wall
|
|
||||||
default-language: Haskell2010
|
|
||||||
if !flag(tests)
|
|
||||||
buildable: False
|
|
||||||
|
|
||||||
Executable data-reify-test5
|
|
||||||
Build-Depends: base, data-reify
|
|
||||||
Main-Is: Test5.hs
|
|
||||||
Hs-Source-Dirs: test
|
|
||||||
ghc-options: -Wall
|
|
||||||
default-language: Haskell2010
|
|
||||||
if !flag(tests)
|
|
||||||
buildable: False
|
|
||||||
|
|
||||||
Executable data-reify-test6
|
|
||||||
Build-Depends: base, data-reify
|
|
||||||
Main-Is: Test6.hs
|
|
||||||
Hs-Source-Dirs: test
|
|
||||||
ghc-options: -Wall
|
|
||||||
default-language: Haskell2010
|
|
||||||
if !flag(tests)
|
|
||||||
buildable: False
|
|
||||||
|
|
||||||
Executable data-reify-test7
|
|
||||||
Build-Depends: base, data-reify
|
|
||||||
Main-Is: Test7.hs
|
|
||||||
Hs-Source-Dirs: test
|
|
||||||
ghc-options: -Wall
|
|
||||||
default-language: Haskell2010
|
|
||||||
if !flag(tests)
|
|
||||||
buildable: False
|
|
@ -1,131 +1,62 @@
|
|||||||
# generated by cabal-rpm-2.1.0
|
# cabal2spec-0.25.2
|
||||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||||
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||||
|
|
||||||
%global pkg_name data-reify
|
%global pkg_name data-reify
|
||||||
%global pkgver %{pkg_name}-%{version}
|
|
||||||
|
|
||||||
%bcond_without tests
|
%global common_summary %{pkg_name} turns recursive data structures into graphs
|
||||||
|
|
||||||
|
%global common_description %{pkg_name} converts recursive data structures into graphs.
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.6.3
|
Version: 0.6
|
||||||
Release: %autorelease
|
Release: 3%{?dist}
|
||||||
Summary: Reify a recursive data structure into an explicit graph
|
Summary: %{common_summary}
|
||||||
|
|
||||||
License: BSD-3-Clause
|
Group: System Environment/Libraries
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
License: BSD
|
||||||
# Begin cabal-rpm sources:
|
# BEGIN cabal2spec
|
||||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
# End cabal-rpm sources
|
ExclusiveArch: %{ghc_arches}
|
||||||
|
|
||||||
# Begin cabal-rpm deps:
|
|
||||||
BuildRequires: dos2unix
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
||||||
BuildRequires: ghc-base-devel
|
# END cabal2spec
|
||||||
BuildRequires: ghc-containers-devel
|
|
||||||
BuildRequires: ghc-hashable-devel
|
|
||||||
BuildRequires: ghc-unordered-containers-devel
|
|
||||||
%if %{with ghc_prof}
|
|
||||||
BuildRequires: ghc-base-prof
|
|
||||||
BuildRequires: ghc-containers-prof
|
|
||||||
BuildRequires: ghc-hashable-prof
|
|
||||||
BuildRequires: ghc-unordered-containers-prof
|
|
||||||
%endif
|
|
||||||
%if %{with tests}
|
|
||||||
BuildRequires: ghc-base-compat-devel
|
|
||||||
BuildRequires: ghc-hspec-devel
|
|
||||||
BuildRequires: ghc-hspec-discover-devel
|
|
||||||
%endif
|
|
||||||
# End cabal-rpm deps
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
'data-reify' provided the ability to turn recursive structures into
|
%{common_description}
|
||||||
explicit graphs. Many (implicitly or explicitly) recursive data
|
|
||||||
structure can be given this ability, via a type class instance. This
|
|
||||||
gives an alternative to using 'Ref' for observable sharing.
|
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
|
||||||
Summary: Haskell %{pkg_name} library development files
|
|
||||||
Provides: %{name}-static = %{version}-%{release}
|
|
||||||
Provides: %{name}-static%{?_isa} = %{version}-%{release}
|
|
||||||
%if %{defined ghc_version}
|
|
||||||
Requires: ghc-compiler = %{ghc_version}
|
|
||||||
%endif
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description devel
|
|
||||||
This package provides the Haskell %{pkg_name} library development files.
|
|
||||||
|
|
||||||
|
|
||||||
%if %{with haddock}
|
|
||||||
%package doc
|
|
||||||
Summary: Haskell %{pkg_name} library documentation
|
|
||||||
BuildArch: noarch
|
|
||||||
Requires: ghc-filesystem
|
|
||||||
|
|
||||||
%description doc
|
|
||||||
This package provides the Haskell %{pkg_name} library documentation.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%if %{with ghc_prof}
|
|
||||||
%package prof
|
|
||||||
Summary: Haskell %{pkg_name} profiling library
|
|
||||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
||||||
Supplements: (%{name}-devel and ghc-prof)
|
|
||||||
|
|
||||||
%description prof
|
|
||||||
This package provides the Haskell %{pkg_name} profiling library.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
# Begin cabal-rpm setup:
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
%setup -q -n %{pkgver}
|
|
||||||
dos2unix -k -n %{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
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
%ghc_devel_package
|
||||||
%if %{with tests}
|
|
||||||
%cabal_test
|
%ghc_devel_description
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%ghc_devel_post_postun
|
||||||
# Begin cabal-rpm files:
|
|
||||||
%license LICENSE
|
|
||||||
# End cabal-rpm files
|
|
||||||
|
|
||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%ghc_files LICENSE
|
||||||
%doc CHANGELOG.md README.md
|
|
||||||
|
|
||||||
|
|
||||||
%if %{with haddock}
|
|
||||||
%files doc -f %{name}-doc.files
|
|
||||||
%license LICENSE
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%if %{with ghc_prof}
|
|
||||||
%files prof -f %{name}-prof.files
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
%autochangelog
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Apr 16 2012 Jens Petersen <petersen@redhat.com> - 0.6-2
|
||||||
|
- add LICENSE to ghc_files
|
||||||
|
|
||||||
|
* Tue Feb 7 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.6-1
|
||||||
|
- Updated license, summary and description.
|
||||||
|
- Spec file template generated by cabal2spec-0.25.2.
|
||||||
|
Loading…
Reference in New Issue
Block a user