Name: perl-CSS Version: 1.08 Release: 1%{?dist} Summary: Object oriented access to Cascading Style Sheets (CSS) License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/CSS/ Source0: http://www.cpan.org/modules/by-module/CSS/CSS-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) perl(Parse::RecDescent) BuildRequires: perl(Test::Simple) dos2unix glibc-common Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description This module can be used, along with a CSS::Parse::* module, to parse CSS data and represent it as a tree of objects. Using a CSS::Adaptor::* module, the CSS data tree can then be transformed into other formats. %prep %setup -q -n CSS-%{version} mv Changes Changes.iso88591 iconv -f ISO-8859-1 -t UTF-8 -o Changes Changes.iso88591 touch -r Changes.iso88591 Changes rm -f Changes.iso88591 dos2unix -k examples/{dump,parsers,adapt}.pl Changes README %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -delete find %{buildroot} -depth -type d -delete %{_fixperms} %{buildroot}/* %check %{__make} test %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, -) %doc Changes README examples %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Apr 23 2008 Terje Rosten - 1.08-1 - 1.08 - Fix license - Simplify find options - Fix file endings * Sat Sep 23 2007 Terje Rosten - 1.07-2 - Add perl(Test::Simple) to buildreq - Move iconv to %%prep - Include examples in %%docs * Fri Sep 21 2007 Terje Rosten - 1.07-1 - Add Parse::RecDescent to buildreq - Specfile autogenerated by cpanspec 1.73