/usr/share/perl5/Module/Install/DOAPChangeSets.pm is in libmodule-install-doapchangesets-perl 0.206-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | package Module::Install::DOAPChangeSets;
use 5.008;
use parent qw(Module::Install::Base);
use strict;
our $VERSION = '0.206';
our $AUTHOR_ONLY = 1;
sub write_doap_changes {
my $self = shift;
$self->admin->write_doap_changes(@_) if $self->is_admin;
}
sub write_doap_changes_xml {
my $self = shift;
$self->admin->write_doap_changes_xml(@_) if $self->is_admin;
}
1;
__END__
=head1 NAME
Module::Install::DOAPChangeSets - write your distribution change log in RDF
=head1 DESCRIPTION
This package allows you to write your Changes file in Turtle or RDF/XML and
autogenerate a human-readable text file.
To do this, create an RDF file called "meta/changes.ttl" (or something like that)
and describe your distribution's changes in RDF using the Dublin Core, DOAP,
and DOAP Change Sets vocabularies. Then in your Makefile.PL, include:
write_doap_changes "meta/changes.ttl", "Changes", "turtle";
This line will read your data from the file named as the first argument,
parse it using either Turtle or RDFXML parsers (the third argument), and
output a human-readable changelog to the file named as the second argument.
The defaults are "meta/changes.ttl", "Changes", "turtle", so if you name the
files like that, then you can exclude all the arguments and just include
this in your Makefile.PL:
write_doap_changes;
There's also a line you can use to output a Changes.xml file:
write_doap_changes_xml "meta/changes.ttl", "Changes.xml", "turtle";
=head2 Integration with Module::Install::RDF
L<Module::Install::RDF> reads all the RDF it can find in 'meta'. If you invoke
Module::Install::RDF before invoking Module::Install::DOAPChangeSets, then
this module will use Module::Install::RDF's copy of the data.
=head1 WHY?
Why not?
=head1 BUGS
Please report any bugs to L<http://rt.cpan.org/>.
=head1 SEE ALSO
L<Module::Install>, L<Module::Install::DOAPChangeSets::Format> ,
L<Module::Install::RDF>.
L<http://www.perlrdf.org/>.
=head1 AUTHOR
Toby Inkster E<lt>tobyink@cpan.orgE<gt>.
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2010-2011 by Toby Inkster
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
=cut
|