diff --git a/4store.changes b/4store.changes new file mode 100644 index 0000000..61e846b --- /dev/null +++ b/4store.changes @@ -0,0 +1,36 @@ +------------------------------------------------------------------- +Sat Jun 9 22:19:22 UTC 2018 - antoine.belvire@opensuse.org + +- Update to 1.1.6: + * No changelog provided. +- Clean with spec-cleaner. + +------------------------------------------------------------------- +Mon Jun 15 15:03:02 UTC 2015 - schwab@suse.de + +- invalid-define.patch: Remove invalid definition of internal identifier + +------------------------------------------------------------------- +Tue Apr 21 14:37:53 UTC 2015 - mpluskal@suse.com + +- Remove fedora dependencies +- Use pkgconfig() style dependencies + +------------------------------------------------------------------- +Sat Aug 24 23:26:10 UTC 2013 - prusnak@opensuse.org + +- updated to 1.1.5 + +------------------------------------------------------------------- +Fri Mar 16 16:12:42 UTC 2012 - prusnak@opensuse.org + +- spec cleanup +- added libs.patch to add missing libraries to linker (m, readline) + +------------------------------------------------------------------- +Wed Sep 14 11:34:17 UTC 2011 - lazy.kent@opensuse.org + +- Initial package created - 1.1.3. +- Patch to fix build problem with '--as-needed' linker option + (lp#803170) from Debian project. + diff --git a/4store.spec b/4store.spec new file mode 100644 index 0000000..ca5e84a --- /dev/null +++ b/4store.spec @@ -0,0 +1,102 @@ +# +# spec file for package 4store +# +# Copyright (c) 2018 SUSE LINUX 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/ +# + + +%define major 0 +Name: 4store +Version: 1.1.6 +Release: 0 +Summary: RDF Storage and SPARQL Query Engine +License: GPL-3.0-or-later +Group: Productivity/Databases/Servers +URL: https://4store.github.io +Source: https://github.com/4store/4store/archive/v%{version}/%{name}-%{version}.tar.gz +Patch0: invalid-define.patch +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: readline-devel +BuildRequires: pkgconfig(avahi-client) +BuildRequires: pkgconfig(avahi-core) +BuildRequires: pkgconfig(avahi-glib) +BuildRequires: pkgconfig(expat) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gthread-2.0) +BuildRequires: pkgconfig(libpcre) +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(libxslt) +BuildRequires: pkgconfig(ncurses) +BuildRequires: pkgconfig(raptor2) +BuildRequires: pkgconfig(rasqal) +BuildRequires: pkgconfig(uuid) +BuildRequires: pkgconfig(zlib) + +%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 +Group: System/Libraries + +%description -n lib4store%{major} +This package provides 4store RDF storage shared library. + +%package -n lib4store-devel +Summary: 4store RDF Storage Development Files +Group: Development/Libraries/C and C++ +Requires: lib4store%{major} = %{version} + +%description -n lib4store-devel +This package provides 4store RDF storage development files. + +%prep +%setup -q +%patch0 -p1 + +%build +# configure script is not shipped since v1.1.6, generation is required +echo %{version} > .version && ./autogen.sh +%configure --disable-static +make %{?_smp_mflags} + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print +sed -i 's:/usr/bin/env bash:/bin/bash:' %{buildroot}%{_bindir}/4s-* +sed -i 's:/usr/bin/env perl:/usr/bin/perl:' %{buildroot}%{_bindir}/4s-* + +%post -n lib4store%{major} -p /sbin/ldconfig +%postun -n lib4store%{major} -p /sbin/ldconfig + +%files +%license COPYING +%doc AUTHORS ChangeLog NEWS README +%{_bindir}/4s-* +%{_mandir}/man1/* +%{_mandir}/man5/* +%{_mandir}/man8/* + +%files -n lib4store%{major} +%{_libdir}/lib4store.so.* + +%files -n lib4store-devel +%license COPYING +%doc AUTHORS ChangeLog NEWS README +%{_includedir}/%{name} +%{_libdir}/lib4store.so +%{_libdir}/pkgconfig/* + +%changelog diff --git a/invalid-define.patch b/invalid-define.patch new file mode 100644 index 0000000..b6e6d04 --- /dev/null +++ b/invalid-define.patch @@ -0,0 +1,12 @@ +Index: 4store-v1.1.5/src/frontend/filter-datatypes.c +=================================================================== +--- 4store-v1.1.5.orig/src/frontend/filter-datatypes.c ++++ 4store-v1.1.5/src/frontend/filter-datatypes.c +@@ -22,7 +22,6 @@ + #include + #include + #include +-#define __USE_MISC + #include + + #include "filter.h"