You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
159 lines
5.0 KiB
159 lines
5.0 KiB
6 years ago
|
# Run optional test
|
||
|
%bcond_with perl_Devel_CheckLib_enables_optional_test
|
||
|
|
||
|
Name: perl-Devel-CheckLib
|
||
|
Version: 1.11
|
||
|
Release: 5%{?dist}
|
||
|
Summary: Check that a library is available
|
||
|
|
||
|
License: GPL+ or Artistic
|
||
|
Group: Development/Libraries
|
||
|
URL: http://search.cpan.org/dist/Devel-CheckLib/
|
||
|
Source0: http://www.cpan.org/modules/by-module/Devel/Devel-CheckLib-%{version}.tar.gz
|
||
|
|
||
|
BuildArch: noarch
|
||
|
|
||
|
BuildRequires: make
|
||
|
BuildRequires: perl-interpreter
|
||
|
BuildRequires: perl-generators
|
||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||
|
# Run-time:
|
||
|
BuildRequires: perl(Exporter)
|
||
|
BuildRequires: perl(File::Spec)
|
||
|
BuildRequires: perl(File::Temp) >= 0.16
|
||
|
BuildRequires: perl(Text::ParseWords)
|
||
|
# Tests:
|
||
|
BuildRequires: perl(Cwd)
|
||
|
BuildRequires: perl(File::Spec::Functions)
|
||
|
BuildRequires: perl(IO::File)
|
||
|
BuildRequires: perl(IO::CaptureOutput) >= 1.0801
|
||
|
BuildRequires: perl(lib)
|
||
|
BuildRequires: perl(Test::More) >= 0.62
|
||
|
%if %{with perl_Devel_CheckLib_enables_optional_test}
|
||
|
# Optional tests
|
||
|
BuildRequires: perl(Mock::Config)
|
||
|
%endif
|
||
|
|
||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||
|
|
||
|
%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}
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
%install
|
||
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||
|
|
||
|
%check
|
||
|
make test
|
||
|
|
||
|
%files
|
||
|
%doc CHANGES README TODO
|
||
|
%{_bindir}/*
|
||
|
%{perl_vendorlib}/Devel*
|
||
|
%{_mandir}/man1/*.1*
|
||
|
%{_mandir}/man3/*.3*
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* Fri Jul 13 2018 Petr Pisar <ppisar@redhat.com> - 1.11-5
|
||
|
- Disable optional test
|
||
|
|
||
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||
|
|
||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||
|
|
||
|
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.11-2
|
||
|
- Perl 5.26 rebuild
|
||
|
|
||
|
* Thu Jun 01 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.11-1
|
||
|
- Update to 1.11
|
||
|
|
||
|
* Tue Apr 11 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.10-1
|
||
|
- Update to 1.10
|
||
|
|
||
|
* Sat Mar 25 2017 Jose Pedro Oliveira <jose.p.oliveira.oss at gmail.com> - 1.09-1
|
||
|
- Update to 1.09 (bug #1435192).
|
||
|
|
||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||
|
|
||
|
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.07-2
|
||
|
- Perl 5.24 rebuild
|
||
|
|
||
|
* Sat Apr 9 2016 Jose Pedro Oliveira <jose.p.oliveira.oss at gmail.com> - 1.07-1
|
||
|
- Update to 1.07.
|
||
|
|
||
|
* Sun Apr 3 2016 Jose Pedro Oliveira <jose.p.oliveira.oss at gmail.com> - 1.06-1
|
||
|
- Update to 1.06.
|
||
|
|
||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.05-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||
|
|
||
|
* Sat Sep 19 2015 Jose Pedro Oliveira <jose.p.oliveira.oss at gmail.com> - 1.05-1
|
||
|
- Update to 1.05.
|
||
|
|
||
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||
|
|
||
|
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-2
|
||
|
- Perl 5.22 rebuild
|
||
|
|
||
|
* Sat Mar 21 2015 Jose Pedro Oliveira <jose.p.oliveira.oss at gmail.com> - 1.03-1
|
||
|
- Update to 1.03.
|
||
|
|
||
|
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.99-5
|
||
|
- Perl 5.20 rebuild
|
||
|
|
||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||
|
|
||
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||
|
|
||
|
* Tue Jul 23 2013 Petr Pisar <ppisar@redhat.com> - 0.99-2
|
||
|
- Perl 5.18 rebuild
|
||
|
|
||
|
* Thu Apr 4 2013 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.99-1
|
||
|
- Update to 0.99.
|
||
|
|
||
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-5
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||
|
|
||
|
* Thu Oct 18 2012 Petr Pisar <ppisar@redhat.com> - 0.98-4
|
||
|
- Specify all dependencies
|
||
|
- Package TODO
|
||
|
|
||
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||
|
|
||
|
* Sun Jun 17 2012 Petr Pisar <ppisar@redhat.com> - 0.98-2
|
||
|
- Perl 5.16 rebuild
|
||
|
|
||
|
* Sat Mar 17 2012 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.98-1
|
||
|
- Update to 0.98.
|
||
|
|
||
|
* Mon Feb 27 2012 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.97-1
|
||
|
- Update to 0.97.
|
||
|
|
||
|
* Fri Feb 3 2012 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.96-1
|
||
|
- Update to 0.96.
|
||
|
|
||
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.95-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||
|
|
||
|
* Sun Oct 23 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.95-1
|
||
|
- Update to 0.95.
|
||
|
|
||
|
* Wed Oct 19 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.94-1
|
||
|
- First build.
|