r44911 - in /trunk/libconfig-model-approx-perl: Build.PL ChangeLog MANIFEST MANIFEST.SKIP META.yml README lib/Config/Model/Approx.pm

ddumont-guest at users.alioth.debian.org ddumont-guest at users.alioth.debian.org
Sun Sep 27 14:21:14 UTC 2009


Author: ddumont-guest
Date: Sun Sep 27 14:21:08 2009
New Revision: 44911

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=44911
Log:
- new upstream version to fix license discrepancies

Removed:
    trunk/libconfig-model-approx-perl/MANIFEST.SKIP
Modified:
    trunk/libconfig-model-approx-perl/Build.PL
    trunk/libconfig-model-approx-perl/ChangeLog
    trunk/libconfig-model-approx-perl/MANIFEST
    trunk/libconfig-model-approx-perl/META.yml
    trunk/libconfig-model-approx-perl/README
    trunk/libconfig-model-approx-perl/lib/Config/Model/Approx.pm

Modified: trunk/libconfig-model-approx-perl/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-model-approx-perl/Build.PL?rev=44911&op=diff
==============================================================================
--- trunk/libconfig-model-approx-perl/Build.PL (original)
+++ trunk/libconfig-model-approx-perl/Build.PL Sun Sep 27 14:21:08 2009
@@ -1,6 +1,6 @@
 # $Author: ddumont $
-# $Date: 2009-09-24 12:00:47 +0200 (jeu 24 sep 2009) $
-# $Revision: 1031 $
+# $Date: 2009-09-27 16:02:38 +0200 (dim 27 sep 2009) $
+# $Revision: 1036 $
 
 #    Copyright (c) 2009 Dominique Dumont.
 #
@@ -40,6 +40,7 @@
 		     'Config::Model'   => '0.637',
 		     'Log::Log4perl'   => 0 ,
 		    },
+   build_requires => { 'Test::Pod' => 0 },
    recommends    => {
                      'Config::Model::CursesUI' => 0, # Curses interface
                      'Config::Model::TkUI'     => 0, # graphical interface

Modified: trunk/libconfig-model-approx-perl/ChangeLog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-model-approx-perl/ChangeLog?rev=44911&op=diff
==============================================================================
--- trunk/libconfig-model-approx-perl/ChangeLog (original)
+++ trunk/libconfig-model-approx-perl/ChangeLog Sun Sep 27 14:21:08 2009
@@ -1,3 +1,9 @@
+2009-09-27  Dominique Dumont  <domi.dumont at free.fr> 1.002
+
+	* README : updated license
+
+	* lib/Config/Model/Approx.pm : added missing doc
+
 2009-09-24  Dominique Dumont  <domi.dumont at free.fr> 1.001
 
 	* Initial release 

Modified: trunk/libconfig-model-approx-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-model-approx-perl/MANIFEST?rev=44911&op=diff
==============================================================================
--- trunk/libconfig-model-approx-perl/MANIFEST (original)
+++ trunk/libconfig-model-approx-perl/MANIFEST Sun Sep 27 14:21:08 2009
@@ -7,3 +7,4 @@
 lib/Config/Model/Approx.pm
 lib/Config/Model/models/Approx.pl
 t/approx_config.t
+t/pod.t

Modified: trunk/libconfig-model-approx-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-model-approx-perl/META.yml?rev=44911&op=diff
==============================================================================
--- trunk/libconfig-model-approx-perl/META.yml (original)
+++ trunk/libconfig-model-approx-perl/META.yml Sun Sep 27 14:21:08 2009
@@ -1,12 +1,14 @@
 ---
 name: Config-Model-Approx
-version: 1.001
+version: 1.002
 author:
   - Dominique Dumont (ddumont at cpan dot org)
 abstract: Approx configuration files editor
 license: lgpl
 resources:
   license: http://opensource.org/licenses/lgpl-license.php
+build_requires:
+  Test::Pod: 0
 requires:
   Config::Model: 0.637
   Log::Log4perl: 0
@@ -19,7 +21,7 @@
 provides:
   Config::Model::Approx:
     file: lib/Config/Model/Approx.pm
-    version: 1.001
+    version: 1.002
 generated_by: Module::Build version 0.35
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html

Modified: trunk/libconfig-model-approx-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-model-approx-perl/README?rev=44911&op=diff
==============================================================================
--- trunk/libconfig-model-approx-perl/README (original)
+++ trunk/libconfig-model-approx-perl/README Sun Sep 27 14:21:08 2009
@@ -34,8 +34,8 @@
 AUTHOR
     Copyright (c) 2009 Dominique Dumont.
 
-    This file is part of Config-Model-Approx. License is LGPL v2.
-
+    This file is part of Config-Model-Approx. License is LGPL v2.1 or
+    any later version.
 
     All help text provided in Approx models were extracted from
     approx.conf(5) man page. I've slightly modified the text to better

Modified: trunk/libconfig-model-approx-perl/lib/Config/Model/Approx.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-model-approx-perl/lib/Config/Model/Approx.pm?rev=44911&op=diff
==============================================================================
--- trunk/libconfig-model-approx-perl/lib/Config/Model/Approx.pm (original)
+++ trunk/libconfig-model-approx-perl/lib/Config/Model/Approx.pm Sun Sep 27 14:21:08 2009
@@ -1,6 +1,6 @@
 # $Author: ddumont $
-# $Date: 2009-09-24 12:00:47 +0200 (jeu 24 sep 2009) $
-# $Revision: 1031 $
+# $Date: 2009-09-27 16:02:38 +0200 (dim 27 sep 2009) $
+# $Revision: 1036 $
 
 #    Copyright (c) 2009 Dominique Dumont.
 #
@@ -32,7 +32,7 @@
 
 use vars qw($VERSION)  ;
 
-$VERSION = '1.001' ;
+$VERSION = '1.002' ;
 
 my $logger = Log::Log4perl::get_logger(__PACKAGE__);
 
@@ -94,3 +94,78 @@
 }
 
 1;
+
+=head1 NAME
+
+Config::Model::Approx - Approx configuration file editor
+
+=head1 SYNOPSIS
+
+ use Config::Model ;
+ my $model = Config::Model -> new ( ) ;
+
+ my $inst = $model->instance (root_class_name   => 'Approx');
+ my $root = $inst -> config_root ;
+
+ $root->load("distribution:multimedia=http://www.debian-multimedia.org") ;
+
+ $inst->write_back() ;
+
+=head1 DESCRIPTION
+
+This module provides a configuration model for Approx. Then
+Config::Model provides a graphical editor program for
+F</etc/approx/approx.conf>. See L<config-edit-approx> more help.
+
+This module and Config::Model can also be used from Perl programs to
+modify safely the content of F</etc/approx/approx.conf>.
+
+Once this module is installed, you can run:
+
+ # config-edit-approx
+
+The Perl API is documented in L<Config::Model> and mostly in
+L<Config::Model::Node>.
+
+=head1 Functions
+
+These functions are declared in Approx configuration models and are
+called back.
+
+=head2 read (object => approx_root>, io_handle => ...)
+
+Read F<approx.conf> and load the data in the C<approx_root>
+configuration tree.
+
+=head2 write (object => approx_root>, io_handle => ...)
+
+Write data from the C<approx_root> configuration tree into
+F<approx.conf>.
+
+=head1 AUTHOR
+
+Dominique Dumont, (ddumont at cpan dot org)
+
+=head1 LICENSE
+
+   Copyright (c) 2009 Dominique Dumont.
+
+   This file is part of Config-Model-Approx.
+
+   Config-Model-Approx is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser Public License as
+   published by the Free Software Foundation; either version 2.1 of
+   the License, or (at your option) any later version.
+
+   Config-Xorg 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
+   Lesser Public License for more details.
+
+   You should have received a copy of the GNU Lesser Public License
+   along with Config-Model; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+
+=head1 SEE ALSO
+
+L<config-edit-approx>, L<Config::Model>,




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