packages perl-Lingua-Preferred.spec
      Pages: < 1 >  DOWNLOAD      
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)

Name:          perl-Lingua-Preferred
Version:       0.2.4
Release:       1mamba
Summary:       Lingua::Preferred - Perl extension to choose a language
Group:         System/Libraries/Perl
Vendor:        openmamba
Distribution:  openmamba
Packager:      gil <puntogil@...>
License:       GPL, Artistic
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl-devel
Requires:      perl >= %perl_major_ver
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

Many web browsers let you specify which languages you understand.
Then they negotiate with the web server to get documents in the best
language possible. This is something similar in Perl.

%setup -q -n Lingua-Preferred-%{version}

perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make test

[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
chmod -R u+w %{buildroot}/*

[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%doc Changes README

* Sun Mar 13 2011 gil <puntogil@...> 0.2.4-1mamba
- package created by autospec