update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Devel-CheckLib?expand=0&rev=8
This commit is contained in:
parent
c2fc0a2fa9
commit
cf24e20f7f
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 22 07:04:56 UTC 2014 - coolo@suse.com
|
||||
|
||||
- regenerate with cpan2spec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 21 06:20:51 UTC 2014 - mlin@suse.com
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
# vim: set sw=4 ts=4 et nu:
|
||||
#
|
||||
# spec file for package perl-Devel-CheckLib
|
||||
#
|
||||
@ -20,55 +19,40 @@
|
||||
Name: perl-Devel-CheckLib
|
||||
Version: 1.01
|
||||
Release: 0
|
||||
Summary: Check that a library is available
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
%define cpan_name Devel-CheckLib
|
||||
Summary: check that a library is available
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Source: http://search.cpan.org/CPAN/authors/id/M/MA/MATTN/Devel-CheckLib-%{version}.tar.gz
|
||||
Url: http://github.com/mattn/p5-Devel-CheckLib
|
||||
Url: http://search.cpan.org/dist/Devel-CheckLib/
|
||||
Source: http://www.cpan.org/authors/id/M/MA/MATTN/%{cpan_name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Temp)
|
||||
BuildRequires: perl(IO::CaptureOutput)
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl(File::Temp)
|
||||
Requires: perl(IO::CaptureOutput)
|
||||
Requires: perl(Test::More)
|
||||
BuildRequires: perl(IO::CaptureOutput) >= 1.0801
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Devel::CheckLib is a perl module that checks whether a particular C library and
|
||||
its headers are available.
|
||||
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
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||
%__make %{?jobs:-j%{jobs}}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%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}
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc CHANGES README TODO VMS-notes
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user