2014-03-21 15:02:37 +01:00
|
|
|
#
|
|
|
|
# spec file for package perl-Devel-CheckLib
|
|
|
|
#
|
2015-02-07 08:22:13 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-03-21 15:02:37 +01:00
|
|
|
#
|
|
|
|
# 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
|
2015-09-20 15:47:40 +02:00
|
|
|
Version: 1.05
|
2010-08-23 02:36:00 +02:00
|
|
|
Release: 0
|
2014-03-22 08:59:39 +01:00
|
|
|
%define cpan_name Devel-CheckLib
|
2015-09-20 15:47:40 +02:00
|
|
|
Summary: Check That a Library Is Available
|
2014-03-22 08:59:39 +01:00
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
2010-08-23 02:36:00 +02:00
|
|
|
Group: Development/Libraries/Perl
|
2014-03-22 08:59:39 +01:00
|
|
|
Url: http://search.cpan.org/dist/Devel-CheckLib/
|
2015-09-20 15:47:40 +02:00
|
|
|
Source0: http://www.cpan.org/authors/id/M/MA/MATTN/%{cpan_name}-%{version}.tar.gz
|
|
|
|
Source1: cpanspec.yml
|
2014-03-21 15:02:37 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: perl
|
2010-12-03 15:02:33 +01:00
|
|
|
BuildRequires: perl-macros
|
2014-03-22 08:59:39 +01:00
|
|
|
BuildRequires: perl(IO::CaptureOutput) >= 1.0801
|
|
|
|
%{perl_requires}
|
2010-08-23 02:36:00 +02:00
|
|
|
|
|
|
|
%description
|
2014-03-22 08:59:39 +01:00
|
|
|
Devel::CheckLib is a perl module that checks whether a particular C library
|
|
|
|
and its headers are available.
|
2010-08-23 02:36:00 +02:00
|
|
|
|
|
|
|
%prep
|
2014-03-22 08:59:39 +01:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
find . -type f -print0 | xargs -0 chmod 644
|
2010-08-23 02:36:00 +02:00
|
|
|
|
|
|
|
%build
|
2014-03-22 08:59:39 +01:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
2010-08-23 02:36:00 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2014-03-22 08:59:39 +01:00
|
|
|
%perl_gen_filelist
|
2010-08-23 02:36:00 +02:00
|
|
|
|
2014-03-22 08:59:39 +01:00
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc CHANGES README TODO VMS-notes
|
2010-08-23 02:36:00 +02:00
|
|
|
|
2014-03-21 15:02:37 +01:00
|
|
|
%changelog
|