perl-XML-Writer-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. Name: perl-XML-Writer
  2. Version: 0.606
  3. Release: 5%{?_dist_release}
  4. Summary: A simple Perl module for writing XML documents
  5. Group: Development/Libraries
  6. License: MIT
  7. URL: http://search.cpan.org/dist/XML-Writer/
  8. Source0: http://www.cpan.org/authors/id/J/JO/JOSEPHW/XML-Writer-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(Test::Pod)
  12. BuildRequires: perl(Test::Pod::Coverage)
  13. BuildRequires: perl(ExtUtils::MakeMaker)
  14. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  15. %description
  16. XML::Writer is a simple Perl module for writing XML documents: it
  17. takes care of constructing markup and escaping data correctly, and by
  18. default, it also performs a significant amount of well-formedness
  19. checking on the output, to make certain (for example) that start and
  20. end tags match, that there is exactly one document element, and that
  21. there are not duplicate attribute names.
  22. %prep
  23. %setup -q -n XML-Writer-%{version}
  24. %build
  25. %{__perl} Makefile.PL INSTALLDIRS=vendor
  26. make %{?_smp_mflags}
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  30. find $RPM_BUILD_ROOT -type f -a \( -name .packlist \
  31. -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
  32. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  33. %check
  34. make test
  35. %clean
  36. rm -rf $RPM_BUILD_ROOT
  37. %files
  38. %defattr(-,root,root,-)
  39. %doc Changes README TODO
  40. %{perl_vendorlib}/*
  41. %{_mandir}/man3/*.3*
  42. %changelog
  43. * Mon Jan 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.606-5
  44. - Initial build for Vine Linux
  45. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.606-4
  46. - rebuild against perl 5.10.1
  47. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.606-3
  48. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  49. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.606-2
  50. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  51. * Mon Feb 2 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.606-1
  52. - Update to upstream 0.606
  53. - Clarify license is MIT
  54. * Tue Mar 18 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.604-1
  55. - New upstream release (0.604)
  56. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.603-4
  57. - Rebuild for perl 5.10 (again)
  58. * Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.603-3
  59. - rebuild for new perl
  60. * Thu Aug 23 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.603-2
  61. - License tag to "GPL+ or Artistic" as per new guidelines.
  62. * Sat Aug 18 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.603-1
  63. - Update to latest upstream
  64. * Mon Mar 26 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.602-3
  65. - Fixed %check
  66. * Wed Mar 23 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.602-2
  67. - Update BR as per suggestions from review by Ralf Corsepius
  68. * Wed Mar 23 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.602-1
  69. - Update to 0.602
  70. * Wed Apr 06 2005 Hunter Matthews <thm@duke.edu> 0.531-1
  71. - Review suggestions from José Pedro Oliveira
  72. * Tue Mar 22 2005 Hunter Matthews <thm@duke.edu> 0.531-1
  73. - Initial build.