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