[DRE-commits] [SCM] ruby-magic.git branch, master, updated. upstream/0.2.6-4-gd044701

Dmitry Borodaenko angdraug at debian.org
Sat Sep 17 13:48:14 UTC 2011


The following commit has been merged in the master branch:
commit 7f2efe6a5b59219a41bb2158bf753d05d0bbad5b
Author: Dmitry Borodaenko <angdraug at debian.org>
Date:   Sat Sep 17 16:17:59 2011 +0300

    first Debian build based on gem2deb and the RFP

diff --git a/debian/changelog b/debian/changelog
index a7a5566..830f139 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-ruby-magic (0.2.6-1) UNRELEASED; urgency=low
+ruby-magic (0.2.6-1) unstable; urgency=low
 
-  * Initial release (Closes: #nnnn)
+  * Initial release (Closes: #629136)
 
  -- Dmitry Borodaenko <angdraug at debian.org>  Sat, 17 Sep 2011 15:36:57 +0300
diff --git a/debian/control b/debian/control
index 021efce..c6610f5 100644
--- a/debian/control
+++ b/debian/control
@@ -4,17 +4,19 @@ Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Dmitry Borodaenko <angdraug at debian.org>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.8~)
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.8~), ruby-ffi, libmagic1
 Standards-Version: 3.9.2
-#Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-magic.git
-#Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-magic.git;a=summary
+Vcs-Git: git://github.com/qoobaa/magic.git
+Vcs-Browser: https://github.com/qoobaa/magic
 Homepage: http://jah.pl/projects/magic.html
 XS-Ruby-Versions: all
 
 Package: ruby-magic
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
-# ffi (>= 0.6.3), test-unit (>= 2.0, development)
-Description: Determine file type and encoding using "magic" numbers
- Ruby FFI bindings to libmagic
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-ffi, libmagic1
+Description: Ruby FFI bindings to libmagic
+ This package provides a Ruby FFI wrapper to the "magic" library that
+ determines content type and encoding of files and strings. The library does
+ three types of tests: file system tests, magic number tests, and language
+ tests. The first test that succeeds causes the file type to be returned.
diff --git a/debian/copyright b/debian/copyright
index 271d626..8cafc2d 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,33 +1,36 @@
 Format: http://dep.debian.net/deps/dep5
 Upstream-Name: magic
-Source: FIXME <http://example.com/>
+Source: https://github.com/qoobaa/magic
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-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.
+Copyright: Copyright (c) 2010 Jakub Kuźma
+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.
 
 Files: debian/*
-Copyright: 2011 Dmitry Borodaenko <angdraug at debian.org>
-License:
- [LICENSE TEXT]
+Copyright: 2011, Dmitry Borodaenko <angdraug at debian.org>
+License: GPL-2+
+ The files hereby included are 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.
+ .
+ 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'.
diff --git a/debian/ruby-magic.docs b/debian/ruby-magic.docs
index 0d5eab8..6d29741 100644
--- a/debian/ruby-magic.docs
+++ b/debian/ruby-magic.docs
@@ -1,2 +1,2 @@
-# FIXME: READMEs found
-# README.rdoc
+README.rdoc
+rdoc
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..a1554bf
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1,2 @@
+$: << 'test'
+Dir['test/**/test_*.rb'].each { |f| require f }
diff --git a/debian/rules b/debian/rules
index a5e7dc8..b459aef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,11 @@
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_installdocs:
+	rdoc --inline-source --op rdoc --main Magic lib
+	dh_installdocs
+
+override_dh_clean:
+	rm -rf rdoc
+	dh_clean
diff --git a/debian/watch b/debian/watch
index a50803a..771d896 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
 version=3
-http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/magic .*/magic-(.*).tar.gz
+http://rubygems.org/gems/magic .*/magic-(.*).gem

-- 
ruby-magic.git



More information about the Pkg-ruby-extras-commits mailing list