Accepting request 39866 from home:cwh
Copy from home:cwh/perl-ExtUtils-CChecker via accept of submit request 39866 revision 5. Request was accepted with message: tested & working OBS-URL: https://build.opensuse.org/request/show/39866 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-ExtUtils-CChecker?expand=0&rev=1
This commit is contained in:
commit
bd20c5389f
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
ExtUtils-CChecker-0.03.tar.bz2
Normal file
3
ExtUtils-CChecker-0.03.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9af28324d31ecde08a9a9f5dd601c9ff472657d7c101086e65af12c1f836bf19
|
||||
size 12174
|
5
perl-ExtUtils-CChecker.changes
Normal file
5
perl-ExtUtils-CChecker.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 11 15:25:03 UTC 2010 - cwh@novell.com
|
||||
|
||||
- initial release in OBS
|
||||
|
59
perl-ExtUtils-CChecker.spec
Normal file
59
perl-ExtUtils-CChecker.spec
Normal file
@ -0,0 +1,59 @@
|
||||
#
|
||||
# spec file for package perl-ExtUtils-CChecker (Version 20090616)
|
||||
#
|
||||
# Copyright 2010 SUSE LINUX Products 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.
|
||||
|
||||
Name: perl-ExtUtils-CChecker
|
||||
Version: 0.03
|
||||
Release: 0
|
||||
# define the name from CPAN
|
||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||
Requires: perl = %{perl_version}
|
||||
BuildRequires: perl-Test-Exception
|
||||
Group: Development/Libraries/Perl
|
||||
License: Artistic License, Other License(s), see package
|
||||
URL: http://search.cpan.org/~shancock/
|
||||
Summary: Configure-time utilities for using C headers, libraries, or OS features
|
||||
Source: %cpan_name-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Often Perl modules are written to wrap functionallity 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
|
||||
%setup -q -n %cpan_name-%{version}
|
||||
|
||||
%build
|
||||
perl Build.PL
|
||||
./Build
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%install
|
||||
./Build install --destdir $RPM_BUILD_ROOT --installdirs vendor
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
# clean up the hard disc after build
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root)
|
||||
%doc Changes MANIFEST README LICENSE
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user