use inc::Module::Install;
name 'MojoMojo';
resources bugtracker => 'http://github.com/mojomojo/mojomojo/issues';
resources homepage => 'http://mojomojo.org';
resources repository => 'http://github.com/mojomojo/mojomojo/';
resources MailingList => 'http://n2.nabble.com/mojomojo-f2358427.html';
all_from 'lib/MojoMojo.pm';
requires(
'Plack' => 0.9974,
'Algorithm::Diff' => '1.1901',
'Algorithm::Merge' => 0,
'Archive::Zip' => '1.14',
'Cache::FastMmap' => 1.31, # deleted /tmp/sharefile-* when MM is killed
'Catalyst' => '5.90015',
'Catalyst::Action::RenderView' => '0.07',
'Catalyst::Authentication::Store::DBIx::Class' => '0.101',
'Catalyst::Controller::HTML::FormFu' => '0.03007',
'Catalyst::Model::DBIC::Schema' => '0.01',
'Catalyst::Plugin::Authentication' => '0.10005',
'Catalyst::Plugin::Cache' => 0.08,
'Catalyst::Plugin::ConfigLoader' => '0.13',
'Catalyst::Plugin::I18N' => 0,
'Catalyst::Plugin::SubRequest' => '0.19',
'Catalyst::Plugin::Session::State::Cookie' => 0.11,
'Catalyst::Plugin::Session::Store::Cache' => '0',
'Catalyst::Plugin::Setenv' => 0,
'Catalyst::Plugin::Static::Simple' => '0.07',
'Catalyst::View::TT' => '0.23',
'Catalyst::View::JSON' => '0.26',
'Catalyst::View::Email' => '0.14',
'Catalyst::View::Email::Template' => 0,
'Config::General' => 0,
'Config::JFDI' => 0,
'Crypt::CBC' => '2.12', # FormFu
'Data::Page' => '2.00',
'DateTime' => '0.28',
'DateTime::Format::Mail' => 0,
'DBD::SQLite' => '1.27',
'DBIx::Class' => '0.08',
'DBIx::Class::DateTime::Epoch' => '0.04',
'DBIx::Class::EncodedColumn' => 0,
'DBIx::Class::TimeStamp' => '0.11',
'Directory::Scratch' => '0.14',
'Encode' => '2.31',
'File::Copy::Recursive' => 0,
'File::MMagic' => '1.27',
'HTML::Entities' => '3.60', # Pod::Simple
'HTML::FormFu' => '0.02000', # min version with string renderer
'HTML::FormFu::Model::DBIC' => 0,
'HTML::Strip' => '1.04',
'HTML::TagCloud' => 0,
'HTML::Toc' => 0,
'Image::ExifTool' => 0,
'Imager' => 0,
'Image::Math::Constrain' => 0,
'IO::Scalar' => 0,
'IO::File' => '1.14',
'KinoSearch1' => '1.00',
'Module::Pluggable::Ordered' => '1.4',
'Moose' => 0,
'MRO::Compat' => '0.10',
'Number::Format' => 0,
'parent' => 0,
'Template' => '2.20',
'Template::Plugin::JavaScript' => 0,
'Text::Context' => '3.5',
'Text::MultiMarkdown' => '1.000032',
'Text::Password::Pronounceable' => 0,
'Text::Textile' => 0,
'URI' => '1.37',
'URI::Find' => 0,
'YAML' => '0.36',
'Term::Prompt' => 0,
'Text::Emoticon::MSN' => 0,
'File::Slurp' => 0,
);
feature 'Create new database', 'SQL::Translator' => '0.09006';
feature 'FastCGI support', 'FCGI::ProcManager' => 0;
feature 'reCAPTCHA for anonymous edits', 'HTML::FormFu::Element::reCAPTCHA' => 0;
feature 'Syntax highlighter', 'Syntax::Highlight::Engine::Kate' => 0;
feature 'RSS formatter', 'XML::Feed' => 0;
# XML::LibXSLT depends on the following libraries: libxslt-dev, libgcrypt11-dev (for `lgcrypt`), libgdbm3-dev (for `lgdbm`) and possibly libxml2-dev
feature 'DocBook formatter',
'XML::LibXSLT' => '1.66',
'XML::LibXML' => '1.66';
feature 'POD formatter', 'Pod::Simple::HTML' => '3.01';
feature 'Transclusion support',
'LWP::Simple' => 0,
'URI::Fetch' => 0;
feature 'Amazon boxes', 'Net::Amazon' => 0;
feature('Emoticons' => [ 'Text::Emoticon::MSN' => 0, -default => 0 ]);
configure_requires 'File::Copy::Recursive';
test_requires 'Test::More' => '0.88';
test_requires 'Test::Differences';
# all tests require a database to be deployed, even though SQLT is not necessary for producton if a DB exists
test_requires 'SQL::Translator' => '0.09006';
test_requires 'Email::Sender::Simple' => '0.102370';
test_requires 'WWW::Mechanize' => '1.54';
test_requires 'Test::WWW::Mechanize::Catalyst' => '0.51';
test_requires 'WWW::Mechanize::TreeBuilder' => '1.10000';
tests(join ' ', (glob('t/*.t'), glob('t/*/*.t')));
catalyst;
#catalyst_par_script('script/mojomojo_server.pl');
install_script glob('script/*.pl');
auto_install;
WriteAll;