122 Star 0 Fork 4

src-openEuler/rasqal
关闭

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
rasqal.spec 2.39 KB
一键复制 编辑 原始数据 按行查看 历史
dogsheng 提交于 2019-12-14 21:27 +08:00 . Package init
%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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/rasqal.git
git@gitee.com:src-openeuler/rasqal.git
src-openeuler
rasqal
rasqal
openEuler-24.03-LTS-SP1

搜索帮助