File perl-Config-Any.spec of Package perl-Config-Any

%define _real_name Config-Any
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)

Summary: Load configuration from different file formats, transparently
Name: perl-Config-Any
Version: 0.17
Release: 1
License: GPL
Group: Applications/CPAN
Packager: Leo Eraly <leo@unstable.be>
URL: http://search.cpan.org/~bricas/Config-Any-0.17/lib/Config/Any.pm

Buildarch: noarch

BuildRequires: perl-Module-Pluggable perl-Test-Simple
Requires: perl-Module-Pluggable perl-Test-Simple

Source: http://search.cpan.org/CPAN/authors/id/B/BR/BRICAS/Config-Any-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
Load configuration from different file formats, transparently

%prep
%setup -n %{_real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor"  destdir="%{buildroot}"
%{__make}

%install
%{__rm} -rf %{buildroot}
%{__make} install
%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%{_mandir}/man3/*.gz
%dir %{perl_vendorlib}/Config
%dir %{perl_vendorlib}/Config/Any
%{perl_vendorlib}/Config/Any.pm
%{perl_vendorlib}/Config/Any/*


%changelog
* Tue Feb 03 2009 Leo Eraly <leo@unstable.be> - 0.17-1
- Initial package
openSUSE Build Service is sponsored by