[DRE-commits] [ruby-html2text] 02/02: Update control files
Balasankar C
balasankarc-guest at moszumanska.debian.org
Sun Jun 25 13:52:34 UTC 2017
This is an automated email from the git hooks/post-receive script.
balasankarc-guest pushed a commit to branch master
in repository ruby-html2text.
commit 5831bc9db70deebf954587ba0b60a582f4cc0f7e
Author: Balasankar C <balasankarc at autistici.org>
Date: Sun Jun 25 19:21:30 2017 +0530
Update control files
---
debian/changelog | 6 +++---
debian/control | 14 ++++++++++----
debian/copyright | 42 +++++++++++++++++++-----------------------
debian/rules | 8 +++++++-
4 files changed, 39 insertions(+), 31 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 1e26fad..e5df4f4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-ruby-html2text (0.2.0-1) UNRELEASED; urgency=medium
+ruby-html2text (0.2.0-1) unstable; urgency=medium
- * Initial release (Closes: #nnnn)
+ * Initial release (Closes: #865876)
- -- Balasankar C <balasankarc at autistici.org> Wed, 26 Apr 2017 12:58:34 +0530
+ -- Balasankar C <balasankarc at autistici.org> Sun, 25 Jun 2017 12:58:34 +0530
diff --git a/debian/control b/debian/control
index 6b40fc9..90a00ef 100644
--- a/debian/control
+++ b/debian/control
@@ -5,10 +5,13 @@ Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.al
Uploaders: Balasankar C <balasankarc at autistici.org>
Build-Depends: debhelper (>= 9~),
gem2deb,
+ locales,
rake,
ruby-nokogiri (>= 1.6),
- ruby-rspec
-Standards-Version: 3.9.8
+ ruby-rspec,
+ ruby-rspec-collection-matchers
+Build-Conflicts: locales-all
+Standards-Version: 4.0.0
Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-html2text.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-html2text.git
Homepage: https://github.com/soundasleep/html2text_ruby
@@ -22,5 +25,8 @@ Depends: ruby | ruby-interpreter,
ruby-nokogiri (>= 1.6),
${misc:Depends},
${shlibs:Depends}
-Description: Convert HTML into plain text.
- A Ruby component to convert HTML into a plain text format.
+Description: convert HTML into plain text
+ This package provides the gem html2text, which can be used to convert HTML
+ input into a plain text format. It uses Ruby's DOM methods to load HTML from
+ a string, and then iterates over the resulting DOM to correctly output plain
+ text.
diff --git a/debian/copyright b/debian/copyright
index 6232245..d3ca696 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,33 +3,29 @@ Upstream-Name: html2text
Source: https://github.com/soundasleep/html2text_ruby
Files: *
-Copyright: <years> <put author's name and email here>
- <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2015 Jevon Wright
+License: Expat
Files: debian/*
Copyright: 2017 Balasankar C <balasankarc at autistici.org>
-License: GPL-2+ (FIXME)
+License: Expat
Comment: the Debian packaging is licensed under the same terms as the original package.
-License: GPL-2+ (FIXME)
- 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.
+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:
.
- 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.
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
.
- 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'.
+ 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.
diff --git a/debian/rules b/debian/rules
index 3454d59..2a3ae47 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,4 +3,10 @@
export GEM2DEB_TEST_RUNNER = --check-dependencies
%:
- dh $@ --buildsystem=ruby --with ruby
+ mkdir -p debian/build/locale
+ localedef -f UTF-8 -i en_US debian/build/locale/en_US.UTF-8
+ LOCPATH=$(CURDIR)/debian/build/locale LC_ALL=en_US.UTF-8 dh $@ --buildsystem=ruby --with ruby
+
+override_dh_clean:
+ LOCPATH=$(CURDIR)/debian/build/locale LC_ALL=en_US.UTF-8 dh_clean
+ rm -rf debian/build/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-html2text.git
More information about the Pkg-ruby-extras-commits
mailing list