[DRE-commits] [SCM] ruby-uglifier.git branch, master, updated. 7e00562d163e6fdfb9cc6b7f309f6c5aaa4e0e90

Antonio Terceiro terceiro at softwarelivre.org
Thu Jun 28 12:18:52 UTC 2012


The following commit has been merged in the master branch:
commit 746c81d287cf9717fbe3b001f93b1de1ee7ad42a
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date:   Thu Jun 28 09:01:35 2012 -0300

    Prepare packaging

diff --git a/debian/changelog b/debian/changelog
index 79b8320..62b595b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-ruby-uglifier (1.2.5-1) UNRELEASED; urgency=low
+ruby-uglifier (1.2.5-1) unstable; urgency=low
 
-  * Initial release (Closes: #nnnn)
+  * Initial release.
 
  -- Antonio Terceiro <terceiro at debian.org>  Wed, 27 Jun 2012 21:45:08 -0300
diff --git a/debian/control b/debian/control
index ecda15a..f4fc2b0 100644
--- a/debian/control
+++ b/debian/control
@@ -4,17 +4,17 @@ Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Antonio Terceiro <terceiro at debian.org>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~)
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-execjs, ruby-multi-json, ruby-rspec, rake
 Standards-Version: 3.9.3
-#Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-uglifier.git
-#Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-uglifier.git;a=summary
+Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-uglifier.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-uglifier.git;a=summary
 Homepage: http://github.com/lautis/uglifier
 XS-Ruby-Versions: all
 
 Package: ruby-uglifier
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
-# execjs (>= 0.3.0), multi_json (~> 1.3), rspec (~> 2.7, development), bundler (~> 1.0, development), jeweler (~> 1.8.3, development), rdoc (~> 3.11, development)
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-execjs, ruby-multi-json
 Description: Ruby wrapper for UglifyJS JavaScript compressor
- <insert long description, indented with spaces>
+ The package wraps the UglifyJS JavaScript compressor, which is used by other
+ packages (i.e. the Rails 3 asset pipeline) to compress Javascript files.
diff --git a/debian/copyright b/debian/copyright
index 8498bcf..a686a48 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,37 +1,61 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: uglifier
-Source: FIXME <http://example.com/>
+Source: https://github.com/lautis/uglifier
 
 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.
- .
- 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.
+Copyright: Ville Lautanala, Flowdock (https://flowdock.com/)
+License: MIT
+
+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:
  .
- 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
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
  .
- 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'.
-
-File: lib/es5.js
+ 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.
 
 File: lib/uglify.js
+Copyright: 2012 Robert Gust-Bardon <http://robert.gust-bardon.org/>.
+License:
+ All rights reserved.
+ . 
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+     * Redistributions of source code must retain the above
+       copyright notice, this list of conditions and the following
+       disclaimer.
+ .
+     * Redistributions in binary form must reproduce the above
+       copyright notice, this list of conditions and the following
+       disclaimer in the documentation and/or other materials
+       provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER "AS IS" AND ANY
+ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
+ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
+ TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
+ THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
 
 Files: debian/*
 Copyright: 2012 Antonio Terceiro <terceiro at debian.org>
-License:
- [LICENSE TEXT]
+License: MIT
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..9f92d2f
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,7 @@
+require 'rspec/core'
+require 'rspec/core/rake_task'
+RSpec::Core::RakeTask.new(:spec) do |spec|
+  spec.pattern = FileList['spec/**/*_spec.rb']
+end
+
+task :default => :spec
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index eac5ce6..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# FIXME
-# there's a spec/ or a test/ directory in the upstream source, but
-# no test suite was defined in the Gem specification. It would be
-# a good idea to define it here so the package gets tested at build time.
-# Examples:
-# $: << 'lib' << '.'
-# Dir['{spec,test}/**/*.rb'].each { |f| require f }
-#
-# require 'test/ts_foo.rb'
-#
-# require 'rbconfig'
-# ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
-# exec("#{ruby} -I. test/runtests.rb")
diff --git a/debian/ruby-uglifier.docs b/debian/ruby-uglifier.docs
index 07b3c9e..b43bf86 100644
--- a/debian/ruby-uglifier.docs
+++ b/debian/ruby-uglifier.docs
@@ -1,2 +1 @@
-# FIXME: READMEs found
-# README.md
+README.md

-- 
ruby-uglifier.git



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