Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
83df7fa0a3 | ||
|
53ed236d97 | ||
|
11db6721ed | ||
|
9680b5cea9 | ||
|
6f0fb1af1b |
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,6 +1,2 @@
|
|||||||
fgl-5.4.2.3.tar.gz
|
fgl-5.4.2.3.tar.gz
|
||||||
/fgl-5.4.2.4.tar.gz
|
/fgl-5.4.2.4.tar.gz
|
||||||
/fgl-5.6.0.0.tar.gz
|
|
||||||
/fgl-5.7.0.1.tar.gz
|
|
||||||
/fgl-5.7.0.2.tar.gz
|
|
||||||
/fgl-5.7.0.3.tar.gz
|
|
||||||
|
50
changelog
50
changelog
@ -1,50 +0,0 @@
|
|||||||
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 5.7.0.3-5
|
|
||||||
- refresh to cabal-rpm-2.1.0 with SPDX migration
|
|
||||||
|
|
||||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.0.3-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 5.7.0.3-3
|
|
||||||
- rebuild
|
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.0.3-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 5.7.0.3-1
|
|
||||||
- update to 5.7.0.3
|
|
||||||
|
|
||||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.0.2-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.0.2-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.0.2-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 5.7.0.2-2
|
|
||||||
- refresh to cabal-rpm-2.0.6
|
|
||||||
|
|
||||||
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 5.7.0.2-1
|
|
||||||
- update to 5.7.0.2
|
|
||||||
|
|
||||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.0.1-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jul 25 2019 Jens Petersen <petersen@redhat.com> - 5.7.0.1-1
|
|
||||||
- update to 5.7.0.1
|
|
||||||
|
|
||||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0.0-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Feb 27 2019 Jens Petersen <petersen@redhat.com> - 5.6.0.0-4
|
|
||||||
- refresh to cabal-rpm-0.13
|
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0.0-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Jun 3 2018 Jens Petersen <petersen@redhat.com> - 5.6.0.0-2
|
|
||||||
- disable tests since needs old QuickCheck
|
|
||||||
|
|
||||||
* Wed May 23 2018 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 5.6.0.0-1
|
|
||||||
- spec file generated by cabal-rpm-0.12.3
|
|
@ -1,136 +0,0 @@
|
|||||||
name: fgl
|
|
||||||
version: 5.7.0.3
|
|
||||||
x-revision: 1
|
|
||||||
license: BSD3
|
|
||||||
license-file: LICENSE
|
|
||||||
author: Martin Erwig, Ivan Lazar Miljenovic
|
|
||||||
maintainer: Ivan.Miljenovic@gmail.com
|
|
||||||
category: Data Structures, Graphs
|
|
||||||
synopsis: Martin Erwig's Functional Graph Library
|
|
||||||
|
|
||||||
description: {
|
|
||||||
An inductive representation of manipulating graph data structures.
|
|
||||||
.
|
|
||||||
Original website can be found at <http://web.engr.oregonstate.edu/~erwig/fgl/haskell>.
|
|
||||||
}
|
|
||||||
cabal-version: >= 1.10
|
|
||||||
build-type: Simple
|
|
||||||
extra-source-files:
|
|
||||||
ChangeLog
|
|
||||||
|
|
||||||
tested-with: GHC == 7.2.2, GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4,
|
|
||||||
GHC == 7.10.2, GHC == 8.0.1, GHC == 8.2.2, GHC == 8.4.3,
|
|
||||||
GHC == 8.6.2, GHC == 8.8.2, GHC == 8.10.1
|
|
||||||
|
|
||||||
source-repository head
|
|
||||||
type: git
|
|
||||||
location: https://github.com/haskell/fgl.git
|
|
||||||
|
|
||||||
flag containers042 {
|
|
||||||
manual: False
|
|
||||||
default: True
|
|
||||||
}
|
|
||||||
|
|
||||||
library {
|
|
||||||
default-language: Haskell98
|
|
||||||
|
|
||||||
exposed-modules:
|
|
||||||
Data.Graph.Inductive.Internal.Heap,
|
|
||||||
Data.Graph.Inductive.Internal.Queue,
|
|
||||||
Data.Graph.Inductive.Internal.RootPath,
|
|
||||||
Data.Graph.Inductive.Internal.Thread,
|
|
||||||
Data.Graph.Inductive.Basic,
|
|
||||||
Data.Graph.Inductive.Example,
|
|
||||||
Data.Graph.Inductive.Graph,
|
|
||||||
Data.Graph.Inductive.Monad,
|
|
||||||
Data.Graph.Inductive.NodeMap,
|
|
||||||
Data.Graph.Inductive.PatriciaTree,
|
|
||||||
Data.Graph.Inductive.Query,
|
|
||||||
Data.Graph.Inductive.Tree,
|
|
||||||
Data.Graph.Inductive.Monad.IOArray,
|
|
||||||
Data.Graph.Inductive.Monad.STArray,
|
|
||||||
Data.Graph.Inductive.Query.ArtPoint,
|
|
||||||
Data.Graph.Inductive.Query.BCC,
|
|
||||||
Data.Graph.Inductive.Query.BFS,
|
|
||||||
Data.Graph.Inductive.Query.DFS,
|
|
||||||
Data.Graph.Inductive.Query.Dominators,
|
|
||||||
Data.Graph.Inductive.Query.GVD,
|
|
||||||
Data.Graph.Inductive.Query.Indep,
|
|
||||||
Data.Graph.Inductive.Query.MST,
|
|
||||||
Data.Graph.Inductive.Query.MaxFlow,
|
|
||||||
Data.Graph.Inductive.Query.MaxFlow2,
|
|
||||||
Data.Graph.Inductive.Query.Monad,
|
|
||||||
Data.Graph.Inductive.Query.SP,
|
|
||||||
Data.Graph.Inductive.Query.TransClos,
|
|
||||||
Data.Graph.Inductive
|
|
||||||
|
|
||||||
other-modules:
|
|
||||||
Paths_fgl
|
|
||||||
|
|
||||||
build-depends: base >= 4.3 && < 4.17
|
|
||||||
, transformers
|
|
||||||
, array
|
|
||||||
|
|
||||||
if flag(containers042)
|
|
||||||
build-depends: containers >= 0.4.2
|
|
||||||
, deepseq >= 1.1.0.0 && < 1.5
|
|
||||||
else
|
|
||||||
build-depends: containers < 0.4.2
|
|
||||||
|
|
||||||
if impl(ghc >= 7.2) && impl(ghc < 7.6)
|
|
||||||
build-depends:
|
|
||||||
ghc-prim
|
|
||||||
|
|
||||||
ghc-options: -Wall
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
test-suite fgl-tests {
|
|
||||||
default-language: Haskell98
|
|
||||||
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
|
|
||||||
build-depends: fgl
|
|
||||||
, base
|
|
||||||
, QuickCheck >= 2.8 && < 2.15
|
|
||||||
, hspec >= 2.1 && < 2.8
|
|
||||||
, containers
|
|
||||||
|
|
||||||
hs-source-dirs: test
|
|
||||||
fgl-arbitrary
|
|
||||||
|
|
||||||
main-is: TestSuite.hs
|
|
||||||
|
|
||||||
other-modules: Data.Graph.Inductive.Arbitrary
|
|
||||||
, Data.Graph.Inductive.Graph.Properties
|
|
||||||
, Data.Graph.Inductive.Proxy
|
|
||||||
, Data.Graph.Inductive.Query.Properties
|
|
||||||
|
|
||||||
ghc-options: -Wall
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
benchmark fgl-benchmark {
|
|
||||||
if flag(containers042)
|
|
||||||
buildable: True
|
|
||||||
else
|
|
||||||
buildable: False
|
|
||||||
|
|
||||||
default-language: Haskell98
|
|
||||||
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
|
|
||||||
hs-source-dirs: test
|
|
||||||
|
|
||||||
main-is: benchmark.hs
|
|
||||||
|
|
||||||
other-modules: Data.Graph.Inductive.Proxy
|
|
||||||
|
|
||||||
build-depends: fgl
|
|
||||||
, base
|
|
||||||
, microbench
|
|
||||||
, deepseq
|
|
||||||
|
|
||||||
ghc-options: -Wall
|
|
||||||
|
|
||||||
}
|
|
188
ghc-fgl.spec
188
ghc-fgl.spec
@ -1,130 +1,106 @@
|
|||||||
# generated by cabal-rpm-2.1.0
|
|
||||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
|
||||||
|
|
||||||
%global pkg_name fgl
|
%global pkg_name fgl
|
||||||
%global pkgver %{pkg_name}-%{version}
|
|
||||||
|
|
||||||
# needs older QuickCheck
|
%global common_summary Haskell Functional Graph Library
|
||||||
%bcond_with tests
|
|
||||||
|
%global common_description Martin Erwig's Functional Graph Library.
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 5.7.0.3
|
# part of haskell-platform-2011.4.0.0
|
||||||
Release: %autorelease
|
Version: 5.4.2.4
|
||||||
Summary: Martin Erwig's Functional Graph Library
|
Release: 2%{?dist}
|
||||||
|
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}
|
||||||
# End cabal-rpm sources
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
|
ExclusiveArch: %{ghc_arches}
|
||||||
# Begin cabal-rpm deps:
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
||||||
BuildRequires: ghc-array-devel
|
# END cabal2spec
|
||||||
BuildRequires: ghc-base-devel
|
BuildRequires: ghc-mtl-prof
|
||||||
BuildRequires: ghc-containers-devel
|
|
||||||
BuildRequires: ghc-deepseq-devel
|
|
||||||
BuildRequires: ghc-transformers-devel
|
|
||||||
%if %{with ghc_prof}
|
|
||||||
BuildRequires: ghc-array-prof
|
|
||||||
BuildRequires: ghc-base-prof
|
|
||||||
BuildRequires: ghc-containers-prof
|
|
||||||
BuildRequires: ghc-deepseq-prof
|
|
||||||
BuildRequires: ghc-transformers-prof
|
|
||||||
%endif
|
|
||||||
%if %{with tests}
|
|
||||||
BuildRequires: ghc-QuickCheck-devel
|
|
||||||
BuildRequires: ghc-hspec-devel
|
|
||||||
%endif
|
|
||||||
# End cabal-rpm deps
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
An inductive representation of manipulating graph data structures.
|
%{common_description}
|
||||||
|
|
||||||
Original website can be found at
|
|
||||||
<http://web.engr.oregonstate.edu/~erwig/fgl/haskell>.
|
|
||||||
|
|
||||||
|
|
||||||
%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}
|
|
||||||
# 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_lib_package
|
||||||
%if %{with tests}
|
|
||||||
%cabal_test
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
|
||||||
# Begin cabal-rpm files:
|
|
||||||
%license LICENSE
|
|
||||||
# End cabal-rpm files
|
|
||||||
|
|
||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
|
||||||
%doc ChangeLog
|
|
||||||
|
|
||||||
|
|
||||||
%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
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.4.2.4-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Dec 19 2011 Jens Petersen <petersen@redhat.com> - 5.4.2.4-1
|
||||||
|
- update to 5.4.2.4 for haskell-platform-2011.4
|
||||||
|
|
||||||
|
* Thu Oct 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 5.4.2.3-8.2
|
||||||
|
- rebuild with new gmp without compat lib
|
||||||
|
|
||||||
|
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 5.4.2.3-8.1
|
||||||
|
- rebuild with new gmp
|
||||||
|
|
||||||
|
* Tue Jun 21 2011 Jens Petersen <petersen@redhat.com> - 5.4.2.3-8
|
||||||
|
- ghc_arches replaces ghc_excluded_archs
|
||||||
|
|
||||||
|
* Mon Jun 20 2011 Jens Petersen <petersen@redhat.com> - 5.4.2.3-7
|
||||||
|
- BR ghc-Cabal-devel and use ghc_excluded_archs
|
||||||
|
|
||||||
|
* Fri May 27 2011 Jens Petersen <petersen@redhat.com> - 5.4.2.3-6
|
||||||
|
- update to cabal2spec-0.23
|
||||||
|
|
||||||
|
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 5.4.2.3-5
|
||||||
|
- Enable build on sparcv9
|
||||||
|
|
||||||
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.4.2.3-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 18 2011 Jens Petersen <petersen@redhat.com> - 5.4.2.3-3
|
||||||
|
- update to cabal2spec-0.22.4
|
||||||
|
|
||||||
|
* Thu Nov 25 2010 Jens Petersen <petersen@redhat.com> - 5.4.2.3-2
|
||||||
|
- add hscolour
|
||||||
|
- drop -o obsoletes
|
||||||
|
|
||||||
|
* Fri Jul 16 2010 Jens Petersen <petersen@redhat.com> - 5.4.2.3-1
|
||||||
|
- update to 5.4.2.3 for haskell-platform-2010.2.0.0
|
||||||
|
- obsolete doc subpackage (ghc-rpm-macros-0.8.0)
|
||||||
|
|
||||||
|
* Sat Jun 26 2010 Jens Petersen <petersen@redhat.com> - 5.4.2.2-6
|
||||||
|
- strip shared library (cabal2spec-0.21.4)
|
||||||
|
|
||||||
|
* Tue Apr 27 2010 Jens Petersen <petersen@redhat.com> - 5.4.2.2-5
|
||||||
|
- part of haskell-platform-2010.1.0.0
|
||||||
|
- rebuild against ghc-6.12.2
|
||||||
|
- condition ghc_lib_package
|
||||||
|
|
||||||
|
* Tue Jan 12 2010 Jens Petersen <petersen@redhat.com> - 5.4.2.2-4
|
||||||
|
- rebuild against ghc-mtl package
|
||||||
|
|
||||||
|
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 5.4.2.2-3
|
||||||
|
- update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1:
|
||||||
|
- drop doc and prof bcond
|
||||||
|
- use common_summary and common_description
|
||||||
|
- use ghc_lib_package and ghc_pkg_deps
|
||||||
|
|
||||||
|
* Sat Dec 26 2009 Jens Petersen <petersen@redhat.com> - 5.4.2.2-2
|
||||||
|
- update for ghc-6.12.1: add shared library support
|
||||||
|
- use new ghc*_requires macros: needs ghc-rpm-macros 0.4.0
|
||||||
|
- add common_summary and common_description
|
||||||
|
- buildrequires ghc-mtl
|
||||||
|
|
||||||
|
* Wed Aug 12 2009 Bryan O'Sullivan <bos@serpentine.com> - 5.4.2.2-1
|
||||||
|
- initial packaging for Fedora created by cabal2spec
|
||||||
|
Loading…
Reference in New Issue
Block a user