|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
%global maj 0
|
|
|
|
|
|
|
|
|
|
Name: serd
|
|
|
|
|
Version: 0.28.0
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 0.30.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A lightweight C library for RDF syntax
|
|
|
|
|
|
|
|
|
|
License: ISC
|
|
|
|
@ -13,19 +13,16 @@ BuildRequires: doxygen
|
|
|
|
|
BuildRequires: graphviz
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
BuildRequires: python2
|
|
|
|
|
BuildRequires: python2-rpm-macros
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{name} is a lightweight C library for RDF syntax which supports reading and
|
|
|
|
|
writing Turtle and NTriples.
|
|
|
|
|
writing Turtle, TRiG, NTriples, and NQuads.
|
|
|
|
|
|
|
|
|
|
Serd is not intended to be a swiss-army knife of RDF syntax, but rather is
|
|
|
|
|
suited to resource limited or performance critical applications (e.g.
|
|
|
|
|
converting many gigabytes of NTriples to Turtle), or situations where a
|
|
|
|
|
simple reader/writer with minimal dependencies is ideal (e.g. in LV2
|
|
|
|
|
implementations or embedded applications).is a library to make the use of
|
|
|
|
|
LV2 plugins as simple as possible for applications.
|
|
|
|
|
Serd is suitable for performance-critical or resource-limited applications,
|
|
|
|
|
such as serialising very large data sets, network protocols, or embedded
|
|
|
|
|
systems that require minimal dependencies and lightweight deployment.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development libraries and headers for %{name}
|
|
|
|
@ -33,18 +30,18 @@ Requires: %{name}%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
%{name} is a lightweight C library for RDF syntax which supports reading and
|
|
|
|
|
writing Turtle and NTriples.
|
|
|
|
|
writing Turtle, TRiG, NTriples, and NQuads.
|
|
|
|
|
|
|
|
|
|
This package contains the headers and development libraries for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
# we'll run ldconfig
|
|
|
|
|
# we'll run ldconfig, well not any more, see
|
|
|
|
|
# https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets
|
|
|
|
|
sed -i -e 's|bld.add_post_fun(autowaf.run_ldconfig)||' wscript
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export CFLAGS="%{optflags}"
|
|
|
|
|
export LDFLAGS="%{__global_ldflags}"
|
|
|
|
|
%set_build_flags
|
|
|
|
|
%{__python2} waf configure \
|
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
@ -62,10 +59,6 @@ chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.*
|
|
|
|
|
install -d %{buildroot}%{_docdir}/%{name}/%{name}-%{maj}
|
|
|
|
|
mv %{buildroot}%{_docdir}/%{name}-%{maj}/html %{buildroot}%{_docdir}/%{name}/%{name}-%{maj}/html
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc AUTHORS NEWS README.md
|
|
|
|
@ -81,6 +74,11 @@ mv %{buildroot}%{_docdir}/%{name}-%{maj}/html %{buildroot}%{_docdir}/%{name}/%{n
|
|
|
|
|
%{_includedir}/%{name}-%{maj}/
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jul 26 2018 Guido Aulisi <guido.aulisi@gmail.com> - 0.30.0-1
|
|
|
|
|
- Update to 0.30.0
|
|
|
|
|
- Remove ldconfig scriptlets
|
|
|
|
|
- Minor spec cleanup
|
|
|
|
|
|
|
|
|
|
* Sun Jul 15 2018 Guido Aulisi <guido.aulisi@gmail.com> - 0.28.0-5
|
|
|
|
|
- Fix FTBFS due to the move of /usr/bin/python into a separate package
|
|
|
|
|
|
|
|
|
|