perl-XML-SAX-Writer-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. Name: perl-XML-SAX-Writer
  2. Version: 0.50
  3. Release: 1%{?_dist_release}
  4. Summary: SAX2 Writer
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/XML-SAX-Writer/
  8. Source0: http://www.cpan.org/modules/by-module/XML/XML-SAX-Writer-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildArch: noarch
  11. BuildRequires: perl(Text::Iconv) >= 1.2
  12. BuildRequires: perl(XML::Filter::BufferText) >= 1.00
  13. BuildRequires: perl(XML::NamespaceSupport) >= 1.00
  14. BuildRequires: perl(XML::SAX::Exception) >= 1.01
  15. BuildRequires: /usr/bin/iconv
  16. BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More)
  17. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: shaolin
  21. %description
  22. A new XML Writer to match the SAX2 effort.
  23. %prep
  24. %setup -q -n XML-SAX-Writer-%{version}
  25. chmod 644 Changes README Writer.pm lib/XML/SAX/Writer/XML.pm
  26. # Fix UTF-8
  27. iconv -f ISO_8859-1 -t UTF-8 -o tmp.man Writer.pm &&
  28. mv -f tmp.man Writer.pm
  29. %build
  30. %{__perl} Makefile.PL INSTALLDIRS=vendor
  31. make %{?_smp_mflags}
  32. %install
  33. rm -rf %{buildroot}
  34. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  35. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  36. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  37. %{_fixperms} %{buildroot}/*
  38. %check
  39. make test
  40. %clean
  41. rm -rf %{buildroot}
  42. %files
  43. %defattr(-,root,root,-)
  44. %doc Changes README
  45. %{perl_vendorlib}/*
  46. %{_mandir}/man3/*
  47. %changelog
  48. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.50-1
  49. - initial build for Vine Linux
  50. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.50-13
  51. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  52. * Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.50-12
  53. - Perl mass rebuild
  54. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.50-11
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  56. * Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.50-10
  57. - 661697 rebuild for fixing problems with vendorach/lib
  58. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.50-9
  59. - Mass rebuild with perl-5.12.0
  60. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.50-8
  61. - rebuild against perl 5.10.1
  62. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.50-7
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  64. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.50-6
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  66. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.50-5
  67. - Rebuild for perl 5.10 (again)
  68. * Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.50-4
  69. - rebuild for new perl
  70. * Sun Jan 27 2008 Andreas Thienemann <andreas@bawue.net> 0.50-3
  71. - Added Test::More to the BuildReqs
  72. * Sat Mar 17 2007 Andreas Thienemann <andreas@bawue.net> 0.50-2
  73. - Removed hardcoded Reqs in favour of autoreqs
  74. - Better conversion to utf-8
  75. * Thu Mar 15 2007 Andreas Thienemann <andreas@bawue.net> 0.50-1
  76. - Specfile autogenerated by cpanspec 1.69.1.
  77. - Cleaned up for FE