|
|
|
@ -2,8 +2,8 @@
|
|
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
|
|
|
|
|
|
Name: sord
|
|
|
|
|
Version: 0.16.0
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 0.16.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A lightweight Resource Description Framework (RDF) C library
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
@ -16,8 +16,8 @@ BuildRequires: doxygen
|
|
|
|
|
BuildRequires: graphviz
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
BuildRequires: python2
|
|
|
|
|
BuildRequires: python2-rpm-macros
|
|
|
|
|
BuildRequires: serd-devel >= 0.22.4
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
BuildRequires: serd-devel >= 0.29.4
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
|
|
|
|
@ -46,8 +46,7 @@ sed -i -e "s|bld.add_post_fun(autowaf.run_ldconfig)||" \
|
|
|
|
|
|cflags = [ '-DSORD_INTERNAL' ] + '%optflags'.split(' ') |" wscript
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export CXXFLAGS="%{optflags}"
|
|
|
|
|
export CFLAGS="%{optflags}"
|
|
|
|
|
%set_build_flags
|
|
|
|
|
export LINKFLAGS="%{__global_ldflags}"
|
|
|
|
|
%{__python2} waf configure \
|
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
@ -64,10 +63,6 @@ DESTDIR=%{buildroot} %{__python2} waf install
|
|
|
|
|
chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.*
|
|
|
|
|
install -pm 644 AUTHORS NEWS README COPYING %{buildroot}%{_pkgdocdir}
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%{_pkgdocdir}
|
|
|
|
|
%exclude %{_pkgdocdir}/%{name}-%{maj}/
|
|
|
|
@ -86,6 +81,11 @@ install -pm 644 AUTHORS NEWS README COPYING %{buildroot}%{_pkgdocdir}
|
|
|
|
|
%{_mandir}/man3/%{name}*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jul 30 2018 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.2-1
|
|
|
|
|
- Update to 0.16.2
|
|
|
|
|
- Remove ldconfig scriptlets
|
|
|
|
|
- Minor spec cleanup
|
|
|
|
|
|
|
|
|
|
* Sun Jul 15 2018 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.0-6
|
|
|
|
|
- Fix FTBFS due to the move of /usr/bin/python into a separate package
|
|
|
|
|
|
|
|
|
|