commit cda608dddf8a9a00d143e83516e57602326d54fb Author: Ville Skyttä <ville.skytta@xxxxxx> Date: Tue Aug 31 08:52:01 2010 +0300 Initial import (#627024). .gitignore | 1 + perl-CSS-DOM.spec | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 82 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..b1538f0 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/CSS-DOM-0.13.tar.gz diff --git a/perl-CSS-DOM.spec b/perl-CSS-DOM.spec new file mode 100644 index 0000000..c72a02c --- /dev/null +++ b/perl-CSS-DOM.spec @@ -0,0 +1,80 @@ +Name: perl-CSS-DOM +Version: 0.13 +Release: 2%{?dist} +Summary: Document Object Model for Cascading Style Sheets + +Group: Development/Libraries +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/CSS-DOM/ +Source0: http://www.cpan.org/authors/id/S/SP/SPROUT/CSS-DOM-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl(Clone) >= 0.09 +Requires: perl(Encode) >= 2.10 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +# Dependencies not detected automatically: +Requires: perl(Clone) >= 0.09 +Requires: perl(Encode) >= 2.10 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +# http://rpm.org/ticket/127 +%filter_from_requires /perl(#)/d +%filter_setup + +%description +This set of modules provides the CSS-specific interfaces described in +the W3C DOM recommendation. + + +%prep +%setup -q -n CSS-DOM-%{version} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; +%{_fixperms} $RPM_BUILD_ROOT/* + + +%check +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/CSS/ +%{_mandir}/man3/CSS::DOM*.3* + + +%changelog +* Thu Aug 26 2010 Ville Skyttä <ville.skytta@xxxxxx> - 0.13-2 +- Add explicit dependency on perl(Encode), not detected automatically. + +* Tue Aug 24 2010 Ville Skyttä <ville.skytta@xxxxxx> - 0.13-1 +- Update to 0.13. + +* Fri Aug 20 2010 Ville Skyttä <ville.skytta@xxxxxx> - 0.11-1 +- Update to 0.11. + +* Fri Apr 2 2010 Ville Skyttä <ville.skytta@xxxxxx> - 0.10-1 +- Update to 0.10. + +* Sun Feb 21 2010 Ville Skyttä <ville.skytta@xxxxxx> - 0.09-1 +- 0.09. + +* Sun Jan 24 2010 Ville Skyttä <ville.skytta@xxxxxx> - 0.08-1 +- First build. diff --git a/sources b/sources index e69de29..a34d286 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6e0668adcdaf2231092e522a92d4a296 CSS-DOM-0.13.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel