Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
redland-bindings
redland-bindings.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File redland-bindings.spec of Package redland-bindings
# # spec file for package redland-bindings # # Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # %bcond_with perl %define redland_version 1.0.17 Name: redland-bindings Version: 1.0.17.1 Release: 0 Summary: Bindings for the Redland Libraries (RDF) License: LGPL-2.1+ and Apache-2.0 Group: System/Libraries Url: http://www.librdf.org Source0: http://download.librdf.org/source/%{name}-%{version}.tar.gz BuildRequires: libredland-devel = %{redland_version} BuildRequires: perl-base BuildRequires: php5-devel BuildRequires: pkg-config BuildRequires: python-devel BuildRequires: ruby-devel BuildRequires: swig BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Bindings for the Redland RDF Libraries %prep %setup -q %build export PYTHON_LIB="%{python_sitearch}" %configure \ %if 0%{?suse_version} >= 1220 --with-ruby --with-ruby-arch-install-dir-variable=vendorarchdir --with-ruby-install-dir=%{rb_vendorarchdir} \ %else --with-ruby \ %endif %if %{with perl} --with-perl \ %endif --with-python \ --with-php make %{?_smp_mflags} %install %make_install %if %{with perl} find %{buildroot}%{perl_sitearch}/ -name '.packlist' -delete find %{buildroot}%{perl_sitearch}/ -empty -delete %endif %if %{with perl} %package -n perl-redland Summary: Perl bindings for programs that use Redland Group: Development/Languages/Perl %requires_eq libredland0 Requires: perl-base = %{perl_version} %description -n perl-redland Redland librdf Language bindings provide high-level interfaces for RDF (Resource Description Framework) implemented on top of the Redland librdf library which provides an object-based RDF API, supports for syntaxes and triple stores. Perl language bindings for the Redland RDF library. %files -n perl-redland %defattr(-, root, root) %dir %{perl_sitearch}/RDF %dir %{perl_sitearch}/auto %dir %{perl_sitearch}/auto/RDF %dir %{perl_sitearch}/auto/RDF/Redland %dir %{perl_sitearch}/auto/RDF/Redland/CORE %{perl_archlib}/perllocal.pod %{perl_sitearch}/RDF/Redland.pm %{perl_sitearch}/RDF/Redland/*.pm %{perl_sitearch}/RDF/Redland/ %{perl_sitearch}/auto/RDF/Redland/CORE/CORE.so %{_mandir}/man3/RDF::Redland.3pm.gz %{_mandir}/man3/RDF::Redland::BlankNode.3pm.gz %{_mandir}/man3/RDF::Redland::Iterator.3pm.gz %{_mandir}/man3/RDF::Redland::LiteralNode.3pm.gz %{_mandir}/man3/RDF::Redland::Model.3pm.gz %{_mandir}/man3/RDF::Redland::Node.3pm.gz %{_mandir}/man3/RDF::Redland::Parser.3pm.gz %{_mandir}/man3/RDF::Redland::Query.3pm.gz %{_mandir}/man3/RDF::Redland::QueryResults.3pm.gz %{_mandir}/man3/RDF::Redland::RSS.3pm.gz %{_mandir}/man3/RDF::Redland::Serializer.3pm.gz %{_mandir}/man3/RDF::Redland::Statement.3pm.gz %{_mandir}/man3/RDF::Redland::Storage.3pm.gz %{_mandir}/man3/RDF::Redland::Stream.3pm.gz %{_mandir}/man3/RDF::Redland::URI.3pm.gz %{_mandir}/man3/RDF::Redland::URINode.3pm.gz %{_mandir}/man3/RDF::Redland::XMLLiteralNode.3pm.gz %endif %package -n python-redland Summary: Python bindings for programs that use Redland Group: Development/Languages/Python %requires_eq libredland0 Requires: python-base = %{py_ver} %description -n python-redland Redland librdf Language bindings provide high-level interfaces for RDF (Resource Description Framework) implemented on top of the Redland librdf library which provides an object-based RDF API, supports for syntaxes and triple stores. Python language bindings for the Redland RDF library. %files -n python-redland %defattr(-, root, root) %{python_sitearch}/RDF.py %{python_sitearch}/Redland.py %{python_sitearch}/_Redland.so %define phpversion %(php-config --version) %package -n php5-redland Summary: Php5 bindings for programs that use Redland Group: Development/Languages/Other %requires_eq libredland0 Requires: php5 => %{phpversion} %description -n php5-redland Redland librdf Language bindings provide high-level interfaces for RDF (Resource Description Framework) implemented on top of the Redland librdf library which provides an object-based RDF API, supports for syntaxes and triple stores. Php5 language bindings for the Redland RDF library. %files -n php5-redland %defattr(-, root, root) %{_libdir}/php5/extensions/redland.so %package -n ruby-redland Summary: Ruby bindings for programs that use Redland Group: Development/Languages/Ruby %requires_eq libredland0 %description -n ruby-redland Redland librdf Language bindings provide high-level interfaces for RDF (Resource Description Framework) implemented on top of the Redland librdf library which provides an object-based RDF API, supports for syntaxes and triple stores. Ruby language bindings for the Redland RDF library. %files -n ruby-redland %defattr(-, root, root) %if 0%{?suse_version} >= 1220 %{rb_vendorarchdir}/redland.so %{rb_vendorarchdir}/rdf %else %dir %{rb_libdir}/rdf %dir %{rb_libdir}/rdf/redland %dir %{rb_libdir}/rdf/redland/schemas %{rb_libdir}/rdf/redland.rb %{rb_libdir}/rdf/redland/*.rb %{rb_libdir}/rdf/redland/schemas/foaf.rb %{rb_libdir}/rdf/redland/schemas/owl.rb %{rb_libdir}/rdf/redland/schemas/rdfs.rb %{rb_archdir}/redland.so %endif %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