Accepting request 42863 from home:computersalat:devel:perl
Copy from home:computersalat:devel:perl/perl-ExtUtils-CChecker via accept of submit request 42863 revision 2. Request was accepted with message: self accept OBS-URL: https://build.opensuse.org/request/show/42863 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-ExtUtils-CChecker?expand=0&rev=2
This commit is contained in:
parent
bd20c5389f
commit
0c972264f6
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9af28324d31ecde08a9a9f5dd601c9ff472657d7c101086e65af12c1f836bf19
|
|
||||||
size 12174
|
|
3
ExtUtils-CChecker-0.04.tar.bz2
Normal file
3
ExtUtils-CChecker-0.04.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4ffdf6b24cb4bc3daaaef8778ac58a0cbe4eb2efe0992cfa8920a8e0c5ce58b4
|
||||||
|
size 13118
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Tue May 11 15:25:03 UTC 2010 - cwh@novell.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-ExtUtils-CChecker (Version 20090616)
|
# spec file for package perl-ExtUtils-CChecker (Version 0.04)
|
||||||
#
|
#
|
||||||
# Copyright 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,48 +12,56 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
Name: perl-ExtUtils-CChecker
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
Version: 0.03
|
#
|
||||||
Release: 0
|
|
||||||
# define the name from CPAN
|
# norootforbuild
|
||||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
|
||||||
Requires: perl = %{perl_version}
|
Name: perl-ExtUtils-CChecker
|
||||||
BuildRequires: perl-Test-Exception
|
%define cpan_name ExtUtils-CChecker
|
||||||
Group: Development/Libraries/Perl
|
Summary: Configure-time utilities for using C headers, libraries, or OS features
|
||||||
License: Artistic License, Other License(s), see package
|
Version: 0.04
|
||||||
URL: http://search.cpan.org/~shancock/
|
Release: 1
|
||||||
Summary: Configure-time utilities for using C headers, libraries, or OS features
|
License: GPL+ or Artistic
|
||||||
Source: %cpan_name-%{version}.tar.bz2
|
Group: Development/Libraries/Perl
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Url: http://search.cpan.org/dist/ExtUtils-CChecker/
|
||||||
|
#Source: http://www.cpan.org/modules/by-module/ExtUtils/ExtUtils-CChecker-%{version}.tar.gz
|
||||||
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl(Module::Build)
|
||||||
|
%if 0%{?suse_version} < 1120
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
%endif
|
||||||
|
BuildRequires: perl(Test::Exception)
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
|
||||||
%description
|
%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.
|
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
|
||||||
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.
|
Build.PL or Makefile.PL file to check for the existance of these
|
||||||
|
requirements before attempting to actually build the module.
|
||||||
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
|
%prep
|
||||||
%setup -q -n %cpan_name-%{version}
|
%setup -q -n ExtUtils-CChecker-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Build.PL
|
%{__perl} Build.PL installdirs=vendor
|
||||||
./Build
|
./Build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./Build install --destdir $RPM_BUILD_ROOT --installdirs vendor
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||||
%perl_process_packlist
|
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
# clean up the hard disc after build
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc Changes MANIFEST README LICENSE
|
%doc Changes LICENSE README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user