Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

more releng

  • Loading branch information...
commit 269a8e55c5c8064132e6453f1121eda0023c7659 1 parent e60a570
@obra obra authored
View
6 META.yml
@@ -1,5 +1,5 @@
---
-abstract: ~
+abstract: 'A phone friendly web interface for RT'
author:
- 'Jesse Vincent <jesse@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
View
6 Makefile.PL
@@ -1,9 +1,7 @@
use inc::Module::Install;
RTx('RT-Extension-MobileUI');
-author ('Jesse Vincent <jesse@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;
View
25 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@bestpractical.com>
+
+LICENSE
+ GPL version 2.
+
View
36 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
+
View
38 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@bestpractical.comE<gt>
+
+=head1 LICENSE
+
+GPL version 2.
+
+=cut
+
1;
Please sign in to comment.
Something went wrong with that request. Please try again.