338 lines
11 KiB
RPMSpec
338 lines
11 KiB
RPMSpec
%define build_apidocs 1
|
|
%define libname libsoprano
|
|
|
|
Name: soprano
|
|
Version: 2.9.4
|
|
Release: 5mamba
|
|
Epoch: 1
|
|
Summary: The QT/C++ RDF framework
|
|
Group: Applications/Development
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://soprano.sourceforge.net/
|
|
Source: http://downloads.sourceforge.net/project/soprano/Soprano/%{version}/soprano-%{version}.tar.bz2
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
%ifnarch arm
|
|
BuildRequires: java-openjdk11-headless
|
|
%endif
|
|
BuildRequires: ldconfig
|
|
BuildRequires: libclucene-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libiodbc-devel
|
|
BuildRequires: libqt4-devel
|
|
BuildRequires: libraptor2-devel
|
|
BuildRequires: librdf-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
BuildRequires: libclucene-devel >= 2.3.3.4
|
|
#%if "%{stage1}" != "1"
|
|
#BuildRequires: gcc-java
|
|
#BuildRequires: java-gcj-compat
|
|
BuildRequires: jpackage-utils
|
|
#%endif
|
|
BuildRequires: libraptor2-devel
|
|
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: sopranobackend
|
|
|
|
%description
|
|
Soprano (formally known as QRDF) is a library which provides a QT wrapper API to different RDF storage solutions.
|
|
It features named graphs (contexts) and has a modular plug-in structure which allows to use RDF backends implemented with different RDF Storage.
|
|
|
|
%package -n %{libname}
|
|
Group: System/Libraries
|
|
Summary: Dynamic libraries and headers for %{name}
|
|
|
|
%description -n %{libname}
|
|
Soprano (formally known as QRDF) is a library which provides a QT wrapper API to different RDF storage solutions.
|
|
It features named graphs (contexts) and has a modular plug-in structure which allows to use RDF backends implemented with different RDF Storage.
|
|
This package contains dynamic libraries provided by %{name}.
|
|
|
|
%package -n %{libname}-devel
|
|
Group: Development/Libraries
|
|
Summary: Static libraries and headers for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Obsoletes: soprano-devel < 1:2.9.4-5mamba
|
|
Provides: soprano-devel = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: %{name}-backend-redland = %{?epoch:%epoch:}%{version}-%{release}
|
|
#%ifnarch arm
|
|
#Requires: %{name}-backend-sesame2 = %{?epoch:%epoch:}%{version}-%{release}
|
|
#%endif
|
|
#%ifarch x86_64 aarch64
|
|
#Requires: %{name}-backend-virtuoso = %{?epoch:%epoch:}%{version}-%{release}
|
|
#%endif
|
|
|
|
%description -n %{libname}-devel
|
|
Soprano (formally known as QRDF) is a library which provides a QT wrapper API to different RDF storage solutions.
|
|
It features named graphs (contexts) and has a modular plug-in structure which allows to use RDF backends implemented with different RDF Storage.
|
|
This package contains static libraries and header files need for development.
|
|
|
|
%package backend-redland
|
|
Group: System/Libraries
|
|
Summary: Redland backend for %{name}
|
|
Provides: %{name}-backend = %{?epoch:%epoch:}%{version}-%{release}
|
|
Provides: sopranobackend
|
|
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
|
|
%ifnarch x86_64 aarch64
|
|
Obsoletes: soprano-backend-virtuoso < 1:2.9.4-5mamba
|
|
%endif
|
|
|
|
%description backend-redland
|
|
This package provides the Redland storage backend for %{name}.
|
|
|
|
%package backend-sesame2
|
|
Group: System/Libraries
|
|
Summary: Sesame2 backend for %{name}
|
|
Provides: %{name}-backend = %{?epoch:%epoch:}%{version}-%{release}
|
|
Provides: sopranobackend
|
|
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description backend-sesame2
|
|
This package provides the Sesame2 storage backend for %{name}.
|
|
|
|
%package backend-virtuoso
|
|
Group: System/Libraries
|
|
Summary: Virtuoso backend for %{name}
|
|
Provides: %{name}-backend = %{?epoch:%epoch:}%{version}-%{release}
|
|
Provides: sopranobackend
|
|
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
|
|
%ifnarch aarch64
|
|
Requires: virtuoso-opensource
|
|
%endif
|
|
|
|
%description backend-virtuoso
|
|
This package provides the Virtuoso storage backend for %{name}.
|
|
|
|
%if %build_apidocs
|
|
%package apidocs
|
|
Group: Documentation
|
|
Summary: Soprano API documentation
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description apidocs
|
|
This package includes the Soprano API documentation in HTML format for easy browsing.
|
|
%endif
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n soprano-%{version}%{?prerel:-%prerel}
|
|
|
|
%build
|
|
JAVA_HOME=%{_jvmdir}/jdk
|
|
#JAVA_JWM_LIBRARY=%{_jnidir}
|
|
QTDIR=%{_qt4_prefix}; export QTDIR
|
|
PATH="%{_qt4_bindir}:%{_kdebindir}:/bin:/usr/bin"; export PATH
|
|
%cmake -d build \
|
|
-DSOPRANO_BUILD_API_DOCS:BOOL=%{!?build_apidocs:0}%{?build_apidocs} \
|
|
%ifnarch x86_64 aarch64
|
|
-DSOPRANO_DISABLE_VIRTUOSO_BACKEND=TRUE
|
|
%endif
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -n %{libname} -p /sbin/ldconfig
|
|
%postun -n %{libname} -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/onto2vocabularyclass
|
|
%{_bindir}/sopranocmd
|
|
%{_bindir}/sopranod
|
|
%{_datadir}/dbus-1/interfaces/org.soprano.Model.xml
|
|
%{_datadir}/dbus-1/interfaces/org.soprano.NodeIterator.xml
|
|
%{_datadir}/dbus-1/interfaces/org.soprano.QueryResultIterator.xml
|
|
%{_datadir}/dbus-1/interfaces/org.soprano.Server.xml
|
|
%{_datadir}/dbus-1/interfaces/org.soprano.StatementIterator.xml
|
|
%{_datadir}/soprano/plugins/*parser.desktop
|
|
%{_datadir}/soprano/plugins/*serializer.desktop
|
|
%{_datadir}/soprano/rules/*
|
|
%doc AUTHORS COPYING.LIB README TODO
|
|
|
|
%files -n %{libname}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libsopranoclient.so.*
|
|
%{_libdir}/libsopranoindex.so.*
|
|
%{_libdir}/libsopranoserver.so.*
|
|
%{_libdir}/libsoprano.so.*
|
|
%{_libdir}/soprano/libsoprano_*parser.so
|
|
%{_libdir}/soprano/libsoprano_*serializer.so
|
|
|
|
%files -n %{libname}-devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/soprano
|
|
%{_includedir}/Soprano
|
|
%{_libdir}/libsopranoclient.so
|
|
%{_libdir}/libsopranoindex.so
|
|
%{_libdir}/libsopranoserver.so
|
|
%{_libdir}/libsoprano.so
|
|
%{_libdir}/pkgconfig/soprano.pc
|
|
%{_libdir}/pkgconfig/sopranoclient.pc
|
|
%{_libdir}/pkgconfig/sopranoindex.pc
|
|
%{_libdir}/pkgconfig/sopranoserver.pc
|
|
%{_datadir}/soprano/cmake/SopranoAddOntology.cmake
|
|
|
|
%files backend-redland
|
|
%defattr(-,root,root,-)
|
|
%{_libdir}/soprano/libsoprano_redlandbackend.so
|
|
%{_datadir}/soprano/plugins/redlandbackend.desktop
|
|
|
|
%ifnarch arm
|
|
%if "%{stage1}" != "1"
|
|
%files backend-sesame2
|
|
%defattr(-,root,root,-)
|
|
%{_libdir}/soprano/libsoprano_sesame2backend.so
|
|
%{_datadir}/soprano/plugins/sesame2backend.desktop
|
|
%{_datadir}/soprano/sesame2/*.class
|
|
%{_datadir}/soprano/sesame2/*.jar
|
|
%endif
|
|
%endif
|
|
|
|
%ifarch x86_64 aarch64
|
|
%files backend-virtuoso
|
|
%defattr(-,root,root,-)
|
|
%{_libdir}/soprano/libsoprano_virtuosobackend.so
|
|
%{_datadir}/soprano/plugins/virtuosobackend.desktop
|
|
%endif
|
|
|
|
%if %build_apidocs
|
|
%files apidocs
|
|
%defattr(-,root,root)
|
|
%doc build/docs/html
|
|
%endif
|
|
|
|
%changelog
|
|
* Mon Sep 04 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.4-5mamba
|
|
- disable virtuoso backend on 32 bit plaforms
|
|
|
|
* Sun Sep 03 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.4-4mamba
|
|
- rebuilt
|
|
|
|
* Tue Jan 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.4-3mamba
|
|
- rebuilt with java-openjdk
|
|
|
|
* Tue Sep 22 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.4-2mamba
|
|
- rebuilt with libraptor2
|
|
|
|
* Sat Oct 12 2013 Automatic Build System <autodist@mambasoft.it> 2.9.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jul 11 2013 Automatic Build System <autodist@mambasoft.it> 2.9.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed May 29 2013 Automatic Build System <autodist@mambasoft.it> 2.9.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jan 09 2013 Automatic Build System <autodist@mambasoft.it> 2.9.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jul 17 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.0-1mamba
|
|
- update to 2.8.0
|
|
|
|
* Tue Mar 06 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7.5-1mamba
|
|
- update to 2.7.5
|
|
- soprano-backend-virtuoso: require virtuoso-opensource
|
|
|
|
* Fri Nov 04 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7.3-1mamba
|
|
- update to 2.7.3
|
|
|
|
* Mon Oct 03 2011 Automatic Build System <autodist@mambasoft.it> 2.7.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Aug 04 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7.0-1mamba
|
|
- update to 2.7.0
|
|
|
|
* Tue Feb 01 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.0-1mamba
|
|
- update to 2.6.0
|
|
- added virtual provide/require sopranobackend
|
|
|
|
* Thu Jan 27 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.63-1mamba
|
|
- update to 2.5.63
|
|
|
|
* Wed Dec 01 2010 Automatic Build System <autodist@mambasoft.it> 2.5.3-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Nov 09 2010 Automatic Build System <autodist@mambasoft.it> 2.5.2-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Aug 11 2010 Davide Madrisan <davide.madrisan@gmail.com> 2.5.0-1mamba
|
|
- update to 2.5.0
|
|
|
|
* Wed Jul 14 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.4-2mamba
|
|
- rebuilt with fixed librdf to resume redland backend build
|
|
|
|
* Wed Jul 14 2010 Automatic Build System <autodist@mambasoft.it> 2.4.4-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Jun 29 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.3-2mamba
|
|
- rebuilt with Sesame2 (java) storage backend
|
|
|
|
* Tue Jun 22 2010 Automatic Build System <autodist@mambasoft.it> 2.4.3-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Mon Mar 15 2010 Davide Madrisan <davide.madrisan@gmail.com> 2.4.1-1mamba
|
|
- update to 2.4.1
|
|
|
|
* Tue Feb 02 2010 Davide Madrisan <davide.madrisan@gmail.com> 2.3.73-1mamba
|
|
- update to 2.3.73
|
|
|
|
* Sun Jan 17 2010 Davide Madrisan <davide.madrisan@gmail.com> 2.3.70-1mamba
|
|
- update to 2.3.70 (beta version which is intended to be packaged for KDE 4.4)
|
|
- build requires java-gcj-compat
|
|
- build and provide API docs (subpackage apidocs)
|
|
- create a subpackage for each storage backend provided by soprano
|
|
|
|
* Tue Nov 03 2009 Davide Madrisan <davide.madrisan@gmail.com> 2.3.1-1mamba
|
|
- update to 2.3.1
|
|
- build requires librasqal-devel
|
|
|
|
* Sat Oct 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0-2mamba
|
|
- rebuild java library with gcj
|
|
|
|
* Fri Jul 17 2009 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sat Jul 11 2009 Automatic Build System <autodist@mambasoft.it> 2.2.69-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri Mar 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.3-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Jan 20 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.67-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Thu Aug 28 2008 Aleph0 <aleph0@openmamba.org> 2.1.1-1mamba
|
|
- update to 2.1.1
|
|
|
|
* Fri May 30 2008 Aleph0 <aleph0@openmamba.org> 2.0.98-1mamba
|
|
- update to 2.0.98
|
|
|
|
* Fri May 09 2008 Aleph0 <aleph0@openmamba.org> 2.0.3-1mamba
|
|
- update to 2.0.3
|
|
|
|
* Mon Mar 03 2008 Aleph0 <aleph0@openmamba.org> 2.0.2-1mamba
|
|
- update to 2.0.2
|
|
|
|
* Fri Jan 11 2008 Aleph0 <aleph0@openmamba.org> 2.0.0-1mamba
|
|
- update to 2.0.0
|
|
|
|
* Wed Dec 12 2007 Aleph0 <aleph0@openmamba.org> 0.99-1mamba
|
|
- update to 1.99.rc2
|
|
|
|
* Wed Nov 14 2007 Aleph0 <aleph0@openmamba.org> 1.97.1-1mamba
|
|
- update to 1.97.1-beta4
|
|
|
|
* Tue Oct 30 2007 Aleph0 <aleph0@openmamba.org> 1.95.0-1mamba
|
|
- update to 1.95.0-beta2
|
|
|
|
* Thu Jul 05 2007 Aleph0 <aleph0@openmamba.org> 0.9.0-1mamba
|
|
- package created by autospec
|