%global pkg_name CSS-Tiny %global pkg_version 1.15 %global rpm_pkg_version 1.15 %global rpm_pkg_release 1.n0i.3 Summary: Read/Write CSS files with as little code as possible Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic 2.0 URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl %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. CSS.pm requires about 2.6MB RAM to load, which is a large amount of overhead if you only want to do trivial things. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes LICENSE README %{perl_files} %changelog * Sat Nov 03 2007 Marius Feraru - 1.15-1.n0i.3 - version 1.15 * Tue May 22 2007 Marius Feraru - 1.14-1.n0i.2 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - version 1.14 * Sat May 13 2006 Marius Feraru 1.11-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer v1.12.1 - rebuild on perl 5.8.8