[SCM] Debian packaging of libsoftware-license-perl branch, master, updated. debian/0.103002-3-8-g9afc515

Dominique Dumont dod at debian.org
Sun Oct 23 12:10:27 UTC 2011


The following commit has been merged in the master branch:
commit 6dfc311729e382c8d3455d562d725d762dd3d996
Author: Dominique Dumont <dod at debian.org>
Date:   Sun Oct 23 12:58:14 2011 +0200

    added patches for LGPL classes

diff --git a/debian/patches/gpl-1-plus-class b/debian/patches/gpl-1-plus-class
index 5bc32e2..a36996f 100644
--- a/debian/patches/gpl-1-plus-class
+++ b/debian/patches/gpl-1-plus-class
@@ -74,4 +74,4 @@ Description: new class to represent GPL-1+ clauses
 +  'GPL-1+' => 'GPL_1_plus',
    'GPL-2'  => 'GPL_2',
    'GPL-3'  => 'GPL_3',
-   'Artistic' => 'Artistic_1_0',
+   'LGPL-2.1' => 'LGPL_2_1',
diff --git a/debian/patches/gpl-2-plus-class b/debian/patches/gpl-2-plus-class
index bb65154..53df6b0 100644
--- a/debian/patches/gpl-2-plus-class
+++ b/debian/patches/gpl-2-plus-class
@@ -53,5 +53,5 @@ Description: new class
    'GPL-2'  => 'GPL_2',
 +  'GPL-2+' => 'GPL_2_plus',
    'GPL-3'  => 'GPL_3',
-   'Artistic' => 'Artistic_1_0',
-   'Artistic-1' => 'Artistic_1_0',
+   'LGPL-2.1' => 'LGPL_2_1',
+   'LGPL-3'   => 'LGPL_3_0',
diff --git a/debian/patches/gpl-3-plus-class b/debian/patches/gpl-3-plus-class
index efee324..ddf5b06 100644
--- a/debian/patches/gpl-3-plus-class
+++ b/debian/patches/gpl-3-plus-class
@@ -51,6 +51,6 @@ Description: new class for gpl3 plus summary
    'GPL-2+' => 'GPL_2_plus',
    'GPL-3'  => 'GPL_3',
 +  'GPL-3+' => 'GPL_3_plus',
