From ce97be16ff278a72771abb5b02be0965fad8b2741e9df0c750bea5e09b0646e9 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Fri, 3 Jan 2025 17:13:36 +0000 Subject: [PATCH] - updated to 0.14.0 (0.014) see /usr/share/doc/packages/perl-ExtUtils-InstallPaths/Changes 0.014 2024-09-10 18:20:50+02:00 Europe/Brussels - Drop 5.006 support - Compensate for perls without installsitescript OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-ExtUtils-InstallPaths?expand=0&rev=11 --- .gitattributes | 23 ++++++ .gitignore | 1 + ExtUtils-InstallPaths-0.013.tar.gz | 3 + ExtUtils-InstallPaths-0.014.tar.gz | 3 + cpanspec.yml | 28 +++++++ perl-ExtUtils-InstallPaths.changes | 52 +++++++++++++ perl-ExtUtils-InstallPaths.spec | 117 +++++++++++++++++++++++++++++ 7 files changed, 227 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 ExtUtils-InstallPaths-0.013.tar.gz create mode 100644 ExtUtils-InstallPaths-0.014.tar.gz create mode 100644 cpanspec.yml create mode 100644 perl-ExtUtils-InstallPaths.changes create mode 100644 perl-ExtUtils-InstallPaths.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/ExtUtils-InstallPaths-0.013.tar.gz b/ExtUtils-InstallPaths-0.013.tar.gz new file mode 100644 index 0000000..e9a94be --- /dev/null +++ b/ExtUtils-InstallPaths-0.013.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:65969d3ad8a3a2ea8ef5b4213ed5c2c83961bb5bd12f7ad35128f6bd5b684aa0 +size 19190 diff --git a/ExtUtils-InstallPaths-0.014.tar.gz b/ExtUtils-InstallPaths-0.014.tar.gz new file mode 100644 index 0000000..8ea0d27 --- /dev/null +++ b/ExtUtils-InstallPaths-0.014.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae65d20cc3c7e14b3cd790915c84510f82dfb37a4c9b88aa74b2e843af417d01 +size 19253 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..76ad4a4 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,28 @@ +--- +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#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_build: |- +# rm unused.files +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-ExtUtils-InstallPaths.changes b/perl-ExtUtils-InstallPaths.changes new file mode 100644 index 0000000..b3a5c70 --- /dev/null +++ b/perl-ExtUtils-InstallPaths.changes @@ -0,0 +1,52 @@ +------------------------------------------------------------------- +Wed Sep 11 05:32:24 UTC 2024 - Tina Müller + +- updated to 0.14.0 (0.014) + see /usr/share/doc/packages/perl-ExtUtils-InstallPaths/Changes + + 0.014 2024-09-10 18:20:50+02:00 Europe/Brussels + - Drop 5.006 support + - Compensate for perls without installsitescript + +------------------------------------------------------------------- +Fri Apr 26 03:08:38 UTC 2024 - Tina Müller + +- updated to 0.013 + see /usr/share/doc/packages/perl-ExtUtils-InstallPaths/Changes + + 0.013 2024-04-25 12:28:37+02:00 Europe/Brussels + - Try to install any installable paths + +------------------------------------------------------------------- +Fri May 11 05:19:22 UTC 2018 - coolo@suse.com + +- updated to 0.012 + see /usr/share/doc/packages/perl-ExtUtils-InstallPaths/Changes + + 0.012 2018-05-10 21:03:33+02:00 Europe/Amsterdam + - Allow a argument to install_map with source dirs + - Make tests prove and 5.6 friendly + +------------------------------------------------------------------- +Tue Apr 14 18:07:28 UTC 2015 - coolo@suse.com + +- updated to 0.011 + see /usr/share/doc/packages/perl-ExtUtils-InstallPaths/Changes + + 0.011 2015-02-16 00:47:54+01:00 Europe/Amsterdam + Make EU::IP compatible with perl 5.6 + Declare dependency on File::Spec 0.83 for case_sensitive + +------------------------------------------------------------------- +Mon Nov 25 07:38:15 UTC 2013 - coolo@suse.com + +- updated to 0.010 + Deprecated usage of legacy configuration variables + Generate default paths more dynamically + +------------------------------------------------------------------- +Wed Jun 5 10:53:10 UTC 2013 - coolo@suse.com + +- initial package 0.009 + * created by cpanspec 1.78.06 + diff --git a/perl-ExtUtils-InstallPaths.spec b/perl-ExtUtils-InstallPaths.spec new file mode 100644 index 0000000..11041d0 --- /dev/null +++ b/perl-ExtUtils-InstallPaths.spec @@ -0,0 +1,117 @@ +# +# spec file for package perl-ExtUtils-InstallPaths +# +# Copyright (c) 2024 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/ +# + + +%define cpan_name ExtUtils-InstallPaths +Name: perl-ExtUtils-InstallPaths +Version: 0.14.0 +Release: 0 +# 0.014 -> normalize -> 0.14.0 +%define cpan_version 0.014 +License: Artistic-1.0 OR GPL-1.0-or-later +Summary: Build.PL install path logic made easy +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{cpan_version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(ExtUtils::Config) >= 0.9.0 +Requires: perl(ExtUtils::Config) >= 0.9.0 +Provides: perl(ExtUtils::InstallPaths) = %{version} +%undefine __perllib_provides +%{perl_requires} + +%description +This module tries to make install path resolution as easy as possible. + +When you want to install a module, it needs to figure out where to install +things. The nutshell version of how this works is that default installation +locations are determined from ExtUtils::Config, and they may be +individually overridden by using the 'install_path' attribute. An +'install_base' attribute lets you specify an alternative installation root +like _/home/foo_ and 'prefix' does something similar in a rather different +(and more complicated) way. 'destdir' lets you specify a temporary +installation directory like _/tmp/install_ in case you want to create +bundled-up installable packages. + +The following types are supported by default. + +* * lib + +Usually pure-Perl module files ending in _.pm_ or _.pod_. + +* * arch + +"Architecture-dependent" module files, usually produced by compiling XS, +Inline, or similar code. + +* * script + +Programs written in pure Perl. In order to improve reuse, you may want to +make these as small as possible - put the code into modules whenever +possible. + +* * bin + +"Architecture-dependent" executable programs, i.e. compiled C code or +something. Pretty rare to see this in a perl distribution, but it happens. + +* * bindoc + +Documentation for the stuff in 'script' and 'bin'. Usually generated from +the POD in those files. Under Unix, these are manual pages belonging to the +'man1' category. Unless explicitly set, this is only available on platforms +supporting manpages. + +* * libdoc + +Documentation for the stuff in 'lib' and 'arch'. This is usually generated +from the POD in _.pm_ and _.pod_ files. Under Unix, these are manual pages +belonging to the 'man3' category. Unless explicitly set, this is only +available on platforms supporting manpages. + +* * binhtml + +This is the same as 'bindoc' above, but applies to HTML documents. Unless +explicitly set, this is only available when perl was configured to do so. + +* * libhtml + +This is the same as 'libdoc' above, but applies to HTML documents. Unless +explicitly set, this is only available when perl was configured to do so. + +%prep +%autosetup -n %{cpan_name}-%{cpan_version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +%make_build + +%check +make test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%files -f %{name}.files +%doc Changes README +%license LICENSE + +%changelog