|
|
|
@ -2,8 +2,8 @@
|
|
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
|
|
|
|
|
|
Name: sord
|
|
|
|
|
Version: 0.12.2
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
Version: 0.16.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A lightweight Resource Description Framework (RDF) C library
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
@ -16,7 +16,8 @@ BuildRequires: doxygen
|
|
|
|
|
BuildRequires: graphviz
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
BuildRequires: python
|
|
|
|
|
BuildRequires: serd-devel >= 0.14.0
|
|
|
|
|
BuildRequires: serd-devel >= 0.22.4
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{name} is a lightweight C library for storing Resource Description
|
|
|
|
@ -45,6 +46,7 @@ sed -i -e "s|bld.add_post_fun(autowaf.run_ldconfig)||" \
|
|
|
|
|
%build
|
|
|
|
|
export CXXFLAGS="%{optflags}"
|
|
|
|
|
export CFLAGS="%{optflags}"
|
|
|
|
|
export LINKFLAGS="%{__global_ldflags}"
|
|
|
|
|
./waf configure \
|
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
@ -67,6 +69,8 @@ install -pm 644 AUTHORS NEWS README COPYING %{buildroot}%{_pkgdocdir}
|
|
|
|
|
%files
|
|
|
|
|
%{_pkgdocdir}
|
|
|
|
|
%exclude %{_pkgdocdir}/%{name}-%{maj}/
|
|
|
|
|
%exclude %{_pkgdocdir}/COPYING
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_libdir}/lib%{name}-%{maj}.so.*
|
|
|
|
|
%{_bindir}/sordi
|
|
|
|
|
%{_bindir}/sord_validate
|
|
|
|
@ -80,6 +84,11 @@ install -pm 644 AUTHORS NEWS README COPYING %{buildroot}%{_pkgdocdir}
|
|
|
|
|
%{_mandir}/man3/%{name}*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Mar 14 2017 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.0-1
|
|
|
|
|
- Update to 0.16.0
|
|
|
|
|
- Use hardened LDFLAGS
|
|
|
|
|
- Use license macro
|
|
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.2-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|