/usr/share/doc/librdf-doap-lite-perl/README is in librdf-doap-lite-perl 0.002-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 | NAME
RDF::DOAP::Lite - write DOAP data quickly and easily
SYNOPSIS
use CPAN::Changes;
use CPAN::Meta;
use RDF::DOAP::Lite;
my $changes = CPAN::Changes->load('Changes');
my $meta = CPAN::Meta->load_file('META.json');
my $doap = RDF::DOAP::Lite->new(meta => $meta, changes => $changes);
$doap->doap_ttl('doap.ttl');
$doap->doap_xml('doap.xml');
DESCRIPTION
This is a small companion module to RDF::DOAP, enabling you to output DOAP
data easily from standard CPAN distribution files.
The Straight DOAP
So what is DOAP? This explanation is lifted from Wikipedia
<http://en.wikipedia.org/wiki/DOAP>.
*DOAP (Description of a Project) is an RDF Schema and XML vocabulary to
describe software projects, in particular free and open source software.*
*It was created and initially developed by Edd Dumbill to convey semantic
information associated with open source software projects.*
*It is currently used in the Mozilla Foundation's project page and in
several other software repositories, notably the Python Package Index.*
Constructor
`new(%attributes)`
Moose-style constructor (though this module does not use Moose).
Attributes
`meta`
This is a required attribute; a CPAN::Meta object.
`changes`
This is an optional attribute; a CPAN::Changes object.
Methods
`doap_ttl($file)`
Writes DOAP data in the Turtle serialization to the file. The file may
be provided as a filename (string) or a file handle.
`doap_xml($file)`
Writes DOAP data in the RDF/XML serialization to the file. The file
may be provided as a filename (string) or a file handle.
BUGS
Please report any bugs to
<http://rt.cpan.org/Dist/Display.html?Queue=RDF-DOAP-Lite>.
SEE ALSO
This module comes with a bundled command-line tool, cpan2doap.
For parsing DOAP data, see RDF::DOAP.
For general RDF processing, use RDF::Trine and RDF::Query.
AUTHOR
Toby Inkster <tobyink@cpan.org>.
COPYRIGHT AND LICENCE
This software is copyright (c) 2013-2014 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.
DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|