ipaddress: finalize packaging
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 29 Nov 2016 12:18:46 +0000 (13:18 +0100)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 29 Nov 2016 12:48:09 +0000 (13:48 +0100)
ipaddress/debian/changelog
ipaddress/debian/control
ipaddress/debian/copyright
ipaddress/debian/ruby-ipaddress.docs
ipaddress/debian/ruby-test-files.yaml [deleted file]
ipaddress/debian/ruby-tests.rb [new file with mode: 0644]

index 9dea00a..e641ac5 100644 (file)
@@ -1,5 +1,5 @@
-ruby-ipaddress (0.8.3-1) UNRELEASED; urgency=medium
+ruby-ipaddress (0.8.3-1) trusty; urgency=low
 
-  * Initial release (Closes: #nnnn)
+  * Initial release
 
  -- František Dvořák <valtri@civ.zcu.cz>  Tue, 29 Nov 2016 13:00:07 +0100
index e45413f..ec4be50 100644 (file)
@@ -3,10 +3,11 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
 Uploaders: František Dvořák <valtri@civ.zcu.cz>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.6.1~)
-Standards-Version: 3.9.4
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.6.1~), ruby-minitest
+Standards-Version: 3.9.5
 #Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-ipaddress.git
 #Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-ipaddress.git;a=summary
+Vcs-Browser: http://scientific.zcu.cz/git/?p=packaging-rpm-NOW.git;a=summary
 Homepage: https://github.com/bluemonk/ipaddress
 XS-Ruby-Versions: all
 
index f129585..ebec657 100644 (file)
@@ -1,35 +1,33 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: ipaddress
-Source: FIXME <http://example.com/>
+Source: https://github.com/ipaddress-gem/ipaddress
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2009-2015 Marco Ceresa
+           2009-2015 Marco Ceresa and Mike Mackintos
+License: MIT
 
 Files: debian/*
-Copyright: 2016 František Dvořák <valtri@civ.zcu.cz>
-License: GPL-2+ (FIXME)
+Copyright: 2016 CESNET - INDIGO-DataCloud
+License: MIT
 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: MIT
+ 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.
index 0d5eab8..e475c53 100644 (file)
@@ -1,2 +1 @@
-# FIXME: READMEs found
-# README.rdoc
+README.rdoc
diff --git a/ipaddress/debian/ruby-test-files.yaml b/ipaddress/debian/ruby-test-files.yaml
deleted file mode 100644 (file)
index b7c452f..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
----
-- test/ipaddress/ipv4_test.rb
-- test/ipaddress/ipv6_test.rb
-- test/ipaddress/mongoid_test.rb
-- test/ipaddress/prefix_test.rb
-- test/ipaddress_test.rb
-- test/test_helper.rb
diff --git a/ipaddress/debian/ruby-tests.rb b/ipaddress/debian/ruby-tests.rb
new file mode 100644 (file)
index 0000000..4d1ef62
--- /dev/null
@@ -0,0 +1,2 @@
+$: << 'test'  << '.'
+Dir['{spec,test}/**/*.rb'].each { |f| require f }