|
|
@ -1,8 +1,8 @@
|
|
|
|
%global maj 0
|
|
|
|
%global maj 0
|
|
|
|
|
|
|
|
|
|
|
|
Name: serd
|
|
|
|
Name: serd
|
|
|
|
Version: 0.28.0
|
|
|
|
Version: 0.30.0
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: A lightweight C library for RDF syntax
|
|
|
|
Summary: A lightweight C library for RDF syntax
|
|
|
|
|
|
|
|
|
|
|
|
License: ISC
|
|
|
|
License: ISC
|
|
|
@ -13,19 +13,16 @@ BuildRequires: doxygen
|
|
|
|
BuildRequires: graphviz
|
|
|
|
BuildRequires: graphviz
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: python2
|
|
|
|
BuildRequires: python2
|
|
|
|
BuildRequires: python2-rpm-macros
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
%{name} is a lightweight C library for RDF syntax which supports reading and
|
|
|
|
%{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
|
|
|
|
Serd is suitable for performance-critical or resource-limited applications,
|
|
|
|
suited to resource limited or performance critical applications (e.g.
|
|
|
|
such as serialising very large data sets, network protocols, or embedded
|
|
|
|
converting many gigabytes of NTriples to Turtle), or situations where a
|
|
|
|
systems that require minimal dependencies and lightweight deployment.
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Development libraries and headers for %{name}
|
|
|
|
Summary: Development libraries and headers for %{name}
|
|
|
@ -33,18 +30,18 @@ Requires: %{name}%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
%{name} is a lightweight C library for RDF syntax which supports reading and
|
|
|
|
%{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}.
|
|
|
|
This package contains the headers and development libraries for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%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
|
|
|
|
sed -i -e 's|bld.add_post_fun(autowaf.run_ldconfig)||' wscript
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
export CFLAGS="%{optflags}"
|
|
|
|
%set_build_flags
|
|
|
|
export LDFLAGS="%{__global_ldflags}"
|
|
|
|
|
|
|
|
%{__python2} waf configure \
|
|
|
|
%{__python2} waf configure \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
@ -62,10 +59,6 @@ chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.*
|
|
|
|
install -d %{buildroot}%{_docdir}/%{name}/%{name}-%{maj}
|
|
|
|
install -d %{buildroot}%{_docdir}/%{name}/%{name}-%{maj}
|
|
|
|
mv %{buildroot}%{_docdir}/%{name}-%{maj}/html %{buildroot}%{_docdir}/%{name}/%{name}-%{maj}/html
|
|
|
|
mv %{buildroot}%{_docdir}/%{name}-%{maj}/html %{buildroot}%{_docdir}/%{name}/%{name}-%{maj}/html
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS NEWS README.md
|
|
|
|
%doc AUTHORS NEWS README.md
|
|
|
@ -81,6 +74,11 @@ mv %{buildroot}%{_docdir}/%{name}-%{maj}/html %{buildroot}%{_docdir}/%{name}/%{n
|
|
|
|
%{_includedir}/%{name}-%{maj}/
|
|
|
|
%{_includedir}/%{name}-%{maj}/
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%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
|
|
|
|
* 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
|
|
|
|
- Fix FTBFS due to the move of /usr/bin/python into a separate package
|
|
|
|
|
|
|
|
|
|
|
|