NAME
Module::Package::RDF::Create - create distributions that will use Module::Package::RDF.
SYNOPSIS
mkdist Local::Example::Useful
DESCRIPTION
Module::Package::RDF::Create->create($distname, %options)
-
Create a distribution directory including all needed files.
SEE ALSO
AUTHOR
Toby Inkster <tobyink@cpan.org>.
COPYRIGHT AND LICENCE
This software is copyright (c) 2011 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
NAME
{$module_name} - {$abstract}
DESCRIPTION
BUGS
Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue={URI::Escape::uri_escape($dist_name)}.
SEE ALSO
AUTHOR
{$author->{name}} <{$author->{mbox}}>.
COPYRIGHT AND LICENCE
{$licence->notice}
COMMENCE Makefile.PL use inc::Module::Package 'RDF:standard';
COMMENCE meta/changes.ttl # This file acts as the project's changelog.
@prefix : <http://usefulinc.com/ns/doap#> . @prefix dcs: <http://ontologi.es/doap-changeset#> . @prefix dc: <http://purl.org/dc/terms/> . @prefix dist: <http://purl.org/NET/cpan-uri/dist/{URI::Escape::uri_escape($dist_name)}/> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
dist:project :release dist:{$version_ident} . dist:{$version_ident} a :Version ; dc:issued "{DateTime->now->ymd('-')}"^^xsd:date ; :revision "{$version}"^^xsd:string ; :file-release <{$backpan}{URI::Escape::uri_escape($dist_name)}-{$version}.tar.gz> ; rdfs:label "Initial release" .
COMMENCE meta/doap.ttl # This file contains general metadata about the project.
@prefix : <http://usefulinc.com/ns/doap#> . @prefix dc: <http://purl.org/dc/terms/> . @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://purl.org/NET/cpan-uri/dist/{URI::Escape::uri_escape($dist_name)}/project> a :Project ; :programming-language "Perl" ; :name "{$dist_name}" ; :homepage <https://metacpan.org/release/{URI::Escape::uri_escape($dist_name)}> ; :download-page <https://metacpan.org/release/{URI::Escape::uri_escape($dist_name)}> ; :bug-database <http://rt.cpan.org/Dist/Display.html?Queue={URI::Escape::uri_escape($dist_name)}> ; :created "{DateTime->now->ymd('-')}"^^xsd:date ; :license <{$licence->url}> ; :developer [ a foaf:Person ; foaf:name "{$author->{name}}" ; foaf:mbox <mailto:{$author->{mbox}}> ] .
<{$licence->url}> dc:title "{$licence->name}" .
COMMENCE meta/makefile.ttl # This file provides instructions for packaging.
@prefix : <http://purl.org/NET/cpan-uri/terms#> .
<http://purl.org/NET/cpan-uri/dist/{URI::Escape::uri_escape($dist_name)}/project> :perl_version_from _:main ; :version_from _:main ; :readme_from _:main ; :test_requires "Test::More 0.61" {$requires} .
_:main <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#fileName> "{$module_filename}" .
COMMENCE t/01basic.t use Test::More tests => 1; BEGIN \{ use_ok('{$module_name}') \};
COMMENCE xt/01pod.t use Test::More; eval "use Test::Pod 1.00"; plan skip_all => "Test::Pod 1.00 required for testing POD" if $@; all_pod_files_ok();
COMMENCE xt/02pod_coverage.t use Test::More; use Test::Pod::Coverage;
my @modules = qw({$module_name}); pod_coverage_ok($_, "$_ is covered") foreach @modules; done_testing(scalar @modules);
COMMENCE xt/03meta_uptodate.t use Test::More tests => 1; use Test::RDF::DOAP::Version; doap_version_ok('{$dist_name}', '{$module_name}');