Compare commits

...

49 Commits
f12 ... rawhide

Author SHA1 Message Date
Jens Petersen
a9f7e88064 Convert to %autorelease and %autochangelog
[skip changelog]
2023-02-16 13:21:51 +08:00
Jens Petersen
3c895029b1 refresh to cabal-rpm-2.1.0 with SPDX migration 2023-02-16 12:43:35 +08:00
Fedora Release Engineering
886da2c686 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 05:06:13 +00:00
Jens Petersen
0e468be787 bump release 2022-06-18 00:49:16 +08:00
Fedora Release Engineering
b3bf3cdba0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 04:51:14 +00:00
Jens Petersen
ca899577c4 refresh to cabal-rpm-2.0.9 2021-08-05 11:50:40 +08:00
Jens Petersen
733b37979e update to 5.7.0.3 2021-08-05 11:50:38 +08:00
Fedora Release Engineering
670e05d84b - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 00:38:16 +00:00
Fedora Release Engineering
3c5db76466 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 07:10:27 +00:00
Fedora Release Engineering
8bd22d44ef - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 19:06:53 +00:00
Jens Petersen
b4a80e3bb4 bump release 2020-07-17 18:08:44 +08:00
Jens Petersen
013fcabc93 refresh to cabal-rpm-2.0.6 2020-07-16 19:03:25 +08:00
Jens Petersen
9524b8b04f refresh to cabal-rpm-2.0.5 2020-06-04 19:26:19 +08:00
Jens Petersen
6a32cd94e5 update to 5.7.0.2 2020-02-14 11:24:57 +08:00
Jens Petersen
3cdf5e5c12 refresh to cabal-rpm-2.0.2 2020-02-08 22:50:09 +08:00
Fedora Release Engineering
8e9b1baf74 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 20:41:13 +00:00
Jens Petersen
ba630316f5 BR prof for lib and static for executable 2019-08-05 18:29:06 +08:00
Jens Petersen
a00daa734d update to 5.7.0.1 2019-07-25 15:40:32 +00:00
Jens Petersen
3a5bec5cf2 refresh to cabal-rpm-1.0.0: lib doc/prof subpkgs and bin static BRs 2019-07-25 06:27:47 +00:00
Fedora Release Engineering
7d6556d4b5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 02:26:26 +00:00
Jens Petersen
a278d09b58 refresh to cabal-rpm-0.13 2019-02-27 01:44:28 +08:00
Mohan Boddu
3e555002ac Revert "Orphaned for 6+ weeks"
Unretiring for https://pagure.io/releng/issue/8155

This reverts commit 0c451eaf0d.
2019-02-25 12:49:18 -05:00
Miro Hrončok
0c451eaf0d Orphaned for 6+ weeks 2018-12-24 12:09:29 +01:00
Fedora Release Engineering
1810f674c3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 01:47:04 +00:00
Jens Petersen
f16bc0f836 re-import (#1585448) 2018-07-01 22:08:02 +09:00
Fedora Release Engineering
272b87a53d Revert "obsoleted by haskell-platform subpackage"
This reverts commit 2dc0960ec7.

https://pagure.io/releng/issue/7549

Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-06-05 19:52:58 +00:00
Jens Petersen
2dc0960ec7 obsoleted by haskell-platform subpackage 2012-07-16 09:35:03 +09:00
Jens Petersen
cf74aa6d38 update to cabal2spec-0.25 2012-03-22 00:06:59 +09:00
Dennis Gilmore
3cf9223126 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 21:22:51 -06:00
Jens Petersen
cf4507806d update to 5.4.2.4 for haskell-platform-2011.4 2011-12-19 10:53:06 +09:00
Marcela Mašláňová
fd6e40afcb rebuild with new gmp without compat lib 2011-10-20 23:01:55 +02:00
Marcela Mašláňová
b88add5fc9 rebuild with new gmp 2011-10-11 13:08:26 +02:00
Jens Petersen
21c3ca2611 ghc_arches replaces ghc_excluded_archs (cabal2spec-0.23.2) 2011-06-21 17:24:53 +09:00
Jens Petersen
5dd790f699 BR ghc-Cabal-devel and use ghc_excluded_archs 2011-06-20 11:08:42 +09:00
Jens Petersen
dc123da4d8 forgot to add ppc64 2011-05-27 17:05:48 +09:00
Jens Petersen
6f06a3aaa6 update to cabal2spec-0.23 2011-05-27 17:00:38 +09:00
Fabio M. Di Nitto
71e16799d2 Enable build on sparcv9
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2011-03-10 09:15:38 +01:00
Dennis Gilmore
852aaf03f5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 19:11:16 -06:00
Jens Petersen
3ee2951032 update to cabal2spec-0.22.4 2011-01-18 18:36:19 +10:00
Jens Petersen
ddad448659 add hscolour, update url, drop -o obsoletes 2010-11-25 18:20:25 +10:00
Fedora Release Engineering
12aafc2ace dist-git conversion 2010-07-28 15:34:26 +00:00
Jens Petersen
60bb72379a - update to 5.4.2.3 for haskell-platform-2010.2.0.0
- obsolete doc subpackage (ghc-rpm-macros-0.8.0)
2010-07-16 05:05:29 +00:00
Jens Petersen
8eed8d2190 strip shared library (cabal2spec-0.21.4) 2010-06-25 14:18:50 +00:00
Jens Petersen
24109b1985 - part of haskell-platform-2010.1.0.0
- rebuild against ghc-6.12.2
- condition ghc_lib_package
2010-04-27 03:11:06 +00:00
Jens Petersen
15d9777507 rebuild against ghc-mtl package 2010-01-11 14:59:34 +00:00
Jens Petersen
e2acd0d809 - 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
2010-01-11 06:33:28 +00:00
Jens Petersen
e563b19bb6 buildrequires ghc-mtl 2009-12-25 16:21:57 +00:00
Jens Petersen
07b2fd5462 - 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
2009-12-25 15:56:06 +00:00
Bill Nottingham
50ca3dd51c Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:19:25 +00:00
7 changed files with 268 additions and 109 deletions

View File

@ -1 +0,0 @@
fgl-5.4.2.2.tar.gz

6
.gitignore vendored Normal file
View 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

View File

@ -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
View 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
View 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
}

