[DRE-commits] [tdiary-style-rd] 01/03: Create Debian Package
Youhei SASAKI
uwabami-guest at moszumanska.debian.org
Sun Jun 26 09:13:22 UTC 2016
This is an automated email from the git hooks/post-receive script.
uwabami-guest pushed a commit to branch patch-queue/master
in repository tdiary-style-rd.
commit fddbf85478a98e8bd6a400ba472c183058f4b391
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date: Sat Feb 28 00:47:14 2015 +0900
Create Debian Package
Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 20 ++++++++++++++++++++
debian/copyright | 29 +++++++++++++++++++++++++++++
debian/docs | 2 ++
debian/patches/Add_LOADPATH | 8 ++++++++
debian/patches/series | 1 +
debian/ruby-tests.rake | 7 +++++++
debian/rules | 8 ++++++++
debian/source/format | 1 +
debian/tdiary-style-rd.dirs | 1 +
debian/tdiary-style-rd.install | 1 +
debian/tdiary-style-rd.links | 4 ++++
debian/watch | 3 +++
14 files changed, 91 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9894223
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+tdiary-style-rd (0.0.3-1) UNRELEASED; urgency=medium
+
+ * Initial release. (Closes: #XXXXXX)
+
+ -- Youhei SASAKI <uwabami at gfd-dennou.org> Sat, 28 Feb 2015 00:25:11 +0900
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b837643
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,20 @@
+Source: tdiary-style-rd
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Youhei SASAKI <uwabami at gfd-dennou.org>
+Build-Depends: debhelper (>= 9~), gem2deb, tdiary-core (>= 4.2.0~)
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-tdiary-style-rd.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-tdiary-style-rd.git;a=summary
+Homepage: https://github.com/tdiary/tdiary-style-rd
+XS-Ruby-Versions: all
+
+Package: tdiary-style-rd
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, tdiary-core, ruby-rd
+Description: RD Style for tDiary
+ RD style for tDiary 2.x format. based on Wiki style.
+ .
+ RD is Ruby's POD. RDtool is formatter for RD.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..49e0ac1
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: tdiary-style-rd
+Source: https://github.com/tdiary/tdiary-style-rd
+
+Files: *
+Copyright: 2003 UECHI Yasumasa <uechi at potaway.net>
+ 2013 hsbt <shibata.hiroshi at gmail.com>
+License: GPL-3.0+
+
+Files: debian/*
+Copyright: 2015 Youhei SASAKI <uwabami at gfd-dennou.org>
+License: GPL-3.0+
+
+License: GPL-3.0+
+ 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 3 of the License, or
+ (at your option) any later version.
+ .
+ This package 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 program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
\ No newline at end of file
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..977b5bf
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+README.md
+README.rd
diff --git a/debian/patches/Add_LOADPATH b/debian/patches/Add_LOADPATH
new file mode 100644
index 0000000..10be336
--- /dev/null
+++ b/debian/patches/Add_LOADPATH
@@ -0,0 +1,8 @@
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -1,4 +1,4 @@
+-$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
++$LOAD_PATH.unshift File.expand_path('/usr/share/tdiary/lib')
+ require 'tdiary/comment_manager'
+ require 'tdiary/referer_manager'
+ require 'tdiary/style'
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..333f42e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Add_LOADPATH
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..48132e5
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,7 @@
+require 'gem2deb/rake/spectask'
+
+Gem2Deb::Rake::RSpecTask.new do |spec|
+ spec.pattern = FileList['spec/**/*_spec.rb']
+end
+
+task :default => :spec
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..6e34202
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --buildsystem ruby --with ruby
+
+override_dh_auto_install:
+ dh_auto_install
+ rm -fr $(CURDIR)/debian/tdiary-style-rd/usr/lib
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tdiary-style-rd.dirs b/debian/tdiary-style-rd.dirs
new file mode 100644
index 0000000..90d85d3
--- /dev/null
+++ b/debian/tdiary-style-rd.dirs
@@ -0,0 +1 @@
+usr/share/tdiary/lib
diff --git a/debian/tdiary-style-rd.install b/debian/tdiary-style-rd.install
new file mode 100644
index 0000000..59e2eaa
--- /dev/null
+++ b/debian/tdiary-style-rd.install
@@ -0,0 +1 @@
+lib usr/share/tdiary/
diff --git a/debian/tdiary-style-rd.links b/debian/tdiary-style-rd.links
new file mode 100644
index 0000000..b4adc97
--- /dev/null
+++ b/debian/tdiary-style-rd.links
@@ -0,0 +1,4 @@
+usr/share/tdiary/lib/tdiary/style/rd/version.rb usr/lib/ruby/vendor_ruby/tdiary/style/rd/version.rb
+usr/share/tdiary/lib/tdiary/style/rd.rb usr/lib/ruby/vendor_ruby/tdiary/style/rd.rb
+usr/share/tdiary/lib/tdiary-style-rd.rb usr/lib/ruby/vendor_ruby/tdiary-style-rd.rb
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..77a9f2d
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/tdiary-style-rd-$1\.tar\.gz/ \
+ https://github.com/tdiary/tdiary-style-rd/tags .*/v?(\d\S*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/tdiary-style-rd.git
More information about the Pkg-ruby-extras-commits
mailing list