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