debian/0000755000000000000000000000000012202221345007157 5ustar debian/watch0000644000000000000000000000013711653223372010224 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/gpgme .*/gpgme-(.*).tar.gz debian/ruby-gpgme.examples0000644000000000000000000000001311653223372013002 0ustar examples/* debian/changelog0000644000000000000000000001113312202221345011030 0ustar ruby-gpgme (2.0.2-1) unstable; urgency=low * Team upload. [ Gunnar Wolf ] * Removed the build of transitional packages and obsolete relations required for Wheezy. [ Marc Dequènes (Duck) ] * New upstream release. * Patched buildsys to link with gpgme dynamically (and not with embedded libraries). * Increased Standards-Version to 3.9.4 (no changes). * Added dpkg-source local option to unapply patches. -- Marc Dequènes (Duck) Mon, 12 Aug 2013 20:01:08 +0200 ruby-gpgme (2.0.0-2) unstable; urgency=low * Added myself as uploader. * Build depend on gem2deb >= 0.3.0. * Bump standards version to 3.9.3 (no changes needed). * Use copyright format 1.0 uri. * Changed short description. - Remove lintian warning. [ Vincent Fourmond ] * Moved transitional packages to Priority: extra -- Per Andersson Mon, 25 Jun 2012 23:37:48 +0200 ruby-gpgme (2.0.0-1) unstable; urgency=low * Repackaged using the Gem2deb infrastructure -- Gunnar Wolf Fri, 07 Oct 2011 12:11:01 -0500 libgpgme-ruby (1.0.8-3) unstable; urgency=low * Adopted package (Closes: #572175) * Dropped depensimple-patchsys from build process (no patches to apply) * Standards-version 3.8.1→3.8.4 (no changes needed) -- Gunnar Wolf Thu, 04 Mar 2010 07:56:54 -0600 libgpgme-ruby (1.0.8-2) unstable; urgency=low * Switch from Ruby 1.9 to 1.9.1. Closes: #565845. * Update debian/copyright. Closes: #538228. -- Lucas Nussbaum Sat, 13 Feb 2010 10:43:25 +0100 libgpgme-ruby (1.0.8-1) unstable; urgency=medium * New upstream release (Closes: #563380) -- Micah Anderson Fri, 05 Feb 2010 13:54:48 -0500 libgpgme-ruby (1.0.6-1) unstable; urgency=low * New upstream release. -- Rudi Cilibrasi Tue, 09 Jun 2009 07:05:56 -0700 libgpgme-ruby (1.0.5-1) unstable; urgency=low * [Gunnar Wolf] - Changed section to Ruby as per ftp-masters' request. * [Rudi Cilibrasi] - New upstream release. -- Rudi Cilibrasi Wed, 03 Jun 2009 18:30:02 -0700 libgpgme-ruby (1.0.4-1) unstable; urgency=low * New upstream release. -- Rudi Cilibrasi Tue, 10 Feb 2009 04:35:22 -0800 libgpgme-ruby (1.0.1-2) unstable; urgency=low * Build-depend on ruby-pkg-tools >= 0.14, than fixes the ruby1.9 libs install problem (see #484611). -- Lucas Nussbaum Mon, 16 Jun 2008 15:06:45 +0200 libgpgme-ruby (1.0.1-1) unstable; urgency=low * New upstream release. Removed patch for memleak fixed by upstream. -- Rudi Cilibrasi Thu, 06 Mar 2008 10:44:42 -0800 libgpgme-ruby (1.0.0-3) unstable; urgency=low [ Rudi Cilibrasi ] * Bumped Standards-Version to 3.7.3. * Thanks to Paul van Tilburg for help in packaging libgpgme-ruby. [ Lucas Nussbaum ] * Use new Homepage dpkg header. -- Rudi Cilibrasi Fri, 28 Dec 2007 23:18:40 -0800 libgpgme-ruby (1.0.0-2) unstable; urgency=low * Thanks to Andreas Barth for fixing broken compilation problem. -- Rudi Cilibrasi Tue, 23 Oct 2007 14:55:35 -0700 libgpgme-ruby (1.0.0-1.1) unstable; urgency=medium * Non-maintainer upload. * Fix FTBFS, thanks Michael Ablassmeier. Closes: #427450 -- Andreas Barth Mon, 2 Jul 2007 20:27:44 +0000 libgpgme-ruby (1.0.0-1) unstable; urgency=low [ Rudi Cilibrasi ] * I am taking stewardship of the package for now as maintainer. * New upstream version. * Changed Build-Deps to specify libgpgme11-dev. * Updated Standards to 3.7.2. [ Paul van Tilburg ] * Updated homepage URL in debian/control and debian/watch, since the project moved to RubyForge. * Added myself to the Uploaders, currently acting as sponsor. * Adapted debian/rules, and removed debian/control.in to drop the Uploaders rule. -- Paul van Tilburg Wed, 18 Apr 2007 22:30:24 +0200 libgpgme-ruby (0.2-2) unstable; urgency=low [ Thierry Reding ] * Set myself as maintainer, taking 'ownership' of the package. * Updated debian/control.in to use @RUBY_EXTRAS_TEAM@ instead of the deprecated @RUBY_TEAM@ (build-depends on ruby-pkg-tools >= 0.8). [ Paul van Tilburg ] * Added debian/watch file. -- Paul van Tilburg Thu, 30 Mar 2006 13:49:20 +0200 libgpgme-ruby (0.2-1) unstable; urgency=low * Initial release. (Closes: #351270) * Uses the new extconf.rb CDBS class (depends on ruby-pkg-tools >= 0.7). -- Thierry Reding Fri, 24 Feb 2006 19:04:34 +0100 debian/compat0000644000000000000000000000000211653223372010370 0ustar 7 debian/ruby-tests.rb0000644000000000000000000000073511653223372011645 0ustar # FIXME # there's a spec/ or a test/ directory in the upstream source, but # no test suite was defined in the Gem specification. It would be # a good idea to define it here so the package gets tested at build time. # Examples: # $: << 'lib' << '.' # Dir['{spec,test}/**/*.rb'].each { |f| require f } # # require 'test/ts_foo.rb' # # require 'rbconfig' # ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name']) # exec("#{ruby} -I. test/runtests.rb") debian/source/0000755000000000000000000000000012202206227010461 5ustar debian/source/format0000644000000000000000000000001411653223372011700 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012202217310010603 5ustar debian/patches/series0000644000000000000000000000002412202172771012027 0ustar dynamic_build.patch debian/patches/dynamic_build.patch0000644000000000000000000000400212202217310014423 0ustar Index: ruby-gpgme/ext/gpgme/extconf.rb =================================================================== --- ruby-gpgme.orig/ext/gpgme/extconf.rb 2013-08-12 19:41:44.719877511 +0200 +++ ruby-gpgme/ext/gpgme/extconf.rb 2013-08-12 19:43:09.543079685 +0200 @@ -4,50 +4,18 @@ SRC = File.expand_path(File.dirname(__FILE__)) PREFIX = "#{BUILD}/dst" -def sys(*cmd) - puts " -- #{cmd.join(' ')}" +$CFLAGS << " " + `gpgme-config --cflags`.strip +$LDFLAGS << " " + `gpgme-config --libs`.strip - unless ret = xsystem(cmd.join(' ')) - raise "#{cmd.join(' ')} failed!" - end +# avoid useless links wrongly introduced by gpgme-config +$LDFLAGS.gsub!(/-l(assuan|gpg-error)/, "") - ret -end - -def build(tgz, *flags) - sys("tar xjvf #{tgz}") - - Dir.chdir(File.basename(tgz, '.tar.bz2')) do - sys("./configure --prefix=#{PREFIX} --libdir=#{PREFIX}/lib --disable-shared --enable-static --with-pic", *flags) - sys("make") - sys("make install") - end -end - -libgpg_error_tgz = File.join(SRC, 'libgpg-error-1.11.tar.bz2') -libassuan_tgz = File.join(SRC, 'libassuan-2.1.0.tar.bz2') -gpgme_tgz = File.join(SRC, 'gpgme-1.4.0.tar.bz2') - -# build deps - -build(libgpg_error_tgz, "--disable-nls") -build(libassuan_tgz, "--with-gpg-error-prefix=#{PREFIX}") -build(gpgme_tgz, "--with-gpg-error-prefix=#{PREFIX}", "--with-libassuan-prefix=#{PREFIX}") - -# copy gpgme - - -%w[ libassuan libgpg-error libgpgme ].each do |lib| - FileUtils.cp "#{PREFIX}/lib/#{lib}.a", "#{BUILD}/#{lib}_ext.a" -end - -$INCFLAGS[0,0] = " -I#{PREFIX}/include " -#$LDFLAGS << " -L#{PREFIX}/lib " -$CFLAGS << " -fPIC " +puts "CFLAGS: #{$CFLAGS}" +puts "LDFLAGS: #{$LDFLAGS}" # build gpgme extension -unless have_library 'gpg-error_ext' and have_library 'assuan_ext' and have_library 'gpgme_ext' and have_header 'gpgme.h' +unless have_library 'gpgme' and have_header 'gpgme.h' STDERR.puts "\n\n" STDERR.puts "*********************************************************" STDERR.puts "********* error compiling and linking libgpgme. *********" debian/control0000644000000000000000000000176412202221303010564 0ustar Source: ruby-gpgme Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Gunnar Wolf , Micah Anderson , Per Andersson Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), libgpgme11-dev, ruby-minitest, ruby-mocha # ruby-debug Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-gpgme.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-gpgme.git;a=summary Homepage: http://github.com/ueno/ruby-gpgme XS-Ruby-Versions: all Package: ruby-gpgme Architecture: any XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Description: Ruby GPGME binding GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications. It provides a High-Level Crypto API for encryption, decryption, signing, signature verification and key management. debian/copyright0000644000000000000000000000166111775103554011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: gpgme Source: http://rubygems.org/gems/gpgme Files: * Copyright: 2003-2009 Daiki Ueno License: LGPL-2.1+ Files: debian/* Copyright: 2011 Gunnar Wolf License: LGPL-2.1+ License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library 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 Lesser General Public License for more details. . On Debian systems, the full text of the GNU General Public License can be found at /usr/share/common-licenses/LGPL-2.1 . debian/rules0000755000000000000000000000070111653223372010250 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