perl-XML-Filter-BufferText-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. Name: perl-XML-Filter-BufferText
  2. Version: 1.01
  3. Release: 3%{?_dist_release}
  4. Summary: Filter to put all characters() in one event
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/XML-Filter-BufferText/
  8. Source0: http://www.cpan.org/modules/by-module/XML/XML-Filter-BufferText-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. BuildRequires: perl(Test::More)
  13. BuildRequires: perl(XML::SAX::Base)
  14. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  15. Requires: perl(XML::SAX::Base)
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: shaolin
  19. %description
  20. This is a very simple filter. One common cause of grief (and programmer
  21. error) is that XML parsers aren't required to provide character events in
  22. one chunk. They can, but are not forced to, and most don't. This filter
  23. does the trivial but oft-repeated task of putting all characters into a
  24. single event.
  25. %prep
  26. %setup -q -n XML-Filter-BufferText-%{version}
  27. chmod 644 Changes README BufferText.pm
  28. %build
  29. %{__perl} Makefile.PL INSTALLDIRS=vendor
  30. make %{?_smp_mflags}
  31. %install
  32. rm -rf %{buildroot}
  33. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  34. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  35. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  36. %{_fixperms} %{buildroot}/*
  37. %check
  38. make test
  39. %clean
  40. rm -rf %{buildroot}
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc Changes README
  44. %{perl_vendorlib}/*
  45. %{_mandir}/man3/*
  46. %changelog
  47. * Sun Nov 30 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.01-3
  48. - rebuilt
  49. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.01-2
  50. - rebuild
  51. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.01-1
  52. - initial build for Vine Linux
  53. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-13
  54. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  55. * Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.01-12
  56. - Perl mass rebuild
  57. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-11
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  59. * Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.01-10
  60. - 661697 rebuild for fixing problems with vendorach/lib
  61. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.01-9
  62. - Mass rebuild with perl-5.12.0
  63. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.01-8
  64. - rebuild against perl 5.10.1
  65. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-7
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  67. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-6
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  69. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.01-5
  70. - Rebuild for perl 5.10 (again)
  71. * Tue Jan 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.01-4
  72. - BR perl(Test::More)
  73. * Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.01-3
  74. - rebuild for new perl
  75. * Sat Mar 17 2007 Andreas Thienemann <andreas@bawue.net> 1.01-2
  76. - Fixed dependencies
  77. * Thu Mar 15 2007 Andreas Thienemann <andreas@bawue.net> 1.01-1
  78. - Specfile autogenerated by cpanspec 1.69.1.
  79. - Cleaned up for FE