0c972264f6
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
68 lines
2.1 KiB
RPMSpec
68 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package perl-ExtUtils-CChecker (Version 0.04)
|
|
#
|
|
# Copyright (c) 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.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: perl-ExtUtils-CChecker
|
|
%define cpan_name ExtUtils-CChecker
|
|
Summary: Configure-time utilities for using C headers, libraries, or OS features
|
|
Version: 0.04
|
|
Release: 1
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries/Perl
|
|
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
|
|
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.
|
|
|
|
%prep
|
|
%setup -q -n ExtUtils-CChecker-%{version}
|
|
|
|
%build
|
|
%{__perl} Build.PL installdirs=vendor
|
|
./Build
|
|
|
|
%check
|
|
./Build test
|
|
|
|
%install
|
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
%perl_gen_filelist
|
|
|
|
%clean
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
%files -f %{name}.files
|
|
%defattr(-,root,root,-)
|
|
%doc Changes LICENSE README
|
|
|
|
%changelog
|