From 6355383a3964f8a0a5426f29bc3fb947d94c4027c702b13dd17c1bc4aa4b6b85 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 20 Oct 2020 09:15:30 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-citeproc revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-citeproc?expand=0&rev=1 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + citeproc-0.1.0.2.tar.gz | 3 ++ ghc-citeproc.changes | 35 +++++++++++++++ ghc-citeproc.spec | 94 +++++++++++++++++++++++++++++++++++++++++ 5 files changed, 156 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 citeproc-0.1.0.2.tar.gz create mode 100644 ghc-citeproc.changes create mode 100644 ghc-citeproc.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/citeproc-0.1.0.2.tar.gz b/citeproc-0.1.0.2.tar.gz new file mode 100644 index 0000000..9f83b0b --- /dev/null +++ b/citeproc-0.1.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:963cdd13385040c16faa5e0f618ce84067d5bba91141a87352daa0d0c6308da0 +size 555065 diff --git a/ghc-citeproc.changes b/ghc-citeproc.changes new file mode 100644 index 0000000..9f86384 --- /dev/null +++ b/ghc-citeproc.changes @@ -0,0 +1,35 @@ +------------------------------------------------------------------- +Fri Oct 16 02:00:51 UTC 2020 - psimons@suse.com + +- Update citeproc to version 0.1.0.2. + Upstream has edited the change log file since the last release in + a non-trivial way, i.e. they did more than just add a new entry + at the top. You can review the file at: + http://hackage.haskell.org/package/citeproc-0.1.0.2/src/CHANGELOG.md + +------------------------------------------------------------------- +Thu Oct 15 02:01:12 UTC 2020 - psimons@suse.com + +- Update citeproc to version 0.1.0.1. + ## 0.1.0.1 + + * Fix sorting when no `` element given. The spec says: + "In the absence of cs:sort, cites and bibliographic entries appear in + the order in which they are cited." This affects IEEE in particular. See + jgm/pandoc#6741. + + * Improve `sameNames` and citation grouping. Preivously if a citation + item had a prefix, it would not be grouped with following citations. + See jgm/pandoc#6722 for discussion. + + * Remove unneeded `hasNoSuffix` check in `sameNames`. + + * Remove unneeded import + + * `citeproc` executable: strip BOM before parsing style (#18). + +------------------------------------------------------------------- +Tue Oct 13 07:03:02 UTC 2020 - psimons@suse.com + +- Add citeproc at version 0.1. + diff --git a/ghc-citeproc.spec b/ghc-citeproc.spec new file mode 100644 index 0000000..395c270 --- /dev/null +++ b/ghc-citeproc.spec @@ -0,0 +1,94 @@ +# +# spec file for package ghc-citeproc +# +# Copyright (c) 2020 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 citeproc +%bcond_with tests +Name: ghc-%{pkg_name} +Version: 0.1.0.2 +Release: 0 +Summary: Generates citations and bibliography from CSL styles +License: BSD-2-Clause +URL: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-aeson-devel +BuildRequires: ghc-attoparsec-devel +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-case-insensitive-devel +BuildRequires: ghc-containers-devel +BuildRequires: ghc-data-default-devel +BuildRequires: ghc-file-embed-devel +BuildRequires: ghc-filepath-devel +BuildRequires: ghc-pandoc-types-devel +BuildRequires: ghc-rfc5051-devel +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-safe-devel +BuildRequires: ghc-scientific-devel +BuildRequires: ghc-text-devel +BuildRequires: ghc-transformers-devel +BuildRequires: ghc-uniplate-devel +BuildRequires: ghc-vector-devel +BuildRequires: ghc-xml-conduit-devel +%if %{with tests} +BuildRequires: ghc-Diff-devel +BuildRequires: ghc-directory-devel +BuildRequires: ghc-mtl-devel +BuildRequires: ghc-pretty-devel +BuildRequires: ghc-timeit-devel +%endif + +%description +Citeproc parses CSL style files and uses them to generate a list of formatted +citations and bibliography entries. For more information about CSL, see +. + +%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. + +%prep +%autosetup -n %{pkg_name}-%{version} + +%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 + +%files devel -f %{name}-devel.files +%doc CHANGELOG.md README.md + +%changelog