2024-01-05 19:06:44 +01:00
|
|
|
%ifnarch arm
|
|
|
|
%define disable_all_vads 0
|
|
|
|
%endif
|
|
|
|
|
|
|
|
Name: virtuoso-opensource
|
2024-03-01 17:49:38 +01:00
|
|
|
Version: 7.2.12
|
2024-01-05 19:06:44 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A high-performance object-relational SQL database
|
|
|
|
Group: Applications/Databases
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 19:06:49 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://vos.openlinksw.com/owiki/wiki/VOS/
|
|
|
|
Source: https://github.com/openlink/virtuoso-opensource.git/v%{version}/virtuoso-opensource-%{version}.tar.bz2
|
2024-03-01 17:49:38 +01:00
|
|
|
Patch0: virtuoso-opensource-7.2.12-openssl-3.2.1.patch
|
2024-01-05 19:06:44 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libbzip2-devel
|
|
|
|
BuildRequires: liblzma-devel
|
|
|
|
BuildRequires: libopenldap-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: libreadline-devel
|
|
|
|
BuildRequires: libz-devel
|
2024-01-05 19:06:49 +01:00
|
|
|
BuildRequires: mono-devel
|
2024-01-05 19:06:44 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-03-01 17:49:38 +01:00
|
|
|
BuildRequires: libwbxml2-devel >= 0.11.8-2mamba
|
2024-01-05 19:06:44 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
At core, Virtuoso is a high-performance object-relational SQL database.
|
|
|
|
As a database, it provides transactions, a smart SQL compiler, powerful stored-procedure language with optional Java and .Net server-side hosting, hot backup, SQL-99 support and more.
|
|
|
|
It has all major data-access interfaces, such as ODBC, JDBC, ADO .Net and OLE/DB.
|
|
|
|
|
|
|
|
%package apps
|
|
|
|
Summary: Virtuoso open source database applications
|
|
|
|
Group: Applications/Databases
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description apps
|
|
|
|
At core, Virtuoso is a high-performance object-relational SQL database.
|
|
|
|
As a database, it provides transactions, a smart SQL compiler, powerful stored-procedure language with optional Java and .Net server-side hosting, hot backup, SQL-99 support and more.
|
|
|
|
It has all major data-access interfaces, such as ODBC, JDBC, ADO .Net and OLE/DB.
|
|
|
|
This package contains applications to be used with Virtuoso.
|
|
|
|
|
|
|
|
%package utils
|
|
|
|
Summary: Virtuoso open source database utilities
|
|
|
|
Group: Applications/Databases
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description utils
|
|
|
|
At core, Virtuoso is a high-performance object-relational SQL database.
|
|
|
|
As a database, it provides transactions, a smart SQL compiler, powerful stored-procedure language with optional Java and .Net server-side hosting, hot backup, SQL-99 support and more.
|
|
|
|
It has all major data-access interfaces, such as ODBC, JDBC, ADO .Net and OLE/DB.
|
|
|
|
This package contains utilities for use with Virtuoso.
|
|
|
|
|
|
|
|
%package java
|
|
|
|
Summary: Virtuoso bindings to JAVA and ODBC
|
|
|
|
Group: System/Libraries/Java
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description java
|
|
|
|
At core, Virtuoso is a high-performance object-relational SQL database.
|
|
|
|
As a database, it provides transactions, a smart SQL compiler, powerful stored-procedure language with optional Java and .Net server-side hosting, hot backup, SQL-99 support and more.
|
|
|
|
It has all major data-access interfaces, such as ODBC, JDBC, ADO .Net and OLE/DB.
|
|
|
|
This package contains Virtuoso bindings to JAVA and ODBC.
|
|
|
|
|
2024-01-05 19:06:49 +01:00
|
|
|
%package mono
|
|
|
|
Summary: Virtuoso bindings to Mono
|
|
|
|
Group: System/Libraries/Java
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description mono
|
|
|
|
At core, Virtuoso is a high-performance object-relational SQL database.
|
|
|
|
As a database, it provides transactions, a smart SQL compiler, powerful stored-procedure language with optional Java and .Net server-side hosting, hot backup, SQL-99 support and more.
|
|
|
|
It has all major data-access interfaces, such as ODBC, JDBC, ADO .Net and OLE/DB.
|
|
|
|
This package contains Virtuoso bindings to Mono.
|
|
|
|
|
2024-01-05 19:06:44 +01:00
|
|
|
# FIXME
|
|
|
|
# checking for hslookup... notfound
|
|
|
|
# configure: WARNING: The hslookup plugin will not be build
|
|
|
|
|
2024-01-05 19:06:49 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 19:06:44 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
#-D -T
|
2024-01-05 19:06:49 +01:00
|
|
|
#:<< _EOF
|
2024-03-01 17:49:38 +01:00
|
|
|
%patch 0 -p1 -b .openssl-3.2.1
|
2024-01-05 19:06:49 +01:00
|
|
|
./autogen.sh
|
2024-01-05 19:06:44 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 19:06:49 +01:00
|
|
|
#:<< _EOF
|
2024-01-05 19:06:44 +01:00
|
|
|
%configure \
|
|
|
|
--with-layout=redhat \
|
|
|
|
--with-readline \
|
|
|
|
--with-pthreads \
|
|
|
|
--enable-shared \
|
|
|
|
--disable-static \
|
|
|
|
--without-internal-zlib \
|
|
|
|
--enable-openssl \
|
|
|
|
--enable-xml \
|
2024-01-05 19:06:49 +01:00
|
|
|
--disable-geos \
|
2024-01-05 19:06:44 +01:00
|
|
|
%if "%{?disable-all-vads}" == "1"
|
|
|
|
--disable-all-vads \
|
|
|
|
%endif
|
2024-01-05 19:06:49 +01:00
|
|
|
|
|
|
|
#CFLAGS="-I%{_includedir}/openssl-1.0" \
|
|
|
|
# LDFLAGS="-L%{_libdir}/openssl-1.0"
|
|
|
|
|
|
|
|
# LIBS="-lncurses -ltirpc"
|
2024-01-05 19:06:44 +01:00
|
|
|
|
|
|
|
%make -j1 PORT=34567
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
# generic'ish binaries, hide them away safely
|
|
|
|
install -d %{buildroot}%{_libexecdir}/virtuoso
|
|
|
|
mv %{buildroot}%{_bindir}/{inifile,isql,isqlw} \
|
|
|
|
%{buildroot}%{_libexecdir}/virtuoso/
|
|
|
|
|
|
|
|
install -d %{buildroot}%{_sysconfdir}/virtuoso
|
|
|
|
mv %{buildroot}%{_var}/lib/virtuoso/db/virtuoso.ini \
|
|
|
|
%{buildroot}%{_sysconfdir}/virtuoso/
|
|
|
|
ln -s ../../../..%{_sysconfdir}/virtuoso/virtuoso.ini \
|
|
|
|
%{buildroot}%{_var}/lib/virtuoso/db/virtuoso.ini
|
|
|
|
|
|
|
|
# remove unpackaged files
|
|
|
|
rm -vf %{buildroot}%{_libdir}/*.{la,a}
|
|
|
|
rm -vf %{buildroot}%{_libdir}/virtuoso/hosting/*.la
|
|
|
|
#rm -vf %{buildroot}%{_libdir}/{jdbc-?.?,jena,sesame}/*.jar
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%config(noreplace) %{_sysconfdir}/virtuoso/virtuoso.ini
|
|
|
|
%{_bindir}/virtuoso-t
|
|
|
|
%{_libdir}/virt*.so
|
|
|
|
%dir %{_libdir}/virtuoso/
|
|
|
|
%dir %{_var}/lib/virtuoso
|
|
|
|
%{_var}/lib/virtuoso/db/
|
|
|
|
%{_var}/lib/virtuoso/vsp/
|
|
|
|
%doc AUTHORS COPYING LICENSE
|
|
|
|
|
|
|
|
%if "%{?disable-all-vads}" != "1"
|
|
|
|
%files apps
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/virtuoso/hosting/
|
|
|
|
%dir %{_datadir}/virtuoso/
|
|
|
|
%dir %{_datadir}/virtuoso/vad/
|
|
|
|
%{_datadir}/virtuoso/vad/*.vad
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%files utils
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/virt_mail
|
|
|
|
%dir %{_libexecdir}/virtuoso/
|
|
|
|
%{_libexecdir}/virtuoso/*
|
|
|
|
%{_docdir}/virtuoso/*
|
|
|
|
|
2024-01-05 19:06:49 +01:00
|
|
|
%files mono
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_libdir}/virtuoso/cli
|
|
|
|
%{_libdir}/virtuoso/cli/OpenLink.Data.Virtuoso.dll
|
|
|
|
|
2024-01-05 19:06:44 +01:00
|
|
|
%files java
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/hibernate/*.jar
|
|
|
|
%{_libdir}/jdbc-?.?
|
|
|
|
%dir %{_libdir}/jena
|
|
|
|
%{_libdir}/jena/*.jar
|
|
|
|
%dir %{_libdir}/jena2
|
|
|
|
%{_libdir}/jena2/virt_jena2.jar
|
|
|
|
%{_libdir}/sesame/create-virtuoso.xsl
|
|
|
|
%{_libdir}/sesame/create.xsl
|
|
|
|
%{_libdir}/sesame/*.jar
|
2024-01-05 19:06:49 +01:00
|
|
|
%{_libdir}/jena3/virt_jena3.jar
|
|
|
|
%{_libdir}/jena4/virt_jena4.jar
|
|
|
|
%{_libdir}/rdf4j/*.xsl
|
|
|
|
%{_libdir}/rdf4j/virt_rdf4j.jar
|
|
|
|
%{_libdir}/rdf4j_4/virt_rdf4j_4.jar
|
|
|
|
%{_libdir}/rdf4j_4/*.xsl
|
2024-01-05 19:06:44 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-03-01 17:49:38 +01:00
|
|
|
* Fri Mar 01 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 7.2.12-1mamba
|
|
|
|
- update to 7.2.12
|
|
|
|
- rebuilt by autoport with build requirements: libwbxml2-devel>=0.11.8-2mamba
|
|
|
|
|
2024-01-05 19:06:54 +01:00
|
|
|
* Mon Oct 02 2023 Automatic Build System <autodist@mambasoft.it> 7.2.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:06:49 +01:00
|
|
|
* Sun Sep 03 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 7.2.10-1mamba
|
|
|
|
- update to 7.2.10
|
|
|
|
|
2024-01-05 19:06:44 +01:00
|
|
|
* Thu Mar 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 6.1.8-1mamba
|
|
|
|
- update to 6.1.8
|
|
|
|
|
|
|
|
* Sat Aug 04 2012 Davide Madrisan <davide.madrisan@gmail.com> 6.1.6-1mamba
|
|
|
|
- update to 6.1.6
|
|
|
|
|
|
|
|
* Mon Mar 05 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 6.1.4-2mamba
|
|
|
|
- added workaround for correctly linking to libreadline (since binutils gold?)
|
|
|
|
|
|
|
|
* Thu Dec 01 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 6.1.4-1mamba
|
|
|
|
- update to 6.1.4
|
|
|
|
|
|
|
|
* Sat Apr 02 2011 Automatic Build System <autodist@mambasoft.it> 6.1.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Jul 11 2010 Automatic Build System <autodist@mambasoft.it> 6.1.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue May 25 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 6.1.1-1mamba
|
|
|
|
- update to 6.1.1
|
|
|
|
|
|
|
|
* Tue May 25 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.14-1mamba
|
|
|
|
- update to 5.0.14
|
|
|
|
|
|
|
|
* Sat Jan 30 2010 Davide Madrisan <davide.madrisan@gmail.com> 5.0.12-1mamba
|
|
|
|
- package created by autospec
|