debian/0000755000000000000000000000000012260070272007164 5ustar debian/ruby-redcloth.manpages0000644000000000000000000000002212133040101013441 0ustar debian/redcloth.1 debian/copyright0000644000000000000000000000417412152655603011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: RedCloth Source: https://github.com/jgarber/redcloth Files: * Copyright: Copyright (c) 2011 Jason Garber 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 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. Files: debian/* Copyright: Copyright 2004-2008 Dmitry Borodaenko 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; either version 2 of the License, or (at your option) any later version. . This program 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/rules0000755000000000000000000000172312133040101010232 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_auto_build: ragel ragel/redcloth_scan.c.rl -o ext/redcloth_scan/redcloth_scan.c ragel ragel/redcloth_inline.c.rl -o ext/redcloth_scan/redcloth_inline.c ragel ragel/redcloth_attributes.c.rl -o ext/redcloth_scan/redcloth_attributes.c ragel ragel/redcloth_common.c.rl -o ext/redcloth_scan/redcloth_common.c dh_auto_build override_dh_installdocs: rdoc --inline-source --line-numbers --op rdoc \ --main README.rdoc --title "RedCloth" \ lib README.rdoc dh_installdocs override_dh_clean: rm -rf rdoc dh_clean debian/source/0000755000000000000000000000000012133040101010447 5ustar debian/source/format0000644000000000000000000000001412133040101011655 0ustar 3.0 (quilt) debian/redcloth.10000644000000000000000000000145712133040101011044 0ustar .TH REDCLOTH 1 September 2011 .SH NAME redcloth \- Ruby Textile formatter .SH SYNOPSIS redcloth [options] [redcloth_formatted.txt] .SH DESCRIPTION Format a Textile document into HTML or other type of output supported by RedCloth. If no file specified, STDIN will be used. If you are typing input, you can send an EOF by pressing ^D. .SH OPTIONS .TP \fB-o\fR, \fB--output\fR \fBSTYLE\fR Output format (defaults to html). .SH AUTHOR Dmitry Borodaenko .SH NOTES This manual page was written by Dmitry Borodaenko for the Debian project. This is free documentation; 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. debian/control0000644000000000000000000000167112260070200010563 0ustar Source: ruby-redcloth Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Dmitry Borodaenko Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.6.0~), rake (>= 0.8.7~), ruby-rspec (>= 2.4~), ragel Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-redcloth.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-redcloth.git;a=summary Homepage: https://github.com/jgarber/redcloth XS-Ruby-Versions: all Package: ruby-redcloth Architecture: any XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Description: Textile module for Ruby Textile is a very simple text format, intended for making readable text that can be converted to HTML, and used in docs, blogs, and Wiki pages. . RedCloth is a Ruby module for converting Textile to HTML. debian/ruby-tests.rb0000644000000000000000000000012212133040101011610 0ustar $: << 'spec' require 'rspec/core' Dir['spec/**/*_spec.rb'].each { |f| require f } debian/watch0000644000000000000000000000044712152655603010231 0ustar version=3 opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)\d*)$/$1~$2/,dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$// \ https://github.com/jgarber/redcloth/tags .*/v?(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) # Bart Martens Sat, 22 Dec 2012 15:33:47 +0000 debian/changelog0000644000000000000000000001327012260070272011041 0ustar ruby-redcloth (4.2.9-3) unstable; urgency=medium * 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 official URL for Format field * update debian/watch. Thanks Bart Martens [ Christian Hofstaedtler ] * Update Standards-Version to 3.9.5 (no changes) * Update Build-Depends for ruby2.0, drop ruby1.8 * Drop transitional packages -- Christian Hofstaedtler Sun, 29 Dec 2013 19:57:37 +0100 ruby-redcloth (4.2.9-2) unstable; urgency=low * Team upload. * Rebuild with recent gem2deb * Conforms to standards 3.9.3 -- Vincent Fourmond Sun, 24 Jun 2012 02:08:32 +0200 ruby-redcloth (4.2.9-1) unstable; urgency=low [ Dmitry Borodaenko ] * New upstream version: - RbConfig warning fix merged. * Transitional packages are oldlibs/extra. * Point Vcs-* control fields at git.debian.org. * Recompile Ragel sources, added Build-Depends: ragel. [ Cedric Boutillier ] * Fix debian/watch to adapt to modified github.com. -- Dmitry Borodaenko Sun, 12 Feb 2012 14:49:42 +0300 ruby-redcloth (4.2.8-2) unstable; urgency=low * Really point watch file to GitHub. * Fix Config deprecation warning with Ruby 1.9.3. -- Dmitry Borodaenko Sun, 09 Oct 2011 18:26:33 +0300 ruby-redcloth (4.2.8-1) unstable; urgency=low * New upstream version. * Switch to gem2deb-based packaging: - source and binary packages renamed to ruby-redcloth - transitional packages added - source format changed to 3.0 (quilt). * Redirect watch file to GitHub. * Add redcloth(1) manpage. -- Dmitry Borodaenko Tue, 06 Sep 2011 19:27:19 +0300 redcloth (4.2.2-1) unstable; urgency=low * New upstream version. * Replaced autogenerated ext/redcloth_scan/*.c with Ragel source files pulled from upstream git. * Vcs-Browser and Vcs-Git fields added to debian/control. * Debhelper compat level upgraded to 5. * Standards-Version upgraded to 3.8.3: - section changed to ruby. -- Dmitry Borodaenko Sat, 22 Aug 2009 13:04:38 +0300 redcloth (4.1.9-2) unstable; urgency=low * Rearranged target dependencies in debian/rules to conform to Debian Policy: binary-* should depend on build, this was missing for binary-arch (Closes: #518496). -- Dmitry Borodaenko Sat, 07 Mar 2009 17:07:34 +0200 redcloth (4.1.9-1) unstable; urgency=low * New upstream version: - Ruby 1.9 compatibility fixes. * Revert from Rakefile back to setup.rb. * Removed rake and rubgems from Build-Depends. * Upload to unstable. -- Dmitry Borodaenko Wed, 04 Mar 2009 17:32:04 +0200 redcloth (4.0.4-2) experimental; urgency=low * Added ruby1.8-dev and ruby1.9-dev to Build-Depends (Closes: #504273). -- Dmitry Borodaenko Sun, 02 Nov 2008 15:11:50 +0200 redcloth (4.0.4-1) experimental; urgency=low * New upstream version: - total rewrite with new maintainer and new copyright - pure Ruby implementation replaced with binary library compiled from C code generated by Ragel - license changed from BSD to MIT. * Upstream source tarball repackaged to exclude binary and auto-generated files (*.bundle, ._*, *.c), size reduced from 400k to 70k. * Updated to Standards-Version 3.8.0: - Homepage: field added to control file. * Watch file updated (upstream switched from tar.gz to tgz). * Build a library for Ruby 1.9 in libredcloth-ruby1.9. -- Dmitry Borodaenko Tue, 28 Oct 2008 18:19:30 +0200 redcloth (3.0.99.0.svn.20060519-1) unstable; urgency=low * Subversion snapshot of RedCloth 3.1. - includes main part of notextile fix by Paul van Tilburg (Closes: #392012) - forward-ported Paul van Tilburg's fix for (*) and (**) from 3.0.4-2 - removed fix for (_), as it breaks more important test cases * notextile modifier regexp cleanup by Paul van Tilburg. * 'x' between numerics fixed (Closes: #389370). * Improved and included infinite loop fix by Fabien Penso on redcloth-upwards ML. -- Dmitry Borodaenko Sun, 15 Oct 2006 16:28:51 +0100 redcloth (3.0.4-2) unstable; urgency=low * Generate more documentation: - generate RDoc documentation (Closes: #357631) - generate HTML versions of README and REFERENCE * Include patch by Paul van Tilburg: - fix for strong (*) and bold (**) greediness (Closes: #368442) - remove non-multiline limit for emphasis (_) (Closes: #367670) * Bumped Standards-Version to 3.7.2. -- Dmitry Borodaenko Sat, 09 Sep 2006 18:58:33 +0100 redcloth (3.0.4-1) unstable; urgency=low * New upstream version. * Updated project home page link in debian/copyright file. * Bumped Standards-Version to 3.6.2. -- Dmitry Borodaenko Thu, 06 Oct 2005 20:06:11 +0300 redcloth (3.0.3-2) unstable; urgency=low * New version from upstream CVS (2005-02-18): - fixes unwanted

