2010-08-23 02:36:00 +02:00
|
|
|
# vim: set sw=4 ts=4 et nu:
|
2014-03-21 15:02:37 +01:00
|
|
|
#
|
|
|
|
# spec file for package perl-Devel-CheckLib
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014 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/
|
|
|
|
#
|
|
|
|
|
2010-08-23 02:36:00 +02:00
|
|
|
|
|
|
|
Name: perl-Devel-CheckLib
|
2014-03-21 15:02:37 +01:00
|
|
|
Version: 1.01
|
2010-08-23 02:36:00 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Check that a library is available
|
2014-03-21 15:02:37 +01:00
|
|
|
License: GPL-1.0+ or Artistic-1.0
|
2010-08-23 02:36:00 +02:00
|
|
|
Group: Development/Libraries/Perl
|
2014-03-21 15:02:37 +01:00
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/M/MA/MATTN/Devel-CheckLib-%{version}.tar.gz
|
|
|
|
Url: http://github.com/mattn/p5-Devel-CheckLib
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-01 07:56:38 +01:00
|
|
|
%{perl_requires}
|
2014-03-21 15:02:37 +01:00
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl
|
2010-12-03 15:02:33 +01:00
|
|
|
BuildRequires: perl-macros
|
2010-08-23 02:36:00 +02:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
BuildRequires: perl(IO::CaptureOutput)
|
2014-03-21 15:02:37 +01:00
|
|
|
BuildRequires: perl(Test::More)
|
2010-08-23 02:36:00 +02:00
|
|
|
Requires: perl(File::Temp)
|
|
|
|
Requires: perl(IO::CaptureOutput)
|
2014-03-21 15:02:37 +01:00
|
|
|
Requires: perl(Test::More)
|
2010-08-23 02:36:00 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Devel::CheckLib is a perl module that checks whether a particular C library and
|
|
|
|
its headers are available.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n "Devel-CheckLib-%{version}"
|
|
|
|
%__sed -i '/^auto_install/d' Makefile.PL
|
|
|
|
|
|
|
|
%build
|
|
|
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
|
|
|
%__make %{?jobs:-j%{jobs}}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%check
|
|
|
|
%__make test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc CHANGES TODO README
|
|
|
|
%{_bindir}/use-devel-checklib
|
|
|
|
%doc %{_mandir}/man1/use-devel-checklib.1%{ext_man}
|
|
|
|
%dir %{perl_vendorlib}/Devel
|
|
|
|
%{perl_vendorlib}/Devel/CheckLib.pm
|
|
|
|
%dir %{perl_vendorarch}/auto/Devel
|
|
|
|
%{perl_vendorarch}/auto/Devel/CheckLib
|
|
|
|
%doc %{perl_man3dir}/Devel::CheckLib.%{perl_man3ext}%{ext_man}
|
|
|
|
|
2014-03-21 15:02:37 +01:00
|
|
|
%changelog
|