perl-Text-Diff-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. Name: perl-Text-Diff
  2. Version: 1.45
  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. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildArch: noarch
  13. BuildRequires: perl(constant)
  14. BuildRequires: perl(Algorithm::Diff)
  15. BuildRequires: perl(Carp)
  16. BuildRequires: perl(Data::Dumper)
  17. BuildRequires: perl(ExtUtils::MakeMaker)
  18. BuildRequires: perl(Exporter)
  19. BuildRequires: perl(IO::File)
  20. BuildRequires: perl(Test)
  21. BuildRequires: perl(Test::More)
  22. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  23. %{?perl_default_filter}
  24. %description
  25. Text::Diff provides a basic set of services akin to the GNU diff utility.
  26. It is not anywhere near as feature complete as GNU diff, but it is better
  27. integrated with Perl and available on all platforms. It is often faster
  28. than shelling out to a system's diff executable for small files, and
  29. generally slower on larger files.
  30. %prep
  31. %setup -q -n Text-Diff-%{version}
  32. %build
  33. perl Makefile.PL INSTALLDIRS=vendor
  34. make %{?_smp_mflags}
  35. %install
  36. rm -rf %{buildroot}
  37. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  38. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  39. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  40. %{_fixperms} %{buildroot}/*
  41. %check
  42. make test
  43. %clean
  44. rm -rf %{buildroot}
  45. %files
  46. %doc Changes LICENSE README
  47. %{perl_vendorlib}/*
  48. %{_mandir}/man3/*
  49. %changelog
  50. * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.45-1
  51. - new upstream release.
  52. - rebuilt with perl-5.26.
  53. * Sat Nov 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.41-2
  54. - rebuilt with perl 5.16.3
  55. * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.41-1
  56. - initial build for Vine Linux
  57. * Fri Jan 27 2012 Petr Šabata <contyk@redhat.com> - 1.41-1
  58. - 1.41 bump, spec modernization and cleanup
  59. - Update Source URL
  60. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-8
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  62. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.37-7
  63. - Perl mass rebuild
  64. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-6
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  66. * Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.37-5
  67. - 661697 rebuild for fixing problems with vendorach/lib
  68. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.37-4
  69. - Mass rebuild with perl-5.12.0
  70. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.37-3
  71. - rebuild against perl 5.10.1
  72. * Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.37-2
  73. - add Test::More as a BR (rt#50040)
  74. * Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.37-1
  75. - add filtering
  76. - auto-update to 1.37 (by cpan-spec-update 0.01)
  77. - altered br on perl(Algorithm::Diff) (0 => 1.19)
  78. - added a new br on perl(Exporter) (version 0)
  79. - added a new br on perl(Test) (version 0)
  80. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-8
  81. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  82. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-7
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  84. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.35-6
  85. - Rebuild for perl 5.10 (again)
  86. * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.35-5
  87. - rebuild for new perl
  88. * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.35-4
  89. - Use fixperms macro instead of our own chmod incantation.
  90. - BR ExtUtils::MakeMaker.
  91. * Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 0.35-3
  92. - Improve Summary, description, and Source0 URL.
  93. - Fix find option ordering.
  94. - Don't generate license texts.
  95. * Fri Sep 16 2005 Steven Pritchard <steve@kspei.com> 0.35-2
  96. - Minor spec cleanup.
  97. * Sat Aug 27 2005 Steven Pritchard <steve@kspei.com> 0.35-1
  98. - Specfile autogenerated.