in lite_mode (Closes: #303095) - fixes list handling -- Dmitry Borodaenko Wed, 6 Apr 2005 13:09:38 +0300 redcloth (3.0.3-1) unstable; urgency=low * New upstream version. * Added debian/watch file. -- Dmitry Borodaenko Fri, 11 Feb 2005 12:46:15 +0200 redcloth (2.0.10-2) unstable; urgency=low * Fixed long description to be more descriptive. -- Dmitry Borodaenko Thu, 1 Jul 2004 18:13:08 +0300 redcloth (2.0.10-1) unstable; urgency=low * Initial release. Closes: #256663 (ITP). -- Dmitry Borodaenko Mon, 28 Jun 2004 18:26:31 +0300 debian/compat0000644000000000000000000000000212133040101010345 0ustar 7 debian/patches/0000755000000000000000000000000012133040101010576 5ustar debian/patches/0001-restore-extconf.rb.patch0000644000000000000000000000127212133040101015730 0ustar From: Dmitry Borodaenko Date: Sun, 12 Feb 2012 14:05:31 +0300 Subject: restore extconf.rb Forwarded: not-needed --- ext/redcloth_scan/extconf.rb | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) create mode 100644 ext/redcloth_scan/extconf.rb diff --git a/ext/redcloth_scan/extconf.rb b/ext/redcloth_scan/extconf.rb new file mode 100644 index 0000000..506d4a3 --- /dev/null +++ b/ext/redcloth_scan/extconf.rb @@ -0,0 +1,6 @@ +require 'mkmf' +CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags'] +$CFLAGS << ' -O0 -Wall ' if CONFIG['CC'] =~ /gcc/ +dir_config("redcloth_scan") +have_library("c", "main") +create_makefile("redcloth_scan") debian/patches/series0000644000000000000000000000003612133040101012012 0ustar 0001-restore-extconf.rb.patch debian/ruby-redcloth.docs0000644000000000000000000000005412133040101012603 0ustar README.rdoc doc/textile_reference.html rdoc