Compare commits
49 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
a9f7e88064 | ||
|
3c895029b1 | ||
|
886da2c686 | ||
|
0e468be787 | ||
|
b3bf3cdba0 | ||
|
ca899577c4 | ||
|
733b37979e | ||
|
670e05d84b | ||
|
3c5db76466 | ||
|
8bd22d44ef | ||
|
b4a80e3bb4 | ||
|
013fcabc93 | ||
|
9524b8b04f | ||
|
6a32cd94e5 | ||
|
3cdf5e5c12 | ||
|
8e9b1baf74 | ||
|
ba630316f5 | ||
|
a00daa734d | ||
|
3a5bec5cf2 | ||
|
7d6556d4b5 | ||
|
a278d09b58 | ||
|
3e555002ac | ||
|
0c451eaf0d | ||
|
1810f674c3 | ||
|
f16bc0f836 | ||
|
272b87a53d | ||
|
2dc0960ec7 | ||
|
cf74aa6d38 | ||
|
3cf9223126 | ||
|
cf4507806d | ||
|
fd6e40afcb | ||
|
b88add5fc9 | ||
|
21c3ca2611 | ||
|
5dd790f699 | ||
|
dc123da4d8 | ||
|
6f06a3aaa6 | ||
|
71e16799d2 | ||
|
852aaf03f5 | ||
|
3ee2951032 | ||
|
ddad448659 | ||
|
12aafc2ace | ||
|
60bb72379a | ||
|
8eed8d2190 | ||
|
24109b1985 | ||
|
15d9777507 | ||
|
e2acd0d809 | ||
|
e563b19bb6 | ||
|
07b2fd5462 | ||
|
50ca3dd51c |
@ -1 +0,0 @@
|
|||||||
fgl-5.4.2.2.tar.gz
|
|
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
fgl-5.4.2.3.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
|
21
Makefile
21
Makefile
@ -1,21 +0,0 @@
|
|||||||
# Makefile for source rpm: ghc-fgl
|
|
||||||
# $Id$
|
|
||||||
NAME := ghc-fgl
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
define find-makefile-common
|
|
||||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
||||||
|
|
||||||
ifeq ($(MAKEFILE_COMMON),)
|
|
||||||
# attept a checkout
|
|
||||||
define checkout-makefile-common
|
|
||||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(MAKEFILE_COMMON)
|
|
50
changelog
Normal file
50
changelog
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
* 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
|
136
fgl-5.7.0.3.cabal
Normal file
136
fgl-5.7.0.3.cabal
Normal file
@ -0,0 +1,136 @@
|
|||||||
|
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
|
||||||
|
|
||||||
|
}
|
161
ghc-fgl.spec
161
ghc-fgl.spec
@ -1,141 +1,130 @@
|
|||||||
|
# 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}
|
||||||
|
|
||||||
%bcond_without doc
|
# needs older QuickCheck
|
||||||
%bcond_without prof
|
%bcond_with tests
|
||||||
|
|
||||||
# ghc does not emit debug information
|
|
||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
# part of haskell-platform-2009.2.0.2
|
Version: 5.7.0.3
|
||||||
Version: 5.4.2.2
|
Release: %autorelease
|
||||||
Release: 1%{?dist}
|
Summary: Martin Erwig's Functional Graph Library
|
||||||
Summary: Haskell %{pkg_name} library
|
|
||||||
|
|
||||||
Group: Development/Libraries
|
License: BSD-3-Clause
|
||||||
License: BSD
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
URL: http://web.engr.oregonstate.edu/~erwig/fgl/haskell/
|
# Begin cabal-rpm sources:
|
||||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
# End cabal-rpm sources
|
||||||
# fedora ghc archs:
|
|
||||||
ExclusiveArch: %{ix86} x86_64 ppc alpha
|
# Begin cabal-rpm deps:
|
||||||
BuildRequires: ghc
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
%if %{with doc}
|
BuildRequires: ghc-array-devel
|
||||||
BuildRequires: ghc-doc
|
BuildRequires: ghc-base-devel
|
||||||
|
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
|
%endif
|
||||||
%if %{with prof}
|
%if %{with tests}
|
||||||
BuildRequires: ghc-prof
|
BuildRequires: ghc-QuickCheck-devel
|
||||||
|
BuildRequires: ghc-hspec-devel
|
||||||
%endif
|
%endif
|
||||||
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides the Haskell %{pkg_name} library for ghc. This
|
An inductive representation of manipulating graph data structures.
|
||||||
is a library of types and functions for addressing graph problems.
|
|
||||||
|
Original website can be found at
|
||||||
|
<http://web.engr.oregonstate.edu/~erwig/fgl/haskell>.
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Haskell %{pkg_name} library
|
Summary: Haskell %{pkg_name} library development files
|
||||||
Group: Development/Libraries
|
Provides: %{name}-static = %{version}-%{release}
|
||||||
Requires: ghc = %{ghc_version}
|
Provides: %{name}-static%{?_isa} = %{version}-%{release}
|
||||||
Requires(post): ghc = %{ghc_version}
|
%if %{defined ghc_version}
|
||||||
Requires(preun): ghc = %{ghc_version}
|
Requires: ghc-compiler = %{ghc_version}
|
||||||
|
%endif
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains the development files for %{name}
|
This package provides the Haskell %{pkg_name} library development files.
|
||||||
built for ghc-%{ghc_version}.
|
|
||||||
|
|
||||||
|
|
||||||
%if %{with doc}
|
%if %{with haddock}
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for %{name}
|
Summary: Haskell %{pkg_name} library documentation
|
||||||
Group: Development/Libraries
|
BuildArch: noarch
|
||||||
Requires: ghc-doc = %{ghc_version}
|
Requires: ghc-filesystem
|
||||||
Requires(post): ghc-doc = %{ghc_version}
|
|
||||||
Requires(postun): ghc-doc = %{ghc_version}
|
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
This package contains development documentation files for the %{name} library.
|
This package provides the Haskell %{pkg_name} library documentation.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%if %{with prof}
|
%if %{with ghc_prof}
|
||||||
%package prof
|
%package prof
|
||||||
Summary: Profiling libraries for %{name}
|
Summary: Haskell %{pkg_name} profiling library
|
||||||
Group: Development/Libraries
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-devel = %{version}-%{release}
|
Supplements: (%{name}-devel and ghc-prof)
|
||||||
Requires: ghc-prof = %{ghc_version}
|
|
||||||
|
|
||||||
%description prof
|
%description prof
|
||||||
This package contains profiling libraries for %{name}
|
This package provides the Haskell %{pkg_name} profiling library.
|
||||||
built for ghc-%{ghc_version}.
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
# Begin cabal-rpm setup:
|
||||||
|
%setup -q -n %{pkgver}
|
||||||
|
# End cabal-rpm setup
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cabal_configure --ghc %{?with_prof:-p}
|
# Begin cabal-rpm build:
|
||||||
%cabal build
|
%ghc_lib_build
|
||||||
%if %{with doc}
|
# End cabal-rpm build
|
||||||
%cabal haddock
|
|
||||||
%endif
|
|
||||||
%ghc_gen_scripts
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
# Begin cabal-rpm install
|
||||||
%cabal_install
|
%ghc_lib_install
|
||||||
%ghc_install_scripts
|
# End cabal-rpm install
|
||||||
%ghc_gen_filelists %{name}
|
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%check
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%if %{with tests}
|
||||||
|
%cabal_test
|
||||||
|
|
||||||
%post devel
|
|
||||||
%ghc_register_pkg
|
|
||||||
|
|
||||||
|
|
||||||
%if %{with doc}
|
|
||||||
%post doc
|
|
||||||
%ghc_reindex_haddock
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%preun devel
|
%files -f %{name}.files
|
||||||
if [ "$1" -eq 0 ] ; then
|
# Begin cabal-rpm files:
|
||||||
%ghc_unregister_pkg
|
%license LICENSE
|
||||||
fi
|
# End cabal-rpm files
|
||||||
|
|
||||||
|
|
||||||
%if %{with doc}
|
|
||||||
%postun doc
|
|
||||||
if [ "$1" -eq 0 ] ; then
|
|
||||||
%ghc_reindex_haddock
|
|
||||||
fi
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
%defattr(-,root,root,-)
|
%doc ChangeLog
|
||||||
%{_docdir}/%{name}-%{version}
|
|
||||||
|
|
||||||
|
|
||||||
%if %{with doc}
|
%if %{with haddock}
|
||||||
%files doc -f %{name}-doc.files
|
%files doc -f %{name}-doc.files
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%if %{with prof}
|
%if %{with ghc_prof}
|
||||||
%files prof -f %{name}-prof.files
|
%files prof -f %{name}-prof.files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Aug 12 2009 Bryan O'Sullivan <bos@serpentine.com> - 5.4.2.2-1
|
%autochangelog
|
||||||
- initial packaging for Fedora created by cabal2spec
|
|
||||||
|
Loading…
Reference in New Issue
Block a user