%define upstream_name Find-Lib %define upstream_version 1.04 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Helper to find libs to use in the filesystem License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Find/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) BuildRequires: perl(Test::More) BuildArch: noarch %description The purpose of this module is to replace use FindBin; use lib "$FindBin::Bin/../bootstrap/lib"; with something shorter. This is specially useful if your project has a lot of scripts (For instance tests scripts). %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{make} %check make test %install rm -rf %buildroot %makeinstall_std %files %doc Changes META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.40.0-2.mga3 + Revision: 367505 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Mon Sep 26 2011 jquelin <jquelin> 1.40.0-1.mga2 + Revision: 148069 - update to 1.04 * Fri Jul 08 2011 jquelin <jquelin> 1.30.0-1.mga2 + Revision: 120621 - update description - update to 1.03 * Wed Jan 19 2011 jquelin <jquelin> 1.10.0-1.mga1 + Revision: 24437 - fix specs - imported package perl-Find-Lib