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