perl-XML-Writer-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. Name: perl-XML-Writer
  2. Version: 0.625
  3. Release: 1%{?_dist_release}
  4. Summary: A simple Perl module for writing XML documents
  5. Group: Development/Libraries
  6. License: COO 1.0
  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(ExtUtils::MakeMaker)
  12. BuildRequires: perl(Test::Pod)
  13. BuildRequires: perl(Test::Pod::Coverage)
  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. * Sun Nov 30 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.625-1
  44. - new upstream relase
  45. - built with perl 5.16.3
  46. * Sat Feb 4 2012 KATO Masashi <mkato@par.odn.ne.jp> 0.606-6
  47. - Added BR: perl-Test-Pod, perl-Test-Pod-Coverage
  48. * Mon Jan 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.606-5
  49. - Initial build for Vine Linux
  50. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.606-4
  51. - rebuild against perl 5.10.1
  52. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.606-3
  53. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  54. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.606-2
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  56. * Mon Feb 2 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.606-1
  57. - Update to upstream 0.606
  58. - Clarify license is MIT
  59. * Tue Mar 18 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.604-1
  60. - New upstream release (0.604)
  61. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.603-4
  62. - Rebuild for perl 5.10 (again)
  63. * Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.603-3
  64. - rebuild for new perl
  65. * Thu Aug 23 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.603-2
  66. - License tag to "GPL+ or Artistic" as per new guidelines.
  67. * Sat Aug 18 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.603-1
  68. - Update to latest upstream
  69. * Mon Mar 26 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.602-3
  70. - Fixed %check
  71. * Wed Mar 23 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.602-2
  72. - Update BR as per suggestions from review by Ralf Corsepius
  73. * Wed Mar 23 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.602-1
  74. - Update to 0.602
  75. * Wed Apr 06 2005 Hunter Matthews <thm@duke.edu> 0.531-1
  76. - Review suggestions from José Pedro Oliveira
  77. * Tue Mar 22 2005 Hunter Matthews <thm@duke.edu> 0.531-1
  78. - Initial build.