[DRE-commits] [ruby-rails-assets-markdown-it-sanitizer] 02/03: tune package
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Wed Apr 8 11:23:02 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-rails-assets-markdown-it-sanitizer.
commit c03f8877bf43f2724ef76093463e6a75a71cac87
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Wed Apr 8 16:28:58 2015 +0530
tune package
---
debian/changelog | 4 ++--
debian/control | 12 +++++++---
debian/copyright | 48 ++++++++++++++++++----------------------
debian/install | 1 +
debian/patches/engine-root.patch | 17 ++++++++++++++
debian/patches/series | 1 +
6 files changed, 52 insertions(+), 31 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index afae67f..716d42e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
ruby-rails-assets-markdown-it-sanitizer (0.3.0-1) UNRELEASED; urgency=medium
- * Initial release (Closes: #nnnn)
+ * Initial release (Closes: #782135)
- -- Pirate Praveen <praveen at debian.org> Wed, 08 Apr 2015 16:25:08 +0530
+ -- Pirate Praveen <praveen at debian.org> Wed, 08 Apr 2015 13:44:01 +0530
diff --git a/debian/control b/debian/control
index c0b5364..48d4b24 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Uploaders: Pirate Praveen <praveen at debian.org>
Build-Depends: debhelper (>= 7.0.50~), gem2deb
-Standards-Version: 3.9.5
+Standards-Version: 3.9.6
Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-rails-assets-markdown-it-sanitizer.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-rails-assets-markdown-it-sanitizer.git;a=summary
Homepage: https://github.com/svbergerem/markdown-it-sanitizer
@@ -15,5 +15,11 @@ Package: ruby-rails-assets-markdown-it-sanitizer
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
-Description: sanitizer for markdown-it.
- sanitizer for markdown-it.
+Description: sanitizer for markdown-it markdown parser via rails pipeline
+ sanitizer for markdown-it markdown parser
+ .
+ markdown-it is markdown parser, done right. Commonmark support, extensions,
+ syntax plugins, high speed - all in one.
+ .
+ This package makes it easy to use markdown-it-sanitizer javascript library in
+ rails applications.
diff --git a/debian/copyright b/debian/copyright
index 0896e8f..2c31cf9 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,35 +1,31 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: rails-assets-markdown-it-sanitizer
-Source: FIXME <http://example.com/>
+Source: https://github.com/svbergerem/markdown-it-sanitizer
Files: *
-Copyright: <years> <put author's name and email here>
- <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2015 Steffen van Bergerem
+License: Expat
Files: debian/*
-Copyright: 2015 Pirate Praveen <praveen at debian.org>
-License: GPL-2+ (FIXME)
-Comment: the Debian packaging is licensed under the same terms as the original package.
+Copyright: 2015 Praveen Arimbrathodiyil <praveen at debian.org>
+License: Expat
-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/install b/debian/install
new file mode 100644
index 0000000..1f30818
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+app usr/share/ruby-rails-assets-markdown-it-sanitizer
diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
new file mode 100644
index 0000000..94c2693
--- /dev/null
+++ b/debian/patches/engine-root.patch
@@ -0,0 +1,17 @@
+Description: Set rails engine root
+ Debian specific
+Author: Pirate Praveen <praveen at debian.org>
+Last-Updated: 2015-04-02
+
+Index: ruby-rails-assets-markdown-it-sanitizer-0.3.0/lib/rails-assets-markdown-it-sanitizer.rb
+===================================================================
+--- ruby-rails-assets-markdown-it-sanitizer-0.3.0.orig/lib/rails-assets-markdown-it-sanitizer.rb
++++ ruby-rails-assets-markdown-it-sanitizer-0.3.0/lib/rails-assets-markdown-it-sanitizer.rb
+@@ -25,6 +25,7 @@ module RailsAssetsMarkdownItHashtag
+
+ if defined?(Rails)
+ class Engine < ::Rails::Engine
++ config.root = '/usr/share/ruby-rails-assets-markdown-it-sanitizer'
+ # Rails -> use app/assets directory.
+ end
+ end
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d77d941
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+engine-root.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rails-assets-markdown-it-sanitizer.git
More information about the Pkg-ruby-extras-commits
mailing list