auto-import perl-Algorithm-Diff-1.1901-1 on branch devel from

perl-Algorithm-Diff-1.1901-1.src.rpm
This commit is contained in:
Steven Pritchard 2005-09-06 17:52:59 +00:00
parent 636b3cc318
commit d435467ef4
3 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1 @@
Algorithm-Diff-1.1901.zip

63
perl-Algorithm-Diff.spec Normal file
View File

@ -0,0 +1,63 @@
Name: perl-Algorithm-Diff
Version: 1.1901
Release: 1%{?dist}
Summary: Algorithm::Diff Perl module
License: GPL or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Algorithm-Diff/
Source0: http://www.cpan.org/modules/by-module/Algorithm/Algorithm-Diff-1.1901.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This is a module for computing the difference between two files, two
strings, or any other two lists of things. It uses an intelligent
algorithm similar to (or identical to) the one used by the Unix "diff"
program. It is guaranteed to find the *smallest possible* set of
differences.
%prep
%setup -q -n Algorithm-Diff-%{version}
chmod 644 *.pl
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/Algorithm/*.pl
perldoc -t perlgpl > COPYING
perldoc -t perlartistic > Artistic
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README COPYING Artistic *.pl
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 1.1901-1
- Updated to 1.1901.
* Sat Sep 03 2005 Steven Pritchard <steve@kspei.com> 1.15-2
- Move example files to %%doc.
* Sat Aug 27 2005 Steven Pritchard <steve@kspei.com> 1.15-1
- Specfile autogenerated.

View File

@ -0,0 +1 @@
a4f8625182c00847098b05e18268bfb2 Algorithm-Diff-1.1901.zip