From e59ddc8945847db2091c3857b0ace57c1179c3ad057562e5e387c4d624ff8650 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 17:22:09 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main ocaml-pcre revision ca011a404aef7f2854a0b863c6eb3a25 --- .gitattributes | 23 +++++++++ _service | 17 +++++++ ocaml-pcre-7.5.0.tar.xz | 3 ++ ocaml-pcre.changes | 107 ++++++++++++++++++++++++++++++++++++++++ ocaml-pcre.spec | 69 ++++++++++++++++++++++++++ 5 files changed, 219 insertions(+) create mode 100644 .gitattributes create mode 100644 _service create mode 100644 ocaml-pcre-7.5.0.tar.xz create mode 100644 ocaml-pcre.changes create mode 100644 ocaml-pcre.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/_service b/_service new file mode 100644 index 0000000..017ec06 --- /dev/null +++ b/_service @@ -0,0 +1,17 @@ + + + ocaml-pcre + efdf4840f1a4d8e26f125fa9c18f2a02944e6897 + git + disable + https://github.com/mmottl/pcre-ocaml.git + @PARENT_TAG@ + [v]?([^+]+)(.*) + \1 + + + *.tar + xz + + + diff --git a/ocaml-pcre-7.5.0.tar.xz b/ocaml-pcre-7.5.0.tar.xz new file mode 100644 index 0000000..8abd66b --- /dev/null +++ b/ocaml-pcre-7.5.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2284a961979e9da7fca6175b970f9f03a473aff5da1c0e60e4a8ab7b74b1f70b +size 40576 diff --git a/ocaml-pcre.changes b/ocaml-pcre.changes new file mode 100644 index 0000000..a138fa5 --- /dev/null +++ b/ocaml-pcre.changes @@ -0,0 +1,107 @@ +------------------------------------------------------------------- +Mon Apr 4 04:04:04 UTC 2022 - ohering@suse.de + +- Use https URL for github.com + +------------------------------------------------------------------- +Sat Sep 11 12:34:56 UTC 2021 - ohering@suse.de + +- Update to version 7.5.0 + Require dune 2.7+ + +------------------------------------------------------------------- +Thu Aug 20 20:20:20 UTC 2020 - ohering@suse.de + +- Update to version 7.4.6 + Remove build dependency on Base + +------------------------------------------------------------------- +Sat Feb 29 20:20:20 UTC 2020 - ohering@suse.de + +- Update to version 7.4.3 + See included CHANGES.md + +------------------------------------------------------------------- +Thu Feb 20 20:20:20 UTC 2020 - ohering@suse.de + +- Update to version 7.4.1 +- Require current ocaml-rpm-macros +- Remove ocaml-pcre-warnings.patch + +------------------------------------------------------------------- +Tue Jul 25 13:04:54 UTC 2017 - ohering@suse.de + +- Use Group: Development/Languages/OCaml + +------------------------------------------------------------------- +Mon Jul 17 12:48:58 UTC 2017 - ohering@suse.de + +- Wrap specfile conditionals to fix quilt setup + +------------------------------------------------------------------- +Mon Jul 17 10:48:58 UTC 2017 - ohering@suse.de + +- Remove autodeps for pre openSUSE 12.1 releases + +------------------------------------------------------------------- +Mon May 23 20:02:46 UTC 2016 - ohering@suse.de + +- Update to version 7.2.3 + +------------------------------------------------------------------- +Tue Nov 10 10:52:06 UTC 2015 - ohering@suse.de + +- Update to version 7.1.6 + +------------------------------------------------------------------- +Tue Nov 10 10:18:47 UTC 2015 - ohering@suse.de + +- Add hardcoded Provides for pre 12.1 repos + +------------------------------------------------------------------- +Mon Feb 16 16:33:25 UTC 2015 - ohering@suse.de + +- Update to version 7.1.5 + +------------------------------------------------------------------- +Mon Jun 3 09:23:34 CEST 2013 - ohering@suse.de + +- Recompress with xz + +------------------------------------------------------------------- +Wed Jan 16 16:03:19 CET 2013 - ohering@suse.de + +- disable also /usr/lib/rpm/find-debuginfo.sh + +------------------------------------------------------------------- +Mon Jan 14 15:58:16 CET 2013 - ohering@suse.de + +- disable strip, it destroys bytecode binaries + +------------------------------------------------------------------- +Mon Jan 14 10:07:21 CET 2013 - ohering@suse.de + +- change Requires: version-release to just Requires: version + +------------------------------------------------------------------- +Mon Sep 17 16:06:58 CEST 2012 - ohering@suse.de + +- Update to version 7.0.2 + Added --with-pcre-config flag to configure location of PCRE configuration generator. + Upgraded to OCaml 4.00 + Switched to Oasis for packaging + Switched to OCamlBuild for the build process + Rewrote README in Markdown + Added stricter compilation flags + Minor bugfixes + Fixed native code debug build target by updating OCamlMakefile. + Fixed a Windows portability bug in the C-bindings. + Updated OCamlMakefile to fix linking order. + +------------------------------------------------------------------- +Tue Jul 5 20:00:55 UTC 2011 - ampsaltis@gmail.com + +- Add changes file +- New (sort of) upstream version 6.2.2 +- Internal dep generation now based on SuSE version + diff --git a/ocaml-pcre.spec b/ocaml-pcre.spec new file mode 100644 index 0000000..daca32f --- /dev/null +++ b/ocaml-pcre.spec @@ -0,0 +1,69 @@ +# +# spec file for package ocaml-pcre +# +# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2011 Andrew Psaltis +# +# 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/ +# + + +Name: ocaml-pcre +Version: 7.5.0 +Release: 0 +%{?ocaml_preserve_bytecode} +Summary: Perl compatibility regular expressions (PCRE) for OCaml +License: LGPL-2.0-only +Group: Development/Languages/OCaml +URL: https://opam.ocaml.org/packages/pcre +Source0: %name-%version.tar.xz +BuildRequires: ocaml-dune >= 2.7 +BuildRequires: ocaml-rpm-macros >= 20220222 +BuildRequires: pkg-config +BuildRequires: ocaml(ocaml_base_version) >= 4.12 +BuildRequires: ocamlfind(dune.configurator) +BuildRequires: pkgconfig(libpcre) + +%description +Perl compatibile regular expressions (PCRE) for OCaml. + +%package devel +Summary: Development files for %name +Group: Development/Languages/OCaml +Requires: %name = %version +Requires: pcre-devel + +%description devel +The %name-devel package contains libraries and signature files for +developing applications that use %name. + +%prep +%autosetup -p1 + +%build +dune_release_pkgs='pcre' +%ocaml_dune_setup +%ocaml_dune_build + +%install +%ocaml_dune_install +%ocaml_create_file_list + +%check +%ocaml_dune_test + +%files -f %name.files + +%files devel -f %name.files.devel +%doc README.md + +%changelog