File perl-YAML-Tiny-Mandriva_2006.spec of Package perl-YAML-Tiny
# $Id: perl-YAML-Tiny.spec 5726 2007-08-13 19:43:37Z dries $
# Authority: dries
# Upstream: Adam Kennedy <cpan$ali,as>
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
%define real_name YAML-Tiny
Summary: Read/Write YAML files with as little code as possible
Name: perl-YAML-Tiny
Version: 0.11
%define releasesuffix mandriva2006
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/YAML-Tiny/
Packager: Dries Verachtert <dries@ulyssis.org>
Vendor: Dries RPM Repository http://dries.ulyssis.org/rpm/
Source: http://search.cpan.org//CPAN/authors/id/A/AD/ADAMK/YAML-Tiny-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
BuildRequires: perl, perl(ExtUtils::MakeMaker)
%description
Read/Write YAML files with as little code as possible.
%prep
%setup -n %{real_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" destdir="%{buildroot}"
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%{__make} install
%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod %{buildroot}%{perl_vendorarch}/auto/*/*/.packlist
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc Changes README
%doc %{_mandir}/man3/YAML::Tiny*
%{perl_vendorlib}/YAML/Tiny.pm
%changelog
* Sun Nov 19 2006 Dries Verachtert <dries@ulyssis.org> - 0.11-1
- Initial package.