|
|
|
@ -2,8 +2,8 @@
|
|
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
|
|
|
|
|
|
Name: sord
|
|
|
|
|
Version: 0.16.2
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 0.16.4
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A lightweight Resource Description Framework (RDF) C library
|
|
|
|
|
|
|
|
|
|
License: ISC
|
|
|
|
@ -14,8 +14,7 @@ BuildRequires: boost-devel
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: graphviz
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
BuildRequires: python2
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
BuildRequires: python3
|
|
|
|
|
BuildRequires: serd-devel >= 0.30.0
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
@ -46,7 +45,7 @@ sed -i -e "s|bld.add_post_fun(autowaf.run_ldconfig)||" \
|
|
|
|
|
%build
|
|
|
|
|
%set_build_flags
|
|
|
|
|
export LINKFLAGS="%{__global_ldflags}"
|
|
|
|
|
%{__python2} waf configure \
|
|
|
|
|
python3 waf configure \
|
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
@ -54,12 +53,12 @@ export LINKFLAGS="%{__global_ldflags}"
|
|
|
|
|
--docdir=%{_pkgdocdir} \
|
|
|
|
|
--test \
|
|
|
|
|
--docs
|
|
|
|
|
%{__python2} waf build -v %{?_smp_mflags}
|
|
|
|
|
python3 waf build -v %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
DESTDIR=%{buildroot} %{__python2} waf install
|
|
|
|
|
DESTDIR=%{buildroot} python3 waf install
|
|
|
|
|
chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.*
|
|
|
|
|
install -pm 644 AUTHORS NEWS README COPYING %{buildroot}%{_pkgdocdir}
|
|
|
|
|
install -pm 644 AUTHORS NEWS README.md COPYING %{buildroot}%{_pkgdocdir}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%{_pkgdocdir}
|
|
|
|
@ -79,6 +78,10 @@ install -pm 644 AUTHORS NEWS README COPYING %{buildroot}%{_pkgdocdir}
|
|
|
|
|
%{_mandir}/man3/%{name}*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Dec 06 2019 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.4-1
|
|
|
|
|
- Update to 0.16.4
|
|
|
|
|
- Use python3
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.2-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|