-   'Artistic' => 'Artistic_1_0',
-   'Artistic-1' => 'Artistic_1_0',
-   'Artistic-2' => 'Artistic_2_0',
+   'LGPL-2.1' => 'LGPL_2_1',
+   'LGPL-3'   => 'LGPL_3_0',
+   'LGPL-3.0' => 'LGPL_3_0',
diff --git a/debian/patches/lgpl-2-1-plus b/debian/patches/lgpl-2-1-plus
new file mode 100644
index 0000000..3b8d423
--- /dev/null
+++ b/debian/patches/lgpl-2-1-plus
@@ -0,0 +1,56 @@
+--- a/lib/Software/License.pm
++++ b/lib/Software/License.pm
+@@ -16,6 +16,7 @@
+   'GPL-1+' => 'GPL_1_plus',
+   'GPL-2'  => 'GPL_2',
+   'GPL-2+' => 'GPL_2_plus',
++  'LGPL-2.1+' => 'LGPL_2_1_plus',
+   'GPL-3'  => 'GPL_3',
+   'GPL-3+' => 'GPL_3_plus',
+   'LGPL-2.1' => 'LGPL_2_1',
+--- /dev/null
++++ b/lib/Software/License/LGPL_2_1_plus.pm
+@@ -0,0 +1,43 @@
++use strict;
++use warnings;
++package Software::License::LGPL_2_1_plus;
++
++use base 'Software::License::LGPL_2_1';
++
++sub name { 'The GNU Lesser General Public License, Version 2.1 or later' }
++
++1;
++
++=pod
++
++=head1 NAME
++
++Software::License::LGPL_2_1_plus - GNU Lesser General Public License, Version 2.1 or later
++
++=head1 VERSION
++
++version 0.103002
++
++=head1 AUTHOR
++
++Dominique Dumont <ddumont at cpan.org>
++
++=head1 COPYRIGHT AND LICENSE
++
++This software is copyright (c) 2011 by Dominique Dumont
++
++This is free software; you can redistribute it and/or modify it under
++the same terms as the Perl 5 programming language system itself.
++
++=cut
++
++
++__DATA__
++__DEBIAN-SUMMARY__
++This program is free software; you can redistribute it and/or modify
++it under the terms of the GNU Lesser General Public License as published by
++the Free Software Foundation; either version 2.1 of the License, or (at
++your option) any later version.
++
++On Debian systems, the complete text of version 2.1 of the GNU Lesser
++Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
diff --git a/debian/patches/lgpl-2-1-summary b/debian/patches/lgpl-2-1-summary
new file mode 100644
index 0000000..3fd4a71
--- /dev/null
+++ b/debian/patches/lgpl-2-1-summary
@@ -0,0 +1,16 @@
+--- a/lib/Software/License/LGPL_2_1.pm
++++ b/lib/Software/License/LGPL_2_1.pm
+@@ -40,6 +40,13 @@
+ 
+ 
+ __DATA__
++__DEBIAN-SUMMARY__
++This program is free software; you can redistribute it and/or modify it
++under the terms of the GNU Lesser General Public License as published by the
++Free Software Foundation; version 2.1 of the License.
++.
++On Debian systems, the complete text of version 2.1 of the GNU Lesser
++Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
+ __LICENSE__
+ The GNU Lesser General Public License (LGPL)
+ Version 2.1, February 1999
diff --git a/debian/patches/lgpl-3-summary b/debian/patches/lgpl-3-summary
new file mode 100644
index 0000000..099adbb
--- /dev/null
+++ b/debian/patches/lgpl-3-summary
@@ -0,0 +1,16 @@
+--- a/lib/Software/License/LGPL_3_0.pm
++++ b/lib/Software/License/LGPL_3_0.pm
+@@ -55,6 +55,13 @@
+ 
+ 
+ __DATA__
++__DEBIAN-SUMMARY__
++This program is free software; you can redistribute it and/or modify it
++under the terms of the GNU Lesser General Public License as published by the
++Free Software Foundation; version 3 of the License.
++.
++On Debian systems, the complete text of version 3 of the GNU Lesser
++Public License can be found in `/usr/share/common-licenses/LGPL-3'.
+ __LICENSE__
+ 		   GNU LESSER GENERAL PUBLIC LICENSE
+                        Version 3, 29 June 2007
diff --git a/debian/patches/series b/debian/patches/series
index 2d317c2..7ea2f34 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,5 +9,8 @@ gpl-2-plus-class
 gpl-2-summary
 gpl-3-plus-class
 gpl-3-summary
+lgpl-2-1-plus
+lgpl-2-1-summary
+lgpl-3-summary
 summary_test
 
diff --git a/debian/patches/summary_method b/debian/patches/summary_method
index 6d6cebd..a067819 100644
--- a/debian/patches/summary_method
+++ b/debian/patches/summary_method
@@ -1,7 +1,19 @@
 Description: new method
 --- a/lib/Software/License.pm
 +++ b/lib/Software/License.pm
-@@ -60,6 +60,11 @@
+@@ -15,7 +15,10 @@
+   'GPL-1'  => 'GPL_1',
+   'GPL-2'  => 'GPL_2',
+   'GPL-3'  => 'GPL_3',
+-  'Artistic' => 'Artistic_1_0',
++  'LGPL-2.1' => 'LGPL_2_1',
++  'LGPL-3'   => 'LGPL_3_0',
++  'LGPL-3.0' => 'LGPL_3_0',
++  'Artistic'   => 'Artistic_1_0',
+   'Artistic-1' => 'Artistic_1_0',
+   'Artistic-2' => 'Artistic_2_0',
+ );
+@@ -60,6 +63,11 @@
  
  sub notice { shift->_fill_in('NOTICE') }
  
@@ -13,7 +25,7 @@ Description: new method
  
  sub license { shift->_fill_in('LICENSE') }
  
-@@ -207,6 +212,13 @@
+@@ -207,6 +215,13 @@
  C<meta_name> returns open_source, restricted, unrestricted, or unknown, that
  value will be used.
  

-- 
Debian packaging of libsoftware-license-perl



More information about the Pkg-perl-cvs-commits mailing list