%define module CSS-Tiny %define name perl-%{module} %define version 1.15 %define release %mkrel 3 Name: %{name} Version: %{version} Release: %{release} License: GPL or Artistic Summary: Read/Write .css files with as little code as possible Group: Development/Perl Url: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/CSS/%{module}-%{version}.tar.bz2 %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description CSS::Tiny is a perl class to read and write .css stylesheets with as little code as possible, reducing load time and memory overhead. %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) %doc Changes LICENSE README %{perl_vendorlib}/CSS %{_mandir}/*/* %changelog * Wed Jul 30 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.15-3mdv2009.0 + Revision: 256389 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Fri Nov 02 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.15-1mdv2008.1 + Revision: 105303 - update to new version 1.15 * Tue Sep 05 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.14-1mdv2007.0 - New version 1.14 * Thu Aug 31 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.11-2mdv2007.0 - Rebuild * Thu Nov 03 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.11-1mdk - New release 1.11 - spec cleanup - %%mkrel - make tests in %%check - fix directory ownership * Tue Aug 16 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.10-1mdk - new version - fix sources url for rpmbuildupdate * Wed Jul 13 2005 Oden Eriksson <oeriksson@mandriva.com> 1.05-1mdk - initial Mandriva package