osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-feed revision:3, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-feed?expand=0&rev=36
This commit is contained in:
Peter Simons 2024-12-10 11:25:54 +00:00 committed by Git OBS Bridge
commit 10dc492e27
6 changed files with 431 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
feed-1.3.2.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a8f54072edaaf7e978062b9de94733e8cc43e31b2dda3446f901bf57f1815955
size 107015

169
feed.cabal Normal file
View File

@ -0,0 +1,169 @@
name: feed
version: 1.3.2.1
x-revision: 4
license: BSD3
license-file: LICENSE
category: Text
synopsis: Interfacing with RSS (v 0.9x, 2.x, 1.0) + Atom feeds.
description: Interfacing with RSS (v 0.9x, 2.x, 1.0) + Atom feeds.
.
To help working with the multiple feed formats we've
ended up with, this set of modules provides parsers,
pretty printers and some utility code for querying
and just generally working with a concrete representation
of feeds in Haskell.
.
See here for an example of how to create an Atom feed:
<https://github.com/haskell-party/feed/blob/master/tests/Example/CreateAtom.hs>
.
For basic reading and editing of feeds, consult
the documentation of the Text.Feed.* hierarchy.
author: Sigbjorn Finne <sof@forkIO.com>
maintainer: Adam Bergmark <adam@bergmark.nl>
homepage: https://github.com/haskell-party/feed
bug-reports: https://github.com/haskell-party/feed/issues
cabal-version: 2.0
build-type: Simple
tested-with:
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.4
, GHC == 8.10.7
, GHC == 9.0.2
, GHC == 9.2.8
, GHC == 9.4.8
, GHC == 9.6.4
, GHC == 9.8.1
data-files:
tests/files/*.xml
extra-source-files:
README.md
CHANGELOG.md
source-repository head
type: git
location: https://github.com/haskell-party/feed.git
library
ghc-options: -Wall
hs-source-dirs: src
default-language: Haskell2010
default-extensions:
NoImplicitPrelude
OverloadedStrings
exposed-modules:
Text.Atom.Feed
Text.Atom.Feed.Export
Text.Atom.Feed.Import
Text.Atom.Feed.Link
Text.Atom.Feed.Validate
Text.Atom.Pub
Text.Atom.Pub.Export
Text.DublinCore.Types
Text.Feed.Constructor
Text.Feed.Export
Text.Feed.Import
Text.Feed.Query
Text.Feed.Translate
Text.Feed.Types
Text.Feed.Util
Text.RSS.Export
Text.RSS.Import
Text.RSS.Syntax
Text.RSS1.Export
Text.RSS1.Import
Text.RSS1.Syntax
Text.RSS1.Utils
other-modules:
Data.Text.Util
Data.XML.Compat
build-depends:
base >= 4 && < 4.20
, base-compat >= 0.9 && < 0.14
, bytestring >= 0.9 && < 0.13
, old-locale == 1.0.*
, old-time >= 1 && < 1.2
, safe == 0.3.*
, text < 1.3 || >= 2.0 && < 2.2
, time < 1.13
, time-locale-compat == 0.1.*
, utf8-string < 1.1
, xml-types >= 0.3.6 && < 0.4
, xml-conduit >= 1.3 && < 1.10
test-suite tests
ghc-options: -Wall
hs-source-dirs: tests
main-is: Main.hs
type: exitcode-stdio-1.0
default-language: Haskell2010
default-extensions:
NoImplicitPrelude
OverloadedStrings
autogen-modules:
Paths_feed
other-modules:
Paths_feed
Example
Example.CreateAtom
ImportExport
Text.Atom.Tests
Text.Atom.Validate.Tests
Text.Feed.Util.Tests
Text.RSS.Equals
Text.RSS.Export.Tests
Text.RSS.Import.Tests
Text.RSS.Tests
Text.RSS.Utils
build-depends:
base >= 4.6 && < 4.20
, base-compat >= 0.9 && < 0.14
, HUnit >= 1.2 && < 1.7
, feed
, old-time >= 1 && < 1.2
, syb
, test-framework == 0.8.*
, test-framework-hunit == 0.3.*
, text < 1.3 || >= 2.0 && < 2.2
, time < 1.13
, xml-types >= 0.3.6 && < 0.4
, xml-conduit >= 1.3 && < 1.10
test-suite readme
ghc-options: -Wall -pgmL markdown-unlit
main-is: README.lhs
default-language: Haskell2010
default-extensions:
NoImplicitPrelude
OverloadedStrings
type: exitcode-stdio-1.0
build-depends:
base >= 4.6
, base-compat >= 0.9 && < 0.13
, text
, feed
, xml-conduit
, xml-types
build-tool-depends:
markdown-unlit:markdown-unlit >= 0.4 && < 0.6
test-suite readme-doctests
hs-source-dirs: tests
main-is: doctest-driver.hs
type: exitcode-stdio-1.0
default-language: Haskell2010
if impl(ghc < 8)
buildable: False
build-depends:
base >= 4.6
, doctest
, doctest-driver-gen
, feed
build-tool-depends:
markdown-unlit:markdown-unlit >= 0.4 && < 0.6
, doctest-driver-gen:doctest-driver-gen

88
ghc-feed.changes Normal file
View File

@ -0,0 +1,88 @@
-------------------------------------------------------------------
Tue Feb 27 19:34:31 UTC 2024 - Peter Simons <psimons@suse.com>
- Update feed to version 1.3.2.1 revision 4.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sun Feb 4 13:55:23 UTC 2024 - Peter Simons <psimons@suse.com>
- Update feed to version 1.3.2.1 revision 3.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Fri Aug 4 19:44:22 UTC 2023 - Peter Simons <psimons@suse.com>
- Update feed to version 1.3.2.1 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Wed Jun 21 17:07:34 UTC 2023 - Peter Simons <psimons@suse.com>
- Relax overspecified constraint on base-compat.
-------------------------------------------------------------------
Thu Mar 30 17:06:46 UTC 2023 - Peter Simons <psimons@suse.com>
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
-------------------------------------------------------------------
Mon Feb 6 19:14:57 UTC 2023 - Peter Simons <psimons@suse.com>
- Update feed to version 1.3.2.1 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sat Mar 19 23:15:48 UTC 2022 - Peter Simons <psimons@suse.com>
- Update feed to version 1.3.2.1.
#### 1.3.2.1
* text 2.0 support, thanks to Alexander Batischev.
* Moved the repository to https://github.com/haskell-party/
-------------------------------------------------------------------
Sat Nov 20 17:29:02 UTC 2021 - psimons@suse.com
- Update feed to version 1.3.2.0 revision 3.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sun Sep 5 17:53:06 UTC 2021 - psimons@suse.com
- Update feed to version 1.3.2.0 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Tue Jun 8 10:49:59 UTC 2021 - psimons@suse.com
- Update feed to version 1.3.2.0 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Thu Mar 11 08:23:38 UTC 2021 - psimons@suse.com
- Update feed to version 1.3.2.0.
### 1.3.2.0
* Expose RSS/Atom item content through queries by using `getItemContent`.
-------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- disable %{ix86} build
-------------------------------------------------------------------
Mon Aug 31 09:34:30 UTC 2020 - psimons@suse.com
- Update feed to version 1.3.0.1 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Tue Aug 18 10:44:50 UTC 2020 - Peter Simons <psimons@suse.com>
- Replace %setup -q with the more modern %autosetup macro.
-------------------------------------------------------------------
Tue Jun 9 09:26:18 UTC 2020 - psimons@suse.com
- Add feed at version 1.3.0.1.

147
ghc-feed.spec Normal file
View File

@ -0,0 +1,147 @@
#
# spec file for package ghc-feed
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global pkg_name feed
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 1.3.2.1
Release: 0
Summary: Interfacing with RSS (v 0.9x, 2.x, 1.0) + Atom feeds
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/4.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-compat-devel
BuildRequires: ghc-base-compat-prof
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-old-locale-devel
BuildRequires: ghc-old-locale-prof
BuildRequires: ghc-old-time-devel
BuildRequires: ghc-old-time-prof
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-safe-devel
BuildRequires: ghc-safe-prof
BuildRequires: ghc-text-devel
BuildRequires: ghc-text-prof
BuildRequires: ghc-time-devel
BuildRequires: ghc-time-locale-compat-devel
BuildRequires: ghc-time-locale-compat-prof
BuildRequires: ghc-time-prof
BuildRequires: ghc-utf8-string-devel
BuildRequires: ghc-utf8-string-prof
BuildRequires: ghc-xml-conduit-devel
BuildRequires: ghc-xml-conduit-prof
BuildRequires: ghc-xml-types-devel
BuildRequires: ghc-xml-types-prof
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-HUnit-prof
BuildRequires: ghc-doctest-devel
BuildRequires: ghc-doctest-driver-gen-devel
BuildRequires: ghc-doctest-driver-gen-prof
BuildRequires: ghc-doctest-prof
BuildRequires: ghc-syb-devel
BuildRequires: ghc-syb-prof
BuildRequires: ghc-test-framework-devel
BuildRequires: ghc-test-framework-hunit-devel
BuildRequires: ghc-test-framework-hunit-prof
BuildRequires: ghc-test-framework-prof
%endif
%description
Interfacing with RSS (v 0.9x, 2.x, 1.0) + Atom feeds.
To help working with the multiple feed formats we've ended up with, this set of
modules provides parsers, pretty printers and some utility code for querying
and just generally working with a concrete representation of feeds in Haskell.
See here for an example of how to create an Atom feed:
<https://github.com/haskell-party/feed/blob/master/tests/Example/CreateAtom.hs>
For basic reading and editing of feeds, consult the documentation of the
Text.Feed.* hierarchy.
%package devel
Summary: Haskell %{pkg_name} library development files
Requires: %{name} = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
%description devel
This package provides the Haskell %{pkg_name} library development files.
%package -n ghc-%{pkg_name}-doc
Summary: Haskell %{pkg_name} library documentation
Requires: ghc-filesystem
BuildArch: noarch
%description -n ghc-%{pkg_name}-doc
This package provides the Haskell %{pkg_name} library documentation.
%package -n ghc-%{pkg_name}-prof
Summary: Haskell %{pkg_name} profiling library
Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
%description -n ghc-%{pkg_name}-prof
This package provides the Haskell %{pkg_name} profiling library.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
cabal-tweak-dep-ver base '< 4.20' '< 5'
cabal-tweak-dep-ver base-compat '< 0.14' '< 1'
%build
%ghc_lib_build
%install
%ghc_lib_install
%check
%cabal_test
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files -f %{name}.files
%license LICENSE
%dir %{_datadir}/%{pkg_name}-%{version}
%dir %{_datadir}/%{pkg_name}-%{version}/tests
%dir %{_datadir}/%{pkg_name}-%{version}/tests/files
%{_datadir}/%{pkg_name}-%{version}/tests/files/*.xml
%files devel -f %{name}-devel.files
%doc CHANGELOG.md README.md
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
%license LICENSE
%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
%changelog