%define module Date-HolidayParser %define name perl-%{module} %define version 0.3 %define release %mkrel 4 Name: %{name} Version: %{version} Release: %{release} Summary: Parser for ~/.holiday-style files License: GPL or Artistic Group: Development/Perl Source: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Term/ReadLine/%{module}-%{version}.tar.bz2 URL: http://search.cpan.org/dist/%{module} BuildRequires: perl BuildRoot: %{_tmppath}/%{name}-%{version} BuildArch: noarch %description This is a module that parses .holiday-style files. These are files that define holidays in various parts of the world. The files are easy to write and easy for humans to read, but can be hard to parse because the format allows many different ways to write it. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make "CFLAGS=%{optflags}" %check %make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README %{_mandir}/*/* %{perl_vendorlib}/Date %changelog * Thu Jul 31 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.3-4mdv2009.0 + Revision: 256488 - rebuild * Thu Dec 20 2007 Olivier Blin <oblin@mandriva.com> 0.3-2mdv2008.1 + Revision: 135833 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sat Sep 15 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.3-2mdv2008.0 + Revision: 86335 - rebuild * Tue Aug 01 2006 Eskild Hustvedt <eskild@mandriva.org> 0.3-1mdv - Initial Mandriva package