View File

@ -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 pkgver %{pkg_name}-%{version}
%bcond_without doc
%bcond_without prof
# ghc does not emit debug information
%global debug_package %{nil}
# needs older QuickCheck
%bcond_with tests
Name: ghc-%{pkg_name}
# part of haskell-platform-2009.2.0.2
Version: 5.4.2.2
Release: 1%{?dist}
Summary: Haskell %{pkg_name} library
Version: 5.7.0.3
Release: %autorelease
Summary: Martin Erwig's Functional Graph Library
Group: Development/Libraries
License: BSD
URL: http://web.engr.oregonstate.edu/~erwig/fgl/haskell/
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha
BuildRequires: ghc
License: BSD-3-Clause
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
# End cabal-rpm sources
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
%if %{with doc}
BuildRequires: ghc-doc
BuildRequires: ghc-array-devel
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
%if %{with prof}
BuildRequires: ghc-prof
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-hspec-devel
%endif
# End cabal-rpm deps
%description
This package provides the Haskell %{pkg_name} library for ghc. This
is a library of types and functions for addressing graph problems.
An inductive representation of manipulating graph data structures.
Original website can be found at
<http://web.engr.oregonstate.edu/~erwig/fgl/haskell>.
%package devel
Summary: Haskell %{pkg_name} library
Group: Development/Libraries
Requires: ghc = %{ghc_version}
Requires(post): ghc = %{ghc_version}
Requires(preun): ghc = %{ghc_version}
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 contains the development files for %{name}
built for ghc-%{ghc_version}.
This package provides the Haskell %{pkg_name} library development files.
%if %{with doc}
%if %{with haddock}
%package doc
Summary: Documentation for %{name}
Group: Development/Libraries
Requires: ghc-doc = %{ghc_version}
Requires(post): ghc-doc = %{ghc_version}
Requires(postun): ghc-doc = %{ghc_version}
Summary: Haskell %{pkg_name} library documentation
BuildArch: noarch
Requires: ghc-filesystem
%description doc
This package contains development documentation files for the %{name} library.
This package provides the Haskell %{pkg_name} library documentation.
%endif
%if %{with prof}
%if %{with ghc_prof}
%package prof
Summary: Profiling libraries for %{name}
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
Requires: ghc-prof = %{ghc_version}
Summary: Haskell %{pkg_name} profiling library
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
Supplements: (%{name}-devel and ghc-prof)
%description prof
This package contains profiling libraries for %{name}
built for ghc-%{ghc_version}.
This package provides the Haskell %{pkg_name} profiling library.
%endif
%prep
%setup -q -n %{pkg_name}-%{version}
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
# End cabal-rpm setup
%build
%cabal_configure --ghc %{?with_prof:-p}
%cabal build
%if %{with doc}
%cabal haddock
%endif
%ghc_gen_scripts
# Begin cabal-rpm build:
%ghc_lib_build
# End cabal-rpm build
%install
rm -rf $RPM_BUILD_ROOT
%cabal_install
%ghc_install_scripts
%ghc_gen_filelists %{name}
# Begin cabal-rpm install
%ghc_lib_install
# End cabal-rpm install
%clean
rm -rf $RPM_BUILD_ROOT
%post devel
%ghc_register_pkg
%if %{with doc}
%post doc
%ghc_reindex_haddock
%check
%if %{with tests}
%cabal_test
%endif
%preun devel
if [ "$1" -eq 0 ] ; then
%ghc_unregister_pkg
fi
%if %{with doc}
%postun doc
if [ "$1" -eq 0 ] ; then
%ghc_reindex_haddock
fi
%endif
%files -f %{name}.files
# Begin cabal-rpm files:
%license LICENSE
# End cabal-rpm files
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%{_docdir}/%{name}-%{version}
%doc ChangeLog
%if %{with doc}
%if %{with haddock}
%files doc -f %{name}-doc.files
%defattr(-,root,root,-)
%license LICENSE
%endif
%if %{with prof}
%if %{with ghc_prof}
%files prof -f %{name}-prof.files
%defattr(-,root,root,-)
%endif
%changelog
* Wed Aug 12 2009 Bryan O'Sullivan <bos@serpentine.com> - 5.4.2.2-1
- initial packaging for Fedora created by cabal2spec
%autochangelog

View File

@ -1 +1 @@
ad49ce31af04c0fd9c6dbfa52801ff83 fgl-5.4.2.2.tar.gz
SHA512 (fgl-5.7.0.3.tar.gz) = f77ee1a66fe02b0a01e70b6fcb16baaba67be5433e4310bfb0862cec66855fc0413de586ca111e2e1569898b890fe93faf7c9f079dc569ca2d32b6c087762bbd