perl-Text-Diff-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. Name: perl-Text-Diff
  2. Version: 1.41
  3. Release: 1%{?_dist_release}
  4. Summary: Perform diffs on files and record sets
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Text-Diff/
  8. Source0: http://search.cpan.org/CPAN/authors/id/O/OV/OVID/Text-Diff-%{version}.tar.gz
  9. BuildArch: noarch
  10. BuildRequires: perl(constant)
  11. BuildRequires: perl(Algorithm::Diff)
  12. BuildRequires: perl(Carp)
  13. BuildRequires: perl(Data::Dumper)
  14. BuildRequires: perl(ExtUtils::MakeMaker)
  15. BuildRequires: perl(Exporter)
  16. BuildRequires: perl(IO::File)
  17. BuildRequires: perl(Test)
  18. BuildRequires: perl(Test::More)
  19. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  20. %{?perl_default_filter}
  21. %description
  22. Text::Diff provides a basic set of services akin to the GNU diff utility.
  23. It is not anywhere near as feature complete as GNU diff, but it is better
  24. integrated with Perl and available on all platforms. It is often faster
  25. than shelling out to a system's diff executable for small files, and
  26. generally slower on larger files.
  27. %prep
  28. %setup -q -n Text-Diff-%{version}
  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. %doc Changes LICENSE README
  44. %{perl_vendorlib}/*
  45. %{_mandir}/man3/*
  46. %changelog
  47. * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.41-1
  48. - initial build for Vine Linux
  49. * Fri Jan 27 2012 Petr Šabata <contyk@redhat.com> - 1.41-1
  50. - 1.41 bump, spec modernization and cleanup
  51. - Update Source URL
  52. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-8
  53. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  54. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.37-7
  55. - Perl mass rebuild
  56. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-6
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  58. * Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.37-5
  59. - 661697 rebuild for fixing problems with vendorach/lib
  60. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.37-4
  61. - Mass rebuild with perl-5.12.0
  62. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.37-3
  63. - rebuild against perl 5.10.1
  64. * Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.37-2
  65. - add Test::More as a BR (rt#50040)
  66. * Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.37-1
  67. - add filtering
  68. - auto-update to 1.37 (by cpan-spec-update 0.01)
  69. - altered br on perl(Algorithm::Diff) (0 => 1.19)
  70. - added a new br on perl(Exporter) (version 0)
  71. - added a new br on perl(Test) (version 0)
  72. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-8
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  74. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-7
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  76. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.35-6
  77. - Rebuild for perl 5.10 (again)
  78. * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.35-5
  79. - rebuild for new perl
  80. * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.35-4
  81. - Use fixperms macro instead of our own chmod incantation.
  82. - BR ExtUtils::MakeMaker.
  83. * Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 0.35-3
  84. - Improve Summary, description, and Source0 URL.
  85. - Fix find option ordering.
  86. - Don't generate license texts.
  87. * Fri Sep 16 2005 Steven Pritchard <steve@kspei.com> 0.35-2
  88. - Minor spec cleanup.
  89. * Sat Aug 27 2005 Steven Pritchard <steve@kspei.com> 0.35-1
  90. - Specfile autogenerated.