Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-RDF-Simple
perl-RDF-Simple.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-RDF-Simple.spec of Package perl-RDF-Simple
# # spec file for package perl-RDF-Simple # # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: perl-RDF-Simple Version: 0.421 Release: 0 %define cpan_name RDF-Simple Summary: Read and write RDF without complication License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/M/MT/MTHURN/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Class::MethodMaker) BuildRequires: perl(File::Slurp) BuildRequires: perl(IO::CaptureOutput) BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(Regexp::Common) BuildRequires: perl(Test::File) BuildRequires: perl(XML::SAX) Requires: perl(Class::MethodMaker) Requires: perl(File::Slurp) Requires: perl(LWP::UserAgent) Requires: perl(Regexp::Common) Requires: perl(XML::SAX) %{perl_requires} # MANUAL BEGIN BuildRequires: perl(Module::Install) # MANUAL END %description This package is for very simple manipulations of RDF/XML serialisations of RDF graphs. It consists of: RDF::Simple::Parser RDF::Simple::Serialiser Please consult the individual pod for these packages. The parser requires XML::SAX Also provided is RDF::Simple::NS, a utility class for XML namespaces in RDF The aim here is to keep things Simple: e.g., the parser doesn't differentiate between literal and resource values in the model. All you get back is a bucket-o-triples (array of arrays) Use the parser to read RDF that you recieve. The serialiser does its best to do DWYM. Use the serialiser to build RDF to send to others. If you want a more complex and involved RDF API, I'd suggest looking at RDF::Core or at the Attean Semantic web framework at http://metacpan.org/pod/Attean Please report bugs via RT at <https://rt.cpan.org/Dist/Display.html?Queue=RDF-Simple> %prep %setup -q -n %{cpan_name}-%{version} %build PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README %license LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor