%define module YAML-AppConfig %define name perl-%{module} %define version 0.16 %define release %mkrel 6 Name: %{name} Version: %{version} Release: %{release} Summary: Manage configuration files with YAML and variable reference License: GPL or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/WWW/%{module}-%{version}.tar.bz2 %if %{mdkversion} < 1010 BuildRequires: perl-devel %endif BuildRequires: perl(YAML) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description YAML::AppConfig extends the work done in Config::YAML and YAML::ConfigFile to allow more flexiable configuration files. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_mandir}/*/* %{perl_vendorlib}/YAML %changelog * Fri Aug 01 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.16-6mdv2009.0 + Revision: 258886 - rebuild * Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.16-5mdv2009.0 + Revision: 246793 - rebuild + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Wed Dec 19 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.16-3mdv2008.1 + Revision: 133737 - rebuild + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Fri Oct 06 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.16-2mdv2007.0 - buildrequires perl(YAML) * Tue Oct 03 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.16-1mdv2007.0 - first mdv release