perl-Algorithm-Diff-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. Summary: Algorithm::Diff Perl module
  2. Name: perl-Algorithm-Diff
  3. Epoch: 1
  4. Version: 1.201
  5. Release: 1%{?_dist_release}
  6. Group: programming
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. Packager: shaolin
  10. License: GPL+ or Artistic
  11. URL: https://metacpan.org/pod/Algorithm::Diff
  12. Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Algorithm-Diff-%{version}.tar.gz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildArch: noarch
  15. BuildRequires: perl(ExtUtils::MakeMaker)
  16. Requires: perl >= 2:5.34.0
  17. %description
  18. This is a module for computing the difference between two files, two
  19. strings, or any other two lists of things. It uses an intelligent
  20. algorithm similar to (or identical to) the one used by the Unix "diff"
  21. program. It is guaranteed to find the *smallest possible* set of
  22. differences.
  23. %prep
  24. %setup -q -n Algorithm-Diff-%{version}
  25. %build
  26. %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
  27. make %{?_smp_mflags}
  28. %install
  29. rm -rf %{buildroot}
  30. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  31. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  32. %{_fixperms} %{buildroot}/*
  33. rm -f %{buildroot}%{perl_sitelib}/Algorithm/*.pl
  34. %check
  35. make test
  36. %clean
  37. rm -rf %{buildroot}
  38. %files
  39. %defattr(-,root,root,-)
  40. %doc Changes README
  41. %{perl_vendorlib}/*
  42. %{_mandir}/man3/*
  43. %changelog
  44. * Thu Nov 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1:0.201-1
  45. - new upstream release.
  46. - built with perl-5.34.0.
  47. * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.1903-1
  48. - new upstream release.
  49. - rebuilt with perl-5.26.
  50. * Sat Nov 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.1902-3
  51. - rebuilt with perl 5.16.3
  52. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1902-2
  53. - rebuild
  54. * Thu Feb 23 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1902-1
  55. - initial build for Vine Linux
  56. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-14
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  58. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1902-13
  59. - Perl mass rebuild
  60. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-12
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  62. * Tue Dec 14 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1902-11
  63. - 661697 rebuild for fixing problems with vendorach/lib
  64. * Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1902-10
  65. - Mass rebuild with perl-5.12.0
  66. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.1902-9
  67. - rebuild against perl 5.10.1
  68. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-8
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  70. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-7
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  72. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1902-6
  73. - Rebuild for perl 5.10 (again)
  74. * Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.1902-5
  75. - rebuild for new perl
  76. * Thu Jan 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.1902-4
  77. - fix license tag, rebuild for perl
  78. * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 1.1902-3
  79. - Use fixperms macro instead of our own chmod incantation.
  80. - BR ExtUtils::MakeMaker.
  81. * Sun Sep 17 2006 Steven Pritchard <steve@kspei.com> 1.1902-2
  82. - Rebuild.
  83. * Sat Aug 05 2006 Steven Pritchard <steve@kspei.com> 1.1902-1
  84. - Update to 1.1902.
  85. - Minor spec cleanup to match current template/cpanspec output.
  86. * Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 1.1901-1
  87. - Updated to 1.1901.
  88. * Sat Sep 03 2005 Steven Pritchard <steve@kspei.com> 1.15-2
  89. - Move example files to %%doc.
  90. * Sat Aug 27 2005 Steven Pritchard <steve@kspei.com> 1.15-1
  91. - Specfile autogenerated.