perl-Algorithm-Diff-vl.spec 3.8 KB

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