From 0afa6486ac623676935ff8bbb8011597fb79602b78bbe19454fb165601f077bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 18:43:15 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main perl-Sort-Key revision 709cfad6aa3c3a0d611501e917cfa548 --- .gitattributes | 23 ++++++++++++++++ Sort-Key-1.33.tar.gz | 3 +++ perl-Sort-Key.changes | 12 +++++++++ perl-Sort-Key.spec | 63 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 101 insertions(+) create mode 100644 .gitattributes create mode 100644 Sort-Key-1.33.tar.gz create mode 100644 perl-Sort-Key.changes create mode 100644 perl-Sort-Key.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/Sort-Key-1.33.tar.gz b/Sort-Key-1.33.tar.gz new file mode 100644 index 0000000..fbdec48 --- /dev/null +++ b/Sort-Key-1.33.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed6a4ccfab094c9cd164f564024e98bd21d94f4312ccac4d6246d22b34081acf +size 58324 diff --git a/perl-Sort-Key.changes b/perl-Sort-Key.changes new file mode 100644 index 0000000..7d8dfaf --- /dev/null +++ b/perl-Sort-Key.changes @@ -0,0 +1,12 @@ +------------------------------------------------------------------- +Tue Apr 14 18:18:27 UTC 2015 - coolo@suse.com + +- updated to 1.33 + see /usr/share/doc/packages/perl-Sort-Key/Changes + +------------------------------------------------------------------- +Wed Sep 28 14:31:28 UTC 2011 - coolo@suse.com + +- initial package 1.28 + * created by cpanspec 1.78.06 + diff --git a/perl-Sort-Key.spec b/perl-Sort-Key.spec new file mode 100644 index 0000000..8eb4c9e --- /dev/null +++ b/perl-Sort-Key.spec @@ -0,0 +1,63 @@ +# +# spec file for package perl-Sort-Key +# +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + + +Name: perl-Sort-Key +Version: 1.33 +Release: 0 +%define cpan_name Sort-Key +Summary: the fastest way to sort anything in Perl +License: GPL-1.0+ or Artistic-1.0 +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/Sort-Key/ +Source: http://www.cpan.org/authors/id/S/SA/SALVA/%{cpan_name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +%{perl_requires} + +%description +Sort::Key provides a set of functions to sort lists of values by some +calculated key value. + +It is faster (usually *much faster*) and uses less memory than other +alternatives implemented around perl sort function (ST, GRT, etc.). + +Multi-key sorting functionality is also provided via the companion modules +the Sort::Key::Multi manpage, the Sort::Key::Maker manpage and the +Sort::Key::Register manpage. + +%prep +%setup -q -n %{cpan_name}-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +%{__make} %{?_smp_mflags} + +%check +%{__make} test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%files -f %{name}.files +%defattr(-,root,root,755) +%doc Changes README + +%changelog