debian/0000755000000000000000000000000012247442262007173 5ustar debian/rules0000755000000000000000000000150112247442242010246 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 override_dh_installchangelogs: dh_installchangelogs -O--buildsystem=ruby CHANGELOG.md override_dh_auto_install: dh_auto_install -O--buildsystem=ruby mv debian/ruby-dbf/usr/bin/dbf debian/ruby-dbf/usr/bin/dbf-rb # hack to be able to use the -s flag from ruby's interpreter # https://github.com/infused/dbf/issues/60 sed -i '1s/env ruby/ruby -s/' debian/ruby-dbf/usr/bin/dbf-rb debian/watch0000644000000000000000000000013312137550667010230 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/dbf .*/dbf-(.*).tar.gz debian/source/0000755000000000000000000000000012137550667010502 5ustar debian/source/format0000644000000000000000000000001412137550667011710 0ustar 3.0 (quilt) debian/dbf-rb.10000644000000000000000000000257412137550667010430 0ustar .\" Hey, EMACS: -*- nroff -*- .\" (C) Copyright 2013 Christopher Baines , .\" .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH DBF-RB 1 "February 23, 2013" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME dbf-rb \- command-line utility for the DBF library .SH SYNOPSIS .B dbf-rb .RI [-h|-s|-a] " filename" .SH DESCRIPTION DBF is a small fast library for reading dBase, xBase, Clipper and FoxPro database files. .PP \fBdbf-rb\fP is a command-line utility for the Ruby DBF library. .SH OPTIONS .TP .B \-s print summary information. .TP .B \-a create an ActiveRecord::Schema. .TP .B \-c create a csv file. .TP .B \-h Show summary of options. .SH EXAMPLES .TP .B dbf-rb -a books.dbf > books_schema.rb Create an ActiveRecord::Schema from the books database. .TP .B dbf-rb -c books.dbf > books.csv Dump all records in books.dbf in to a CSV file. debian/ruby-tests.rake0000644000000000000000000000022312137550667012164 0ustar require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = './spec/**/*_spec.rb' end task :default => :spec debian/copyright0000644000000000000000000000252012137550667011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: dbf Source: http://github.com/infused/dbf Files: * Copyright: 2006-2011 Keith Morrison License: Expat Files: debian/* Copyright: 2013 Christopher Baines License: Expat 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. debian/control0000644000000000000000000000174712247313034010601 0ustar Source: ruby-dbf Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Christopher Baines Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.5.0~), ruby-rspec (>= 2.10.0), rake (>= 0.9.2) Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-dbf.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-dbf.git;a=summary Homepage: http://github.com/infused/dbf XS-Ruby-Versions: all Package: ruby-dbf Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${misc:Depends}, ruby | ruby-interpreter Description: small fast Ruby library for reading database files A small fast library for reading dBase, xBase, Clipper and FoxPro database files. . Some limitations include experimental/no support for advanced data types in dBase V and FoxPro. No support for FoxBase/dBase II files. No write support, and index files are not utilized. debian/compat0000644000000000000000000000000212137550667010400 0ustar 7 debian/ruby-dbf.docs0000644000000000000000000000001212137550667011557 0ustar README.md debian/changelog0000644000000000000000000000166112247442101011041 0ustar ruby-dbf (2.0.6-2) unstable; urgency=low * Team upload. * Rewrite shebang of /usr/bin/dbf-rb, to be able to use -s ruby switch. (Closes: #731184) -- Cédric Boutillier Tue, 03 Dec 2013 18:44:57 +0100 ruby-dbf (2.0.6-1) unstable; urgency=low * Team upload * Imported Upstream version 2.0.6 * Build against gem2deb (>=0.5) to add Ruby2.0 support and drop Ruby1.8 * Drop dependency on ruby-fastercsv (Ruby1.8 only) * Bump Standards-Version to 3.9.5 (no changes needed) -- Cédric Boutillier Tue, 03 Dec 2013 08:08:16 +0100 ruby-dbf (2.0.5-1) unstable; urgency=low * New upstream version * Remove patches as they have been merged upstream -- Christopher Baines Sat, 06 Jul 2013 16:45:35 +0100 ruby-dbf (2.0.3-1) unstable; urgency=low * Initial release (Closes: #702161) -- Christopher Baines Sun, 24 Feb 2013 16:47:07 +0000 debian/ruby-dbf.manpages0000644000000000000000000000002012137550667012421 0ustar debian/dbf-rb.1