|
|
|
@ -1,33 +1,30 @@
|
|
|
|
|
|
|
|
|
|
Name: redland
|
|
|
|
|
Version: 1.0.17
|
|
|
|
|
Release: 29%{?dist}
|
|
|
|
|
Release: 38%{?dist}
|
|
|
|
|
Summary: RDF Application Framework
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+ or ASL 2.0
|
|
|
|
|
License: LGPL-2.1-or-later OR Apache-2.0
|
|
|
|
|
URL: http://librdf.org/
|
|
|
|
|
Source0: http://download.librdf.org/source/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
|
Patch1: 0001-rhbz-1936659-stub-deprecated.patch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: curl-devel
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
|
BuildRequires: libdb-devel
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
BuildRequires: libtool-ltdl-devel
|
|
|
|
|
BuildRequires: libxml2-devel >= 2.4.0
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: raptor2-devel
|
|
|
|
|
BuildRequires: rasqal-devel >= 0.9.26
|
|
|
|
|
BuildRequires: sqlite-devel
|
|
|
|
|
|
|
|
|
|
%if ! 0%{?rhel}
|
|
|
|
|
BuildRequires: libpq-devel
|
|
|
|
|
BuildRequires: mariadb-connector-c-devel
|
|
|
|
|
BuildRequires: sqlite-devel
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
@ -70,7 +67,7 @@ persistently with PostgreSQL files or URIs.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
|
%patch1 -p1 -b .stub-deprecated
|
|
|
|
|
%patch -P1 -p1 -b .stub-deprecated
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
@ -83,13 +80,11 @@ sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
# rhbz#1952816 we need at last --with-bdb so rdfproc can work, e.g. rebuild of hunspell-ur
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
|
%define distrooptions --disable-digests --without-sqlite --without-mysql --without-postgresql
|
|
|
|
|
%define distrooptions --disable-digests --without-mysql --without-postgresql
|
|
|
|
|
%else
|
|
|
|
|
# fedora
|
|
|
|
|
%define distrooptions --with-sqlite --with-mysql --with-postgresql
|
|
|
|
|
%define distrooptions --with-mysql --with-postgresql
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
|
|
@ -97,7 +92,8 @@ export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
|
|
|
%configure \
|
|
|
|
|
--enable-release \
|
|
|
|
|
--disable-static \
|
|
|
|
|
--with-bdb \
|
|
|
|
|
--with-sqlite \
|
|
|
|
|
--without-bdb \
|
|
|
|
|
--without-threestone \
|
|
|
|
|
--without-virtuoso \
|
|
|
|
|
%{distrooptions} \
|
|
|
|
@ -130,9 +126,9 @@ make check
|
|
|
|
|
%{_mandir}/man1/redland-db-upgrade.1*
|
|
|
|
|
%{_mandir}/man1/rdfproc.1*
|
|
|
|
|
%{_mandir}/man3/redland.3*
|
|
|
|
|
%if ! 0%{?rhel}
|
|
|
|
|
%dir %{_libdir}/redland
|
|
|
|
|
%{_libdir}/redland/librdf_storage_sqlite.so
|
|
|
|
|
%if ! 0%{?rhel}
|
|
|
|
|
%{_datadir}/redland/mysql-v1.ttl
|
|
|
|
|
%{_datadir}/redland/mysql-v2.ttl
|
|
|
|
|
%endif
|
|
|
|
@ -157,17 +153,46 @@ make check
|
|
|
|
|
%{_libdir}/pkgconfig/redland.pc
|
|
|
|
|
%{_mandir}/man1/redland-config.1*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.17-29
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Sun Dec 22 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.0.17-38
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Fri Apr 23 2021 Caolán McNamara <caolanm@redhat.com> - 1.0.7-28
|
|
|
|
|
- rhbz#1952816 rdfproc: Failed to open hashes storage
|
|
|
|
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.17-38
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.17-37
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.17-27
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.17-36
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.17-35
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 24 2023 Caolán McNamara <caolanm@redhat.com> - 1.0.17-34
|
|
|
|
|
- migrated to SPDX license
|
|
|
|
|
|
|
|
|
|
* Tue Jan 31 2023 Caolán McNamara <caolanm@redhat.com> - 1.0.17-33
|
|
|
|
|
- Resolves: rhbz#1788504 drop libdb dependency from redland
|
|
|
|
|
note: rdfproc -s file of -s sqlite are potentially options
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.17-32
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Nov 30 2022 Caolán McNamara <caolanm@redhat.com> - 1.0.17-31
|
|
|
|
|
- rebuild for F38
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.17-30
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.17-29
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.17-28
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Apr 23 2021 Caolán McNamara <caolanm@redhat.com> - 1.0.7-27
|
|
|
|
|
- rhbz#1952816 rdfproc: Failed to open hashes storage
|
|
|
|
|
|
|
|
|
|
* Mon Mar 22 2021 Caolán McNamara <caolanm@redhat.com> - 1.0.7-26
|
|
|
|
|
- rhbz#1936659 disable rhel redland digests and stub deprecated librdf_uri_get_digest
|
|
|
|
|