debian/0000755000000000000000000000000012142213010007150 5ustar debian/watch0000644000000000000000000000014511631150375010221 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/diff-lcs .*/diff-lcs-(.*).tar.gz debian/rules0000755000000000000000000000105312142213010010227 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 # # Uncomment to ignore all test failures (but the tests will run anyway) #export DH_RUBY_IGNORE_TESTS=all # # Uncomment to ignore some test failures (but the tests will run anyway). # Valid values: #export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems # # If you need to specify the .gemspec (eg there is more than one) #export DH_RUBY_GEMSPEC=gem.gemspec %: dh $@ --buildsystem=ruby --with ruby # do not install bin/* in /usr/bin override_dh_install: dh_install rm -rf debian/ruby-diff-lcs/usr/bin debian/source/0000755000000000000000000000000012142213010010450 5ustar debian/source/format0000644000000000000000000000001411631150375011676 0ustar 3.0 (quilt) debian/control0000644000000000000000000000211712142213010010554 0ustar Source: ruby-diff-lcs Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Lucas Nussbaum , Cédric Boutillier Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-rspec, rake Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-diff-lcs.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-diff-lcs.git;a=summary Homepage: http://rubyforge.org/projects/ruwiki/ XS-Ruby-Versions: all Package: ruby-diff-lcs Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Description: McIlroy-Hunt longest common subsequence algorithm implementation 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, and Ned Konz's Perl version (Algorithm::Diff). debian/ruby-diff-lcs.docs0000644000000000000000000000001411645243643012511 0ustar README.rdoc debian/compat0000644000000000000000000000000211631150375010366 0ustar 7 debian/examples0000644000000000000000000000000612142213010010705 0ustar bin/* debian/changelog0000644000000000000000000000616112142213010011026 0ustar ruby-diff-lcs (1.2.4-1) unstable; urgency=low * New upstream version * Build against gem2deb (>= 0.3.0~) to provide rubygems integration (Closes: #698214) * debian/control: + add myself to Uploaders + remove deprecated DM-Upload-Allowed field + bump Standards-Version to 3.9.4 (no changes needed) + use canonical URLs for Vcs-* fields + drop obsolete transition packages + depend on ruby instead of ruby1.8 * debian/copyright: + convert copyright file to DEP-5 copyright-format/1.0 + update copyright information * debian/source/local-options: add unapply-patches * debian/patches: add fix_shebang_for_bins.patch to fix shebang for scripts in bin/ * use ruby-tests.rake method to run the specs * ship scripts in bin/ as examples -- Cédric Boutillier Tue, 07 May 2013 16:25:44 +0200 ruby-diff-lcs (1.1.3-1) unstable; urgency=low * New upstream version. * Switch to my @d.o email address. * Standards-Version -> 3.9.2. No changes needed. * Conflicts -> Breaks. * drop 10_shebangs. no need to fix shebangs in libs. * switch to rspec to run tests. * README renamed to README.rdoc. -- Lucas Nussbaum Sun, 09 Oct 2011 12:06:27 +0200 ruby-diff-lcs (1.1.2-7) unstable; urgency=low * Switch to gem2deb-based packaging. Rename source and binary packages. -- Lucas Nussbaum Tue, 26 Apr 2011 11:17:29 +0200 libdifflcs-ruby (1.1.2-6) unstable; urgency=low * This package is now maintained within the Debian/Ruby Extras team. * debian/control: - Added the team (and myself) to the uploaders. - Added the Vcs-* fields. * debian/watch: Changed the regexp so it doesn't look at the wrong files (e.g. GPG asc sign files). -- Paul van Tilburg Sat, 10 Apr 2010 22:53:45 +0200 libdifflcs-ruby (1.1.2-5) unstable; urgency=low * Dropped shebang replacement for /usr/bin from 10_shebangs.dpatch - libsetup-ruby will take care * Renamed /usr/bin/*1.9 -> *1.9.1 (Closes: #570434) * Backup and restore scripts with shebang line to work around #571981 in libsetup-ruby * Switched to source format 3.0 (quilt) * Updated package description -- Tobias Grimm Tue, 06 Apr 2010 19:43:50 +0200 libdifflcs-ruby (1.1.2-4) unstable; urgency=low * Move from ruby1.9 to ruby1.9.1 (Closes: #569887). * Removed unused lintian override. * Enabled tests in debian/rules. * Bumped up Standards-Version. -- Sebastien Delafond Mon, 15 Feb 2010 12:01:23 +0100 libdifflcs-ruby (1.1.2-3) unstable; urgency=low * More proper debian/rules to deal with duplicate binaries in /usr/bin/*. -- Sebastien Delafond Mon, 12 Oct 2009 17:22:34 +0200 libdifflcs-ruby (1.1.2-2) unstable; urgency=low * Moved to CDBS. * Added debian/watch file. * Bumped up Standards revision. * Various lintian cleanups. -- Sebastien Delafond Mon, 12 Oct 2009 16:18:40 +0200 libdifflcs-ruby (1.1.2-1) unstable; urgency=low * Initial Release (Closes: #480584). -- Sebastien Delafond Sun, 11 May 2008 10:40:53 -0700 debian/patches/0000755000000000000000000000000012142213010010577 5ustar debian/patches/series0000644000000000000000000000003312142213010012010 0ustar fix_shebang_for_bins.patch debian/patches/fix_shebang_for_bins.patch0000644000000000000000000000061412142213010015757 0ustar Description: change shebang of scripts in bin/ Author: Cédric Boutillier Last-Update: 2013-05-07 Forwarded: no --- a/bin/htmldiff +++ b/bin/htmldiff @@ -1,4 +1,4 @@ -#!ruby -w +#!/usr/bin/ruby -w require 'diff/lcs' require 'diff/lcs/htmldiff' --- a/bin/ldiff +++ b/bin/ldiff @@ -1,4 +1,4 @@ -#!ruby -w +#!/usr/bin/ruby -w require 'diff/lcs' require 'diff/lcs/ldiff' debian/copyright0000644000000000000000000000403712142212764011126 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: diff-lcs Source: https://github.com/halostatue/diff-lcs Files: * Copyright: 2004-2013 Austin Ziegler License: Artistic or Expat or GPL-2 Files: debian/* Copyright: 2011 Lucas Nussbaum 2013 Cédric Boutillier License: Artistic or Expat or GPL-2 License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in '/usr/share/common-licenses/Artistic'. License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License: GPL-2 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991. . On Debian systems, the complete text of version 2 of the GNU General Public License can be found in '/usr/share/common-licenses/GPL-2'. debian/ruby-tests.rake0000644000000000000000000000022012142213010012127 0ustar require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = './spec/*_spec.rb' end task :default => :spec