Sync from SUSE:SLFO:Main perl-ExtUtils-CChecker revision 4534ebb8bb3763812bb99321861ddac1

This commit is contained in:
Adrian Schröter 2024-05-03 18:11:33 +02:00
commit 7110f642fa
5 changed files with 194 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

BIN
ExtUtils-CChecker-0.11.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

23
cpanspec.yml Normal file
View File

@ -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

View File

@ -0,0 +1,75 @@
-------------------------------------------------------------------
Tue Jul 13 03:06:24 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 0.11
see /usr/share/doc/packages/perl-ExtUtils-CChecker/Changes
0.11 2021-07-12
[CHANGES]
* Added `try_find_cflags_for`
* Added `extend_module_build`
* Various small style fixes
-------------------------------------------------------------------
Sun Jun 7 08:31:31 UTC 2015 - coolo@suse.com
- updated to 0.10
see /usr/share/doc/packages/perl-ExtUtils-CChecker/Changes
0.10 2015/05/29 19:14:24
[CHANGES]
* Added 'config' passthrough constructor argument for EU:CB (RT95368)
-------------------------------------------------------------------
Mon Feb 24 06:09:59 UTC 2014 - coolo@suse.com
- updated to 0.09
* Add a 'quiet' option so EU:CB's quiet can be disabled (RT91363)
* Fixed some typoes in docs
-------------------------------------------------------------------
Tue Jun 4 08:49:31 UTC 2013 - coolo@suse.com
- updated to 0.08
* Include PID in test file names to guard against collisions when
building concurrently (RT76013)
-------------------------------------------------------------------
Mon Dec 19 14:49:51 UTC 2011 - coolo@suse.de
- update to 0.07:
* Use Test::Fatal instead of Test::Exception
* Advise against calling it "config.h" as that gets confused with
core perl's file
-------------------------------------------------------------------
Sun Feb 6 18:28:23 UTC 2011 - lars@linux-schulserver.de
- update to 0.06:
+ Added 'defines_to' constructor arg for writing a "config.h" file
instead of -DFOO on compiler commandline
+ Added accessors for callers to push more library dirs or compiler
or linker flags
+ Ensure that ->new_module_build merges its args and internal
configuration correctly
- BuildRequire Test::Pod for testing the pod files
-------------------------------------------------------------------
Wed Dec 1 09:44:33 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Tue Jul 13 11:43:28 UTC 2010 - chris@computersalat.de
- update to 0.04
* Provide optional variants of ->find_include_dirs_for and
->find_libs_for with try_... prefix
- recreated by cpanspec 1.78
- noarch pkg
-------------------------------------------------------------------
Tue May 11 15:25:03 UTC 2010 - cwh@novell.com
- initial release in OBS

View File

@ -0,0 +1,70 @@
#
# spec file for package perl-ExtUtils-CChecker
#
# Copyright (c) 2021 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-CChecker
Name: perl-ExtUtils-CChecker
Version: 0.11
Release: 0
Summary: Configure-time utilities for using C headers,
License: Artistic-1.0 OR GPL-1.0-or-later
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::CBuilder)
BuildRequires: perl(Module::Build) >= 0.400400
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.88
Requires: perl(ExtUtils::CBuilder)
%{perl_requires}
%description
Often Perl modules are written to wrap functionality found in existing C
headers, libraries, or to use OS-specific features. It is useful in the
_Build.PL_ or _Makefile.PL_ file to check for the existance of these
requirements before attempting to actually build the module.
Objects in this class provide an extension around ExtUtils::CBuilder to
simplify the creation of a _.c_ file, compiling, linking and running it, to
test if a certain feature is present.
It may also be necessary to search for the correct library to link against,
or for the right include directories to find header files in. This class
also provides assistance here.
%prep
%autosetup -n %{cpan_name}-%{version}
%build
perl Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
%doc Changes README
%license LICENSE
%changelog