From 18ebaf16568f45fc4e40617de523f43e011a17e0 Mon Sep 17 00:00:00 2001 From: Bernhard M. Wiedemann <bwiedemann@suse.de> Date: Sep 13 2019 14:29:36 +0000 Subject: restructure files to remain below github limit of 1000 entries --- diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..e25687d --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,20 @@ +--- +#description_paragraphs: 3 +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_install: |- +# sed on %{name}.files +license: GPL-1.0+ or Artistic-1.0 +#skip_noarch: 1 +#custom_build: - +#./Build build flags=%{?_smp_mflags} --myflag diff --git a/perl-Cache-Cache.changes b/perl-Cache-Cache.changes new file mode 100644 index 0000000..1db79b3 --- /dev/null +++ b/perl-Cache-Cache.changes @@ -0,0 +1,36 @@ +------------------------------------------------------------------- +Fri Apr 17 08:13:24 UTC 2015 - coolo@suse.com + +- updated to 1.08 + see /usr/share/doc/packages/perl-Cache-Cache/CHANGES + + 1.08 2015-01-22 + - try to avoid some race conditions (thanks, Petr Písař) + - typo fixes (thanks, David Steinbrunner) + +------------------------------------------------------------------- +Thu Sep 18 09:23:52 UTC 2014 - mlin@suse.com + +- update to version 1.07 + * fix a bug where we checked @$ instead of $@ after eval + +------------------------------------------------------------------- +Thu Mar 27 11:44:38 UTC 2014 - mlin@suse.com + +- update the license and polish the specfile + +------------------------------------------------------------------- +Wed Dec 1 06:55:32 UTC 2010 - coolo@novell.com + +- switch to perl_requires macro + +------------------------------------------------------------------- +Mon Nov 29 18:29:25 UTC 2010 - coolo@novell.com + +- remove /var/adm/perl-modules + +------------------------------------------------------------------- +Tue Sep 15 13:16:58 UTC 2009 - anicka@suse.cz + +- Initial packaging of perl-Cache-Cache 1.06 + diff --git a/perl-Cache-Cache.spec b/perl-Cache-Cache.spec new file mode 100644 index 0000000..37c98a5 --- /dev/null +++ b/perl-Cache-Cache.spec @@ -0,0 +1,74 @@ +# +# spec file for package perl-Cache-Cache +# +# 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-Cache-Cache +Version: 1.08 +Release: 0 +#Upstream: CHECK(GPL-1.0+ or Artistic-1.0) +%define cpan_name Cache-Cache +Summary: The Cache Interface +License: GPL-1.0+ or Artistic-1.0 +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/Cache-Cache/ +Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(Digest::SHA1) >= 2.02 +BuildRequires: perl(Error) >= 0.15 +BuildRequires: perl(IPC::ShareLite) >= 0.09 +Requires: perl(Digest::SHA1) >= 2.02 +Requires: perl(Error) >= 0.15 +Requires: perl(IPC::ShareLite) >= 0.09 +%{perl_requires} + +%description +The Cache modules are designed to assist a developer in persisting data for +a specified period of time. Often these modules are used in web +applications to store data locally to save repeated and redundant expensive +calls to remote machines or databases. People have also been known to use +Cache::Cache for its straightforward interface in sharing data between runs +of an application or invocations of a CGI-style script or simply as an easy +to use abstraction of the filesystem or shared memory. + +The Cache::Cache interface is implemented by classes that support the get, +set, remove, size, purge, and clear instance methods and their +corresponding static methods for persisting data across method calls. + +%prep +%setup -q -n %{cpan_name}-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__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 COPYING CREDITS DISCLAIMER README STYLE + +%changelog