代码拉取完成,页面将自动刷新
%bcond_with test
Name: rasqal
Summary: a free software / Open Source C library that handles Resource Description Framework (RDF)
Version: 0.9.33
Release: 9
License: LGPLv2+ or ASL 2.0
URL: http://librdf.org/rasqal/
Source: http://download.librdf.org/source/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++ libxml2-devel mpfr-devel pcre-devel raptor2-devel
%if %{with test}
BuildRequires: perl(Pod::Usage) perl(XML::DOM)
%endif
%description
Rasqal is a free software / Open Source C library that handles Resource
Description Framework (RDF) query language syntaxes, query construction
and execution of queries returning results as bindings, boolean, RDF
graphs/triples or syntaxes. The supported query languages are SPARQL
Query 1.0, SPARQL Query 1.1, SPARQL Update 1.1 (no executing) and the
Experimental SPARQL extensions (LAQRS). Rasqal can write binding query
results in the SPARQL XML, SPARQL JSON, CSV, TSV, HTML, ASCII tables,
RDF/XML and Turtle / N3 and read them in SPARQL XML, CSV, TSV, RDF/XML
and Turtle / N3.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
%{name} Library Header Files and Link Libraries
%package_help
%prep
%autosetup -p1
%if "%{_libdir}" != "/usr/lib"
sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
%endif
%build
%configure \
--disable-static\
--enable-release
make %{?_smp_mflags}
%install
%make_install
%if %{with test}
%check
export PKG_CONFIG_PATH=${RPM_BUILD_ROOT}%{_datadir}/pkgconfig:${RPM_BUILD_ROOT}%{_libdir}/pkgconfig
test "$(pkg-config --modversion rasqal)" = "%{version}"
make -k check || echo "WARNING: there is no %{_bindir}/rapper, thus, 'make check' skipped"
%endif
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license COPYING
%license COPYING.LIB
%license LICENSE-2.0.txt
%license LICENSE.txt
%{_libdir}/lib%{name}.so.3*
%{_bindir}/roqet
%exclude %{_libdir}/lib*.la
%files devel
%{_bindir}/%{name}-config
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%{_datadir}/gtk-doc/
%{_includedir}/%{name}/
%files help
%doc AUTHORS
%doc ChangeLog
%doc NEWS
%doc NOTICE
%doc README
%doc RELEASE.html
%doc docs/README.html
%{_mandir}/man1/roqet.1*
%{_mandir}/man1/%{name}-config.1*
%{_mandir}/man3/lib%{name}.3*
%changelog
* Tue Nov 19 2019 caomeng<caomeng5@huawei.com> - 0.9.33-9
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。