4store 1.1.7 OBS-URL: https://build.opensuse.org/request/show/1176807 OBS-URL: https://build.opensuse.org/package/show/server:database/4store?expand=0&rev=18
106 lines
3.1 KiB
RPMSpec
106 lines
3.1 KiB
RPMSpec
#
|
|
# spec file for package 4store
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
%define major 0
|
|
Name: 4store
|
|
Version: 1.1.7
|
|
Release: 0
|
|
Summary: RDF Storage and SPARQL Query Engine
|
|
License: GPL-3.0-or-later
|
|
URL: https://4store.github.io
|
|
Source: https://github.com/4store/4store/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
BuildRequires: libtool
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(avahi-client)
|
|
BuildRequires: pkgconfig(avahi-glib)
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.2.0
|
|
BuildRequires: pkgconfig(gthread-2.0) >= 2.2.0
|
|
BuildRequires: pkgconfig(libpcre)
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
BuildRequires: pkgconfig(ncurses)
|
|
BuildRequires: pkgconfig(raptor2)
|
|
BuildRequires: pkgconfig(rasqal) >= 0.9.22
|
|
BuildRequires: pkgconfig(uuid)
|
|
BuildRequires: pkgconfig(zlib)
|
|
%if 0%{?suse_version} > 1600
|
|
BuildRequires: pkgconfig(readline)
|
|
%else
|
|
BuildRequires: readline-devel
|
|
%endif
|
|
|
|
%description
|
|
4store was designed by Steve Harris and developed at Garlik to underpin
|
|
their Semantic Web applications. It has been providing the base platform
|
|
for around 3 years. At times holding and running queries over databases of
|
|
15GT, supporting a Web application used by thousands of people.
|
|
|
|
%package -n lib4store%{major}
|
|
Summary: 4store RDF Storage Library
|
|
|
|
%description -n lib4store%{major}
|
|
This package provides 4store RDF storage shared library.
|
|
|
|
%package -n lib4store-devel
|
|
Summary: 4store RDF Storage Development Files
|
|
Requires: lib4store%{major} = %{version}
|
|
|
|
%description -n lib4store-devel
|
|
This package provides 4store RDF storage development files.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
# configure script is not shipped since v1.1.6, generation is required
|
|
echo %{version} > .version && ./autogen.sh
|
|
# needed for building with gcc10
|
|
export CFLAGS="%{optflags} -fcommon"
|
|
%configure --disable-static
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
sed -i 's:%{_bindir}/env bash:/bin/bash:' %{buildroot}%{_bindir}/4s-*
|
|
sed -i 's:%{_bindir}/env perl:%{_bindir}/perl:' %{buildroot}%{_bindir}/4s-*
|
|
|
|
%ldconfig_scriptlets -n lib4store%{major}
|
|
|
|
%check
|
|
#%%make_build tests
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc AUTHORS ChangeLog NEWS README
|
|
%{_bindir}/4s-*
|
|
%{_mandir}/man?/*.?%{?ext_man}
|
|
|
|
%files -n lib4store%{major}
|
|
%license COPYING
|
|
%{_libdir}/lib4store.so.*
|
|
|
|
%files -n lib4store-devel
|
|
%license COPYING
|
|
%doc AUTHORS ChangeLog NEWS README
|
|
%{_includedir}/%{name}
|
|
%{_libdir}/lib4store.so
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
%changelog
|