[Bps-public-commit] rt-extension-mobileui branch, master, updated. 269a8e55c5c8064132e6453f1121eda0023c7659

Jesse Vincent jesse at bestpractical.com
Thu Aug 5 15:15:18 EDT 2010


The branch, master has been updated
       via  269a8e55c5c8064132e6453f1121eda0023c7659 (commit)
      from  e60a57054790427807a0fe478f43d23f0be90de2 (commit)

Summary of changes:
 META.yml                            |    6 +++-
 Makefile.PL                         |    6 +---
 README                              |   25 +++++++++++++++++++++++
 inc/Module/Install/ReadmeFromPod.pm |   36 +++++++++++++++++++++++++++++++++
 lib/RT/Extension/MobileUI.pm        |   38 +++++++++++++++++++++++++++++++++++
 5 files changed, 105 insertions(+), 6 deletions(-)
 create mode 100644 README
 create mode 100644 inc/Module/Install/ReadmeFromPod.pm

- Log -----------------------------------------------------------------
commit 269a8e55c5c8064132e6453f1121eda0023c7659
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Thu Aug 5 12:17:18 2010 -0700

    more releng

diff --git a/META.yml b/META.yml
index 7f9db2f..dacffa0 100644
--- a/META.yml
+++ b/META.yml
@@ -1,5 +1,5 @@
 ---
-abstract: ~
+abstract: 'A phone friendly web interface for RT'
 author:
   - 'Jesse Vincent <jesse at bestpractical.com>'
 build_requires:
@@ -8,7 +8,7 @@ configure_requires:
   ExtUtils::MakeMaker: 6.42
 distribution_type: module
 generated_by: 'Module::Install version 0.97'
-license: gplv2
+license: gpl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
   version: 1.4
@@ -17,4 +17,6 @@ no_index:
   directory:
     - html
     - inc
+resources:
+  license: http://opensource.org/licenses/gpl-license.php
 version: 0.9
diff --git a/Makefile.PL b/Makefile.PL
index ddd23f8..f62d098 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,9 +1,7 @@
 use inc::Module::Install;
 
 RTx('RT-Extension-MobileUI');
-author ('Jesse Vincent <jesse at bestpractical.com>');
-version_from ('lib/RT/Extension/MobileUI.pm');
-abstract_from('lib/RT/Extension/MobileUI.pm');
-license('GPLv2');
+all_from('lib/RT/Extension/MobileUI.pm');
+readme_from('lib/RT/Extension/MobileUI.pm');
 
 &WriteAll;
diff --git a/README b/README
new file mode 100644
index 0000000..584af1c
--- /dev/null
+++ b/README
@@ -0,0 +1,25 @@
+NAME
+    RT::Extension::MobileUI - A phone friendly web interface for RT
+
+DESCRIPTION
+    This RT extension adds a mobile interface for RT.
+
+INSTALLATION
+        # perl Makefile.PL
+        # make
+        # make install
+
+        Add RT::Extension::MobileUI to your /opt/rt3/etc/RT_SiteConfig.pm file
+        Set(@Plugins, qw(RT::Extension::MobileUI));
+
+        If you have more than one Plugin enabled, you must enable them as one 
+        Set(@Plugins, qw(Foo Bar)); command
+
+        # restart apache
+
+AUTHOR
+    Jesse Vincent <jesse at bestpractical.com>
+
+LICENSE
+    GPL version 2.
+
diff --git a/inc/Module/Install/ReadmeFromPod.pm b/inc/Module/Install/ReadmeFromPod.pm
new file mode 100644
index 0000000..d5d89f4
--- /dev/null
+++ b/inc/Module/Install/ReadmeFromPod.pm
@@ -0,0 +1,36 @@
+#line 1
+package Module::Install::ReadmeFromPod;
+
+use strict;
+use warnings;
+use base qw(Module::Install::Base);
+use vars qw($VERSION);
+
+$VERSION = '0.08';
+
+sub readme_from {
+  my $self = shift;
+  return unless $Module::Install::AUTHOR;
+  my $file = shift || return;
+  my $clean = shift;
+  require Pod::Text;
+  my $parser = Pod::Text->new();
+  open README, '> README' or die "$!\n";
+  $parser->output_fh( *README );
+  $parser->parse_file( $file );
+  return 1 unless $clean;
+  $self->postamble(<<"END");
+distclean :: license_clean
+
+license_clean:
+\t\$(RM_F) README
+END
+  return 1;
+}
+
+'Readme!';
+
+__END__
+
+#line 89
+
diff --git a/lib/RT/Extension/MobileUI.pm b/lib/RT/Extension/MobileUI.pm
index 7885083..fed6603 100644
--- a/lib/RT/Extension/MobileUI.pm
+++ b/lib/RT/Extension/MobileUI.pm
@@ -5,6 +5,33 @@ package RT::Extension::MobileUI;
 
 our $VERSION = 0.9;
 
+
+=head1 NAME
+
+RT::Extension::MobileUI - A phone friendly web interface for RT
+
+=head1 DESCRIPTION
+
+This RT extension adds a mobile interface for RT.
+
+=head1 INSTALLATION
+
+    # perl Makefile.PL
+    # make
+    # make install
+
+    Add RT::Extension::MobileUI to your /opt/rt3/etc/RT_SiteConfig.pm file
+    Set(@Plugins, qw(RT::Extension::MobileUI));
+
+    If you have more than one Plugin enabled, you must enable them as one 
+    Set(@Plugins, qw(Foo Bar)); command
+
+    # restart apache
+=cut
+
+
+
+
 sub MobileClient {
     my $self = shift;
 
@@ -16,4 +43,15 @@ if (($ENV{'HTTP_USER_AGENT'} || '') =~ /(?:hiptop|Blazer|Novarra|Vagabond|SonyEr
 }
 
 }
+
+=head1 AUTHOR
+
+Jesse Vincent E<lt>jesse at bestpractical.comE<gt>
+
+=head1 LICENSE
+
+GPL version 2.
+
+=cut
+
 1;

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list