Sophie

Sophie

distrib > Mageia > 6 > i586 > media > core-release-src > by-pkgid > 6e5b40e3ae6ff8362fc7065bedd6962d > files > 2

perl-Module-Locate-1.800.0-2.mga6.src.rpm

%define upstream_name    Module-Locate
%define upstream_version 1.80

%{?perl_default_filter}

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 2

Summary:    Locate modules in the same fashion as C<require> and C<use>
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/Module/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(Carp)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(IO::File)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(Test::More) >= 0.880.0
BuildRequires: perl(base)
BuildRequires: perl(lib)
BuildRequires: perl(overload)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
BuildArch:  noarch

%description
Using 'locate()', return the path that 'require' would find for a given
module or filename (it can also return a filehandle if a reference in
'@INC' has been used). This means you can test for the existence, or find
the path for, modules without having to evaluate the code they contain.

This module also comes with accompanying utility functions that are used
within the module itself (except for 'get_source') and are available for
import.

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor

%make

%check
%make test

%install
%makeinstall_std

%files
%doc Changes LICENSE META.json META.yml MYMETA.yml README
%{_mandir}/man3/*
%perl_vendorlib/*

%changelog
* Sun Jun 19 2016 pterjan <pterjan> 1.800.0-2.mga6
+ Revision: 1030176
- Rebuild for perl 5.22.2

* Fri Apr 15 2016 shlomif <shlomif> 1.800.0-1.mga6
+ Revision: 1002140
- update to 1.80

* Fri Feb 05 2016 umeabot <umeabot> 1.790.0-4.mga6
+ Revision: 939347
- Mageia 6 Mass Rebuild

* Wed Oct 15 2014 umeabot <umeabot> 1.790.0-3.mga5
+ Revision: 745858
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 1.790.0-2.mga5
+ Revision: 685459
- Mageia 5 Mass Rebuild

* Tue Apr 15 2014 jquelin <jquelin> 1.790.0-1.mga5
+ Revision: 614886
- update to 1.79

* Sat Feb 08 2014 sander85 <sander85> 1.780.0-1.mga5
+ Revision: 586533
- update to 1.78

* Sat Oct 19 2013 umeabot <umeabot> 1.760.0-2.mga4
+ Revision: 532088
- Mageia 4 Mass Rebuild

* Fri Aug 16 2013 sander85 <sander85> 1.760.0-1.mga4
+ Revision: 466890
- update to 1.76

* Wed Aug 14 2013 sander85 <sander85> 1.750.0-1.mga4
+ Revision: 466370
- update to 1.75

* Mon Jul 22 2013 sander85 <sander85> 1.740.0-1.mga4
+ Revision: 457064
- update to 1.74

* Sun Jan 13 2013 umeabot <umeabot> 1.720.0-2.mga3
+ Revision: 369914
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Wed Sep 26 2012 jquelin <jquelin> 1.720.0-1.mga3
+ Revision: 298043
- update to 1.72

* Mon Jul 09 2012 jquelin <jquelin> 1.700.0-1.mga3
+ Revision: 269062
- imported package perl-Module-Locate


* Mon Jul 09 2012 cpan2dist 1.7-1mga
- initial mageia release, generated with cpan2dist