forked from pool/ghc-citeproc
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
This commit is contained in:
commit
6355383a39
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
citeproc-0.1.0.2.tar.gz
Normal file
3
citeproc-0.1.0.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:963cdd13385040c16faa5e0f618ce84067d5bba91141a87352daa0d0c6308da0
|
||||||
|
size 555065
|
35
ghc-citeproc.changes
Normal file
35
ghc-citeproc.changes
Normal file
@ -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 `<sorting>` 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.
|
||||||
|
|
94
ghc-citeproc.spec
Normal file
94
ghc-citeproc.spec
Normal file
@ -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
|
||||||
|
<https://citationstyles.org/>.
|
||||||
|
|
||||||
|
%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
|
Loading…
Reference in New Issue
Block a user