68 lines
1.9 KiB
RPMSpec
68 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package perl-Algorithm-Diff (Version 1.1902)
|
|
#
|
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: perl-Algorithm-Diff
|
|
URL: http://search.cpan.org/
|
|
License: GPL, Artistic License
|
|
Group: Development/Languages/Perl
|
|
Requires: perl = %{perl_version}
|
|
Autoreqprov: on
|
|
Summary: Compute 'Intelligent' Differences Between Two Files or Lists
|
|
Version: 1.1902
|
|
Release: 1
|
|
Source: http://www.cpan.org/modules/by-category/06_Data_Type_Utilities/Algorithm/Algorithm-Diff-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
This Perl module helps to create differences between two files or
|
|
lists. It is used by 'perl-diffmk'
|
|
|
|
|
|
|
|
%prep
|
|
%setup -n Algorithm-Diff-%{version}
|
|
%define perl_site %(TMP=%{perl_sitearch}; echo ${TMP%/*})
|
|
|
|
%build
|
|
perl Makefile.PL
|
|
make
|
|
make test
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
%perl_process_packlist
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc MANIFEST Changes README
|
|
%{perl_vendorarch}/auto/Algorithm
|
|
%{perl_vendorlib}/Algorithm
|
|
%{_mandir}/man3/Algorithm::Diff*.3pm.gz
|
|
/var/adm/perl-modules/perl-Algorithm-Diff
|
|
|
|
%changelog -n perl-Algorithm-Diff
|
|
* Tue Aug 08 2006 - ke@suse.de
|
|
- Version 1.1902; Changes:
|
|
- Fix typo in @EXPORT_OK (s/LCDidx/LCSidx/) (RT 8576)
|
|
- Use 'printf' in example code, not 'sprintf' nor 'sprint' (RT 16067)
|
|
- DiffOld wasn't passing extra arguments to compare routine (RT 20650)
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Tue Jul 19 2005 - lmuelle@suse.de
|
|
- Update to 1.1901.
|
|
* Wed Feb 04 2004 - ke@suse.de
|
|
- New package: version 1.15.
|