debian/0000755000000000000000000000000012255640410007165 5ustar debian/ruby-lapack.docs0000644000000000000000000000001412133037754012252 0ustar README.rdoc debian/copyright0000644000000000000000000000706712255640366011144 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ruby-lapack Source: http://www.gfd-dennou.org/arch/ruby/products/ruby-lapack/index.html Files: * Copyright: 2008-2011 Seiya Nishizawa License: Ruby's Ruby-Lapack is copyrighted free software by Seiya Nishizawa . You can redistribute it and/or modify it under either the terms of the GPL (see /usr/share/common-licenses/GPL-2 file), or the conditions below: . 1. You may make and give away verbatim copies of the source form of the software without restriction, provided that you duplicate all of the original copyright notices and associated disclaimers. . 2. You may modify your copy of the software in any way, provided that you do at least ONE of the following: . a) place your modifications in the Public Domain or otherwise make them Freely Available, such as by posting said modifications to Usenet or an equivalent medium, or by allowing the author to include your modifications in the software. . b) use the modified software only within your corporation or organization. . c) rename any non-standard executables so the names do not conflict with standard executables, which must also be provided. . d) make other distribution arrangements with the author. . 3. You may distribute the software in object code or executable form, provided that you do at least ONE of the following: . a) distribute the executables and library files of the software, together with instructions (in the manual page or equivalent) on where to get the original distribution. . b) accompany the distribution with the machine-readable source of the software. . c) give non-standard executables non-standard names, with instructions on where to get the original software distribution. . d) make other distribution arrangements with the author. . 4. You may modify and include the part of the software into any other software (possibly commercial). But some files in the distribution are not written by the author, so that they are not under this terms. . See each file for the copying condition. . 5. The scripts and library files supplied as input to or produced as output from the software do not automatically fall under the copyright of the software, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this software. . 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Files: debian/* Copyright: 2011 Youhei SASAKI License: GPL-2+ This package 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; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/rules0000755000000000000000000000017112133037754010252 0ustar #!/usr/bin/make -f %: dh $@ --buildsystem=ruby --with ruby override_dh_strip: dh_strip --dbg-package=ruby-lapack-dbg debian/source/0000755000000000000000000000000012133037754010473 5ustar debian/source/format0000644000000000000000000000001412133037754011701 0ustar 3.0 (quilt) debian/control0000644000000000000000000000244612255640366010610 0ustar Source: ruby-lapack Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Youhei SASAKI Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.5.0~), ruby-narray, liblapack-dev XS-Ruby-Versions: all Standards-Version: 3.9.5 Homepage: http://www.gfd-dennou.org/arch/ruby/products/ruby-lapack/index.html Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-lapack.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-lapack.git;a=summary Package: ruby-lapack Architecture: any XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby-narray Description: Ruby wrapper of LAPACK Ruby-LAPACK is Ruby wrapper of LAPACK library using NArray. . This package provides libraries and documents. Package: ruby-lapack-dbg Section: debug Priority: extra Architecture: any XB-Ruby-Versions: ${ruby:Version} Depends: ${misc:Depends}, ruby-lapack (=${binary:Version}) Description: Ruby wrapper of LAPACK (debugging symbols) Ruby-LAPACK is Ruby wrapper of LAPACK library using NArray. . This package is provided primarily to provide a backtrace with names in a debugger, this makes it somewhat easier to interpret core dumps. Most people will not need this package. debian/ruby-tests.rb0000644000000000000000000000044312133037754011642 0ustar if ENV['RUBY_TEST_BIN'] == '/usr/bin/ruby1.8' system("#{ENV['RUBY_TEST_BIN']} -Idebian/ruby-lapack/usr/lib/ruby/vendor_ruby /usr/bin/testrb1.8 tests/") or raise else system("#{ENV['RUBY_TEST_BIN']} -Idebian/ruby-lapack/usr/lib/ruby/vendor_ruby /usr/bin/testrb1.9.1 tests/") or raise end debian/watch0000644000000000000000000000013612133037754010224 0ustar version=3 http://www.gfd-dennou.org/arch/ruby/products/ruby-lapack/ ./ruby-lapack-(.*).tar.gz debian/ruby-lapack.examples0000644000000000000000000000001012133037754013134 0ustar samples debian/changelog0000644000000000000000000000174312255640366011056 0ustar ruby-lapack (1.5-2) unstable; urgency=low * Team upload. [ Cédric Boutillier ] * debian/control - remove obsolete DM-Upload-Allowed flag - use canonical URI in Vcs-* fields * debian/copyright: use DEP5 copyright-format/1.0 URL for Format field [ Jonas Genannt ] * d/control - Updated ruby-lapack description (Closes: #712409) - bumped standards version to 3.9.5 (no changes needed) - bumped dependency gem2deb to 0.5.0 / Ruby 2.0 support - updated ruby-lapack-dbg short description * d/patches/FixLibraryPath: added DEP-3 header * d/copyright: fixed copyright format -- Jonas Genannt Sun, 22 Dec 2013 19:56:56 +0100 ruby-lapack (1.5-1) unstable; urgency=low [ Youhei SASAKI ] * Initial release (Closes: #619219) * Imported Upstream version 1.5 [ Lucas Nussbaum ] * remove --with quilt, not needed * mention state in changelog -- Youhei SASAKI Mon, 02 May 2011 15:39:11 +0900 debian/compat0000644000000000000000000000000212133037754010371 0ustar 7 debian/patches/0000755000000000000000000000000012255640366010626 5ustar debian/patches/FixLibraryPath0000644000000000000000000000251112255640366013440 0ustar Description: Fix library search path: archdir -> vendorarchdir Author: Youhei SASAKI --- ruby-lapack.orig/ext/extconf.rb +++ ruby-lapack/ext/extconf.rb @@ -41,7 +41,7 @@ name = with_config("blas-name","blas_LINUX.a") unless have_library(name) - lib_path = with_config("blas-lib","/usr/local/lib") + lib_path = with_config("blas-lib","/usr/lib") _libarg = LIBARG LIBARG.replace "#{lib_path}/%s" unless have_library(name) @@ -51,7 +51,7 @@ end name = with_config("lapack-name","lapack_LINUX.a") unless have_library(name) - lib_path = with_config("lapack-lib","/usr/local/lib") + lib_path = with_config("lapack-lib","/usr/lib") _libarg = LIBARG LIBARG.replace "#{lib_path}/%s" unless have_library(name) @@ -61,17 +61,9 @@ end end -sitearchdir = Config::CONFIG["sitearchdir"] -dir_config("narray", sitearchdir, sitearchdir) -gem_path = nil -begin - require "rubygems" - if (spec = Gem.source_index.find_name("narray")).any? - gem_path = spec.last.full_gem_path - end -rescue LoadError -end -unless find_header("narray.h",gem_path) && have_header("narray_config.h") +archdir = Config::CONFIG["vendorarchdir"] +dir_config("narray", archdir, archdir) +unless find_header("narray.h", archdir) && have_header("narray_config.h") header_not_found("narray") end debian/patches/series0000644000000000000000000000001712133037754012035 0ustar FixLibraryPath