|
|
|
@ -1,11 +1,10 @@
|
|
|
|
|
%global maj 0
|
|
|
|
|
|
|
|
|
|
Name: serd
|
|
|
|
|
Version: 0.22.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 0.26.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A lightweight C library for RDF syntax
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
License: ISC
|
|
|
|
|
URL: http://drobilla.net/software/serd/
|
|
|
|
|
Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2
|
|
|
|
@ -28,7 +27,6 @@ LV2 plugins as simple as possible for applications.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development libraries and headers for %{name}
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name}%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
@ -44,6 +42,7 @@ sed -i -e 's|bld.add_post_fun(autowaf.run_ldconfig)||' wscript
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export CFLAGS="%{optflags}"
|
|
|
|
|
export LDFLAGS="%{__global_ldflags}"
|
|
|
|
|
./waf configure \
|
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
@ -57,6 +56,9 @@ export CFLAGS="%{optflags}"
|
|
|
|
|
%install
|
|
|
|
|
DESTDIR=%{buildroot} ./waf install
|
|
|
|
|
chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.*
|
|
|
|
|
# Move devel docs to the right directory
|
|
|
|
|
install -d %{buildroot}%{_docdir}/%{name}/%{name}-%{maj}
|
|
|
|
|
mv %{buildroot}%{_docdir}/%{name}-%{maj}/html %{buildroot}%{_docdir}/%{name}/%{name}-%{maj}/html
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
@ -64,17 +66,23 @@ chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.*
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc AUTHORS COPYING NEWS README
|
|
|
|
|
%doc %{_mandir}/man1/serdi.1*
|
|
|
|
|
%{_libdir}/lib%{name}-%{maj}.so.*
|
|
|
|
|
%{_bindir}/serdi
|
|
|
|
|
%{_mandir}/man1/serdi.1*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%doc %{_mandir}/man3/serd.3*
|
|
|
|
|
%doc %{_docdir}/%{name}/%{name}-%{maj}/html/
|
|
|
|
|
%{_libdir}/lib%{name}-%{maj}*.so
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}*.pc
|
|
|
|
|
%{_includedir}/%{name}-%{maj}/
|
|
|
|
|
%{_mandir}/man1/*.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Mar 13 2017 Guido Aulisi <guido.aulisi@gmail.com> - 0.26.0-1
|
|
|
|
|
- Update to 0.26.0
|
|
|
|
|
- Use hardened LDFLAGS
|
|
|
|
|
- Remove deprecated Groups tags
|
|
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|