commit ed32e74301f7933a4ea92a27f0b74ae9dde10fda2d837aa8490884030622d420 Author: Adrian Schröter Date: Fri May 3 18:05:42 2024 +0200 Sync from SUSE:SLFO:Main perl-Devel-CheckLib revision e9ac96f14eb3780e0ebbdb66480ef2d2 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/Devel-CheckLib-1.16.tar.gz b/Devel-CheckLib-1.16.tar.gz new file mode 100644 index 0000000..e5215d7 --- /dev/null +++ b/Devel-CheckLib-1.16.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:869d38c258e646dcef676609f0dd7ca90f085f56cf6fd7001b019a5d5b831fca +size 15863 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b7ec50 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,23 @@ +--- +#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: 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-Devel-CheckLib.changes b/perl-Devel-CheckLib.changes new file mode 100644 index 0000000..b2312e0 --- /dev/null +++ b/perl-Devel-CheckLib.changes @@ -0,0 +1,136 @@ +------------------------------------------------------------------- +Thu May 5 03:06:11 UTC 2022 - Tina Müller + +- updated to 1.16 + see /usr/share/doc/packages/perl-Devel-CheckLib/CHANGES + + 1.16 2022-05-04 Stop all the tests that require a working compiler from + skipping on AIX + + 1.15 2022-05-04 Refactor, stop GCC optimising away test code + +------------------------------------------------------------------- +Thu Nov 14 09:24:33 UTC 2019 - + +- updated to 1.14 + see /usr/share/doc/packages/perl-Devel-CheckLib/CHANGES + + 1.14 2019-11-12 Use Capture::Tiny instead of Capture::Output + +------------------------------------------------------------------- +Mon Jun 4 05:18:12 UTC 2018 - coolo@suse.com + +- updated to 1.13 + see /usr/share/doc/packages/perl-Devel-CheckLib/CHANGES + + 1.13 2018-06-23 Improve Makefile.PL + update compatibility code from App-EUMM-Upgrade-1.0 + +------------------------------------------------------------------- +Fri Jun 1 05:17:32 UTC 2018 - coolo@suse.com + +- updated to 1.12 + see /usr/share/doc/packages/perl-Devel-CheckLib/CHANGES + + 1.12 2018-05-23 Fix order of flags for gcc + Fix problems with executable binaries + +------------------------------------------------------------------- +Mon Oct 16 10:33:19 UTC 2017 - coolo@suse.com + +- updated to 1.11 + see /usr/share/doc/packages/perl-Devel-CheckLib/CHANGES + + 1.11 2017-05-23 Prevent concatenation warnings when LD_RUN_PATH is + undefined. + + 1.10 2017-04-08 Use Mock::Config. + + 1.09 2017-04-08 Remove link options from @ldflags. + +------------------------------------------------------------------- +Sun Mar 19 06:28:00 UTC 2017 - coolo@suse.com + +- updated to 1.09 + see /usr/share/doc/packages/perl-Devel-CheckLib/CHANGES + + 1.09 2017-03-18 Add $PATH for the libs on Windows. + + 1.08 2017-03-18 Add $LD_RUN_PATH for the libs. + +------------------------------------------------------------------- +Mon Apr 11 12:25:14 UTC 2016 - coolo@suse.com + +- updated to 1.07 + see /usr/share/doc/packages/perl-Devel-CheckLib/CHANGES + + 1.07 2016-04-09 Add analyze_binary feature. + +------------------------------------------------------------------- +Sun Feb 21 09:47:59 UTC 2016 - coolo@suse.com + +- updated to 1.06 + see /usr/share/doc/packages/perl-Devel-CheckLib/CHANGES + +------------------------------------------------------------------- +Sun Sep 20 08:46:25 UTC 2015 - coolo@suse.com + +- updated to 1.05 + see /usr/share/doc/packages/perl-Devel-CheckLib/CHANGES + + 1.05 2015-09-16 Fix handling $PERL_MM_OPT. + + 1.04 2015-09-16 Handle $PERL_MM_OPT. + +------------------------------------------------------------------- +Sat Feb 7 07:21:42 UTC 2015 - coolo@suse.com + +- updated to 1.03 + * Fix possible crash bug on windows. + Remove .exe when it run on cygwin. + +------------------------------------------------------------------- +Sat Mar 22 07:04:56 UTC 2014 - coolo@suse.com + +- regenerate with cpan2spec + +------------------------------------------------------------------- +Fri Mar 21 06:20:51 UTC 2014 - mlin@suse.com + +- update to 1.01 + * Deprecate use-devel-checklib script. + * Allow -R rpaths as libpaths used with solaris cc (see RT #81330) + * Merge ldflags & perllibs. + * Fixed test. + * Pass linker options to MSVC. + * Clean up object files. Also MSVC generates extra files, clean them up. + * Better error message. + * Add support for gcc that have version number in the command name. + Fix about that the command path include space character. + +------------------------------------------------------------------- +Sat Jan 22 20:39:42 UTC 2011 - coolo@novell.com + +- update to 0.92 + * Patch included, thanks to CHM and SISYPHUS (see RT #63742) + * Fix deprecated parenthesis. use "(qw())". + * Add include header files into dependencies files. + (see RT #61297) + * Add support for checking if a function exists + in a library and it returns the right value + +------------------------------------------------------------------- +Wed Dec 1 06:55:36 UTC 2010 - coolo@novell.com + +- switch to perl_requires macro + +------------------------------------------------------------------- +Mon Nov 29 18:29:45 UTC 2010 - coolo@novell.com + +- remove /var/adm/perl-modules + +------------------------------------------------------------------- +Mon Aug 23 00:35:47 UTC 2010 - pascal.bleser@opensuse.org + +- initial package (0.6) + diff --git a/perl-Devel-CheckLib.spec b/perl-Devel-CheckLib.spec new file mode 100644 index 0000000..d513df4 --- /dev/null +++ b/perl-Devel-CheckLib.spec @@ -0,0 +1,58 @@ +# +# spec file for package perl-Devel-CheckLib +# +# Copyright (c) 2022 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 Devel-CheckLib +Name: perl-Devel-CheckLib +Version: 1.16 +Release: 0 +License: Artistic-1.0 OR GPL-1.0-or-later +Summary: Check that a library is available +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/M/MA/MATTN/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(Capture::Tiny) +BuildRequires: perl(Mock::Config) >= 0.02 +BuildRequires: perl(Test::More) >= 0.88 +%{perl_requires} + +%description +Devel::CheckLib is a perl module that checks whether a particular C library +and its headers are available. + +%prep +%autosetup -n %{cpan_name}-%{version} +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 + +%build +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +%make_build + +%check +make test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%files -f %{name}.files +%doc CHANGES README TODO VMS-notes + +%changelog