Sophie

Sophie

distrib > Mageia > 2 > i586 > media > core-release-src > by-pkgid > 4fbddbf38107b087e061623fb1b4460c > files > 2

perl-Text-Abbrev-1.10.0-1.mga2.src.rpm

%define upstream_name    Text-Abbrev
%define upstream_version 1.01

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

Summary:    Builds hash of all possible abbreviations
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/Text/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(Exporter)
BuildArch: noarch

%description
Stores all unambiguous truncations of each element of LIST as keys in the
associative array referenced by '$hashref'. The values are the original
list elements.

%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 README Changes LICENSE META.yml META.json
%{_mandir}/man3/*
%perl_vendorlib/*




%changelog
* Tue Jul 19 2011 jquelin <jquelin> 1.10.0-1.mga2
+ Revision: 126643
- imported package perl-Text-Abbrev


* Tue Jul 19 2011 cpan2dist 1.01-1mga
- initial mageia release, generated with cpan2dist