summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2009-05-23 16:30:04 +0200
committerdakkar <dakkar@thenautilus.net>2009-05-23 16:30:04 +0200
commit4bdb4d7478fc7bf28f957e2083fc37da1a44a6e1 (patch)
tree99b9deb82e3705acbd29d35f1b15cc58df3dc2b1
downloadGtkPerlFileManager-4bdb4d7478fc7bf28f957e2083fc37da1a44a6e1.tar.gz
GtkPerlFileManager-4bdb4d7478fc7bf28f957e2083fc37da1a44a6e1.tar.bz2
GtkPerlFileManager-4bdb4d7478fc7bf28f957e2083fc37da1a44a6e1.zip
scheletro
-rw-r--r--Build.PL25
-rw-r--r--MANIFEST9
-rw-r--r--META.yml23
-rw-r--r--README20
-rw-r--r--lib/LDFM/MainController.pm10
-rw-r--r--scripts/ldfm8
-rw-r--r--t/00-load.t7
-rw-r--r--t/00-pod-coverage.t5
-rw-r--r--t/00-pod.t5
-rw-r--r--t/00-prereqs.t4
10 files changed, 116 insertions, 0 deletions
diff --git a/Build.PL b/Build.PL
new file mode 100644
index 0000000..03675a6
--- /dev/null
+++ b/Build.PL
@@ -0,0 +1,25 @@
+
+use strict;
+use warnings;
+use Module::Build;
+
+my $builder = Module::Build->new(
+ dist_name => 'LDFM',
+ license => 'perl',
+ dist_name => 'LD-FM',
+ dist_version_from => 'lib/LDFM/MainController.pm',
+ requires => {
+ 'perl' => '5.8.3',
+ 'Gtk2' => '1.1.0',
+ 'Gtk2::GladeXML::Simple' => 0,
+ 'Readonly' => 0,
+ },
+ build_requires => {
+ 'Test::More' => 0,
+ },
+ script_files => [ 'scripts/ldfm' ],
+ add_to_cleanup => [ 'LDFM-*' ],
+ create_packlist => 1,
+);
+
+$builder->create_build_script();
diff --git a/MANIFEST b/MANIFEST
new file mode 100644
index 0000000..6688460
--- /dev/null
+++ b/MANIFEST
@@ -0,0 +1,9 @@
+Build.PL
+MANIFEST
+META.yml # Will be created by "make dist"
+README
+lib/LDFM/MainController.pm
+t/00-load.t
+t/00-pod-coverage.t
+t/00-pod.t
+t/00-prereqs.t
diff --git a/META.yml b/META.yml
new file mode 100644
index 0000000..55fd1f7
--- /dev/null
+++ b/META.yml
@@ -0,0 +1,23 @@
+---
+name: LD-FM
+version: 0.01
+author: ~
+abstract: ~
+license: perl
+requires:
+ Gtk2: 1.1.0
+ Gtk2::Ex::Simple::List: 0
+ Gtk2::GladeXML::Simple: 0
+ Path::Class: 0
+ Readonly: 0
+ perl: 5.8.3
+build_requires:
+ Test::More: 0
+provides:
+ LDFM::DialogController:
+ file: lib/LDFM/DialogController.pm
+ version: 0.01
+ LDFM::MainController:
+ file: lib/LDFM/MainController.pm
+ version: 0.01
+generated_by: Module::Build version 0.2611
diff --git a/README b/README
new file mode 100644
index 0000000..c3b9445
--- /dev/null
+++ b/README
@@ -0,0 +1,20 @@
+LDFM
+
+LinuxDay FileManager
+
+INSTALLATION
+
+To install this module, run the following commands:
+
+ perl Build.PL
+ ./Build
+ ./Build test
+ ./Build install
+
+COPYRIGHT AND LICENCE
+
+Copyright (C) 2005 Gianni Ceccarelli
+
+This program is free software; you can redistribute it and/or modify it
+under the same terms as Perl itself.
+
diff --git a/lib/LDFM/MainController.pm b/lib/LDFM/MainController.pm
new file mode 100644
index 0000000..a9534e0
--- /dev/null
+++ b/lib/LDFM/MainController.pm
@@ -0,0 +1,10 @@
+package LDFM::MainController;
+use utf8;
+use warnings;
+use strict;
+use base 'Gtk2::GladeXML::Simple';
+use Readonly;
+
+our $VERSION = '0.01';
+
+1;
diff --git a/scripts/ldfm b/scripts/ldfm
new file mode 100644
index 0000000..c611a8b
--- /dev/null
+++ b/scripts/ldfm
@@ -0,0 +1,8 @@
+#!/usr/bin/env perl
+use utf8;
+use strict;
+use warnings;
+use Gtk2 '-init';
+use LDFM::MainController;
+
+print "buh!\n";
diff --git a/t/00-load.t b/t/00-load.t
new file mode 100644
index 0000000..cd42d3e
--- /dev/null
+++ b/t/00-load.t
@@ -0,0 +1,7 @@
+use Test::More tests => 1;
+
+BEGIN {
+ use_ok('LDFM::MainController');
+}
+
+diag( "Testing LDFM $LDFM::MainController::VERSION" );
diff --git a/t/00-pod-coverage.t b/t/00-pod-coverage.t
new file mode 100644
index 0000000..2531190
--- /dev/null
+++ b/t/00-pod-coverage.t
@@ -0,0 +1,5 @@
+use Test::More;
+eval "use Test::Pod::Coverage 1.04";
+plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage"
+ if $@;
+all_pod_coverage_ok();
diff --git a/t/00-pod.t b/t/00-pod.t
new file mode 100644
index 0000000..aa819af
--- /dev/null
+++ b/t/00-pod.t
@@ -0,0 +1,5 @@
+use Test::More;
+eval "use Test::Pod 1.14";
+plan skip_all => "Test::Pod 1.14 required for testing POD"
+ if $@;
+all_pod_files_ok();
diff --git a/t/00-prereqs.t b/t/00-prereqs.t
new file mode 100644
index 0000000..5d39ddf
--- /dev/null
+++ b/t/00-prereqs.t
@@ -0,0 +1,4 @@
+use Test::More;
+eval "use Test::Prereq::Build";
+plan skip_all => "Test::Prereq::Build required to test dependencies" if $@;
+prereq_ok();