summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBalasankar C <balasankarc@autistici.org>2015-03-28 09:36:26 +0530
committergit-ubuntu importer <ubuntu-devel-discuss@lists.ubuntu.com>2015-03-28 10:10:15 +0000
commit84de70391c424c298172fe78f767e9a5e7b79733 (patch)
tree2a5c8aa2881cc27d29aef144d7807d12a5f25c44
parentfc8ca78e512576e39e1fcab3d3043bd3ac500c75 (diff)
1.0.3-2 (patches unapplied)import/1.0.3-2debian/experimental
Imported using git-ubuntu import.
Notes
Notes: * Generate gemspec file from Rakefile (Closes: #768946) * Bump standards version to 3.9.6 (no changes) * Fix license shortform
-rw-r--r--debian/changelog8
-rw-r--r--debian/clean1
-rw-r--r--debian/control2
-rw-r--r--debian/copyright6
-rw-r--r--debian/patches/gemspec16
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules3
7 files changed, 33 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index 5a1bfb1..80f14b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ruby-cssmin (1.0.3-2) experimental; urgency=medium
+
+ * Generate gemspec file from Rakefile (Closes: #768946)
+ * Bump standards version to 3.9.6 (no changes)
+ * Fix license shortform
+
+ -- Balasankar C <balasankarc@autistici.org> Sat, 28 Mar 2015 09:36:26 +0530
+
ruby-cssmin (1.0.3-1) unstable; urgency=medium
* Initial release (Closes: #758298)
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..0d12b45
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+cssmin.gemspec
diff --git a/debian/control b/debian/control
index 54b0421..35a4dca 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Uploaders: Balasankar C <balasankarc@autistici.org>
Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.7.5~)
-Standards-Version: 3.9.5
+Standards-Version: 3.9.6
Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-cssmin.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-cssmin.git;a=summary
Homepage: https://github.com/rgrove/cssmin/
diff --git a/debian/copyright b/debian/copyright
index f8f60c4..2964059 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -4,14 +4,14 @@ Source: https://github.com/rgrove/cssmin
Files: *
Copyright: 2008 Ryan Grove<ryan@wonko.com>
-License: BSD
+License: BSD-3-clause
Files: debian/*
Copyright: 2014 Balasankar C <balasankarc@autistici.org>
-License: BSD
+License: BSD-3-clause
Comment: the Debian packaging is licensed under the same terms as the original package.
-License: BSD
+License: BSD-3-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
diff --git a/debian/patches/gemspec b/debian/patches/gemspec
new file mode 100644
index 0000000..1b5dfaf
--- /dev/null
+++ b/debian/patches/gemspec
@@ -0,0 +1,16 @@
+Description: Add gemspec file
+ Generate gemspec file from Rakefile and add it to the bundle so as to provide
+ rubygems integration.
+
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/Rakefile.rb
++++ b/Rakefile.rb
+@@ -65,3 +65,7 @@
+ t.test_files = FileList['test/*_test.rb']
+ t.verbose = true
+ end
++
++file "cssmin.gemspec" do
++ File.write("cssmin.gemspec", gemspec.to_ruby)
++end
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e0a7662
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+gemspec
diff --git a/debian/rules b/debian/rules
index fc37b8f..a43ba53 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,3 +15,6 @@
dh $@ --buildsystem=ruby --with ruby
override_dh_installchangelogs:
dh_installchangelogs HISTORY.md
+override_dh_auto_install:
+ rake cssmin.gemspec
+ dh_auto_install