Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37742510
en ru br
ALT Linux repos
5.0: 1.1.2-alt1

Group :: Development/Ruby
RPM: ruby-diff-lcs

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# vim: set ft=spec : -*- rpm-spec -*-

%define pkgname diff-lcs

Name: ruby-%pkgname
Version: 1.1.2
Release: alt1

Summary: Port of Algorithm::Diff
Group: Development/Ruby
License: MIT
Url: http://rubyforge.org/projects/ruwiki/

Packager: Ruby Maintainers Team <ruby at packages.altlinux.org>

Source: %pkgname-%version.tar
Patch: %pkgname-%version-%release.patch

BuildArch: noarch

# Automatically added by buildreq on Mon Aug 25 2008 (-bi)

BuildRequires: rpm-build-ruby ruby-module-debug ruby-module-etc ruby-rake ruby-tool-rdoc ruby-tool-setup

%description
Diff::LCS is a port of Algorithm::Diff that uses the McIlroy-Hunt
longest common subsequence (LCS) algorithm to compute intelligent
differences between two sequenced enumerable containers. The
implementation is based on Mario I. Wolczko's Smalltalk version (1.2,
1993) and Ned Konz's Perl version (Algorithm::Diff).

%package doc
Summary: Documentation files for %pkgname
Group: Documentation

%description doc
Documentation files for %pkgname

%prep
%setup -q -n %pkgname-%version
%patch -p1
cp %_datadir/ruby-setup/setup.rb .

%build
%ruby_config
%ruby_build
rake --trace test

%install
%ruby_install
%rdoc lib/

%files
%doc ChangeLog README
%_bindir/*
%ruby_sitelibdir/*

%files doc
%ruby_ri_sitedir/Diff*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin