%define upstream_name Data-PathSimple %define upstream_version v1.0.2 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Navigate and manipulate data structures using paths License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Data/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildArch: noarch %description Data::PathSimple allows you to get and set values deep within a data structure using simple paths to navigate (think XPATH without the steroids). Why do this when we already have direct access to the data structure? The motivation is that the path will come from a user using a command line tool. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc META.yml Changes %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.0.2-2.mga3 + Revision: 365399 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Oct 16 2012 jquelin <jquelin> 1.0.2-1.mga3 + Revision: 307190 - imported package perl-Data-PathSimple