diff --git a/suil.spec b/suil.spec index ca39564..eafa577 100644 --- a/suil.spec +++ b/suil.spec @@ -1,7 +1,9 @@ %global maj 0 +%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} + Name: suil Version: 0.6.16 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A lightweight C library for loading and wrapping LV2 plugin UIs Group: System Environment/Libraries @@ -56,20 +58,22 @@ export CXXFLAGS="%{optflags}" --prefix=%{_prefix} \ --libdir=%{_libdir} \ --mandir=%{_mandir} \ - --docdir=%{_docdir}/%{name}-devel-%{version} \ + --docdir=%{_pkgdocdir} \ --docs ./waf build -v %{?_smp_mflags} %install DESTDIR=%{buildroot} ./waf install chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.* +install -pm 644 AUTHORS COPYING NEWS README %{buildroot}%{_pkgdocdir} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -%doc AUTHORS NEWS README COPYING +%{_pkgdocdir} +%exclude %{_pkgdocdir}/%{name}-%{maj} %dir %{_libdir}/suil-%{maj} %{_libdir}/lib%{name}-*.so.* %{_libdir}/suil-%{maj}/libsuil_gtk2_in_qt4.so @@ -81,10 +85,13 @@ chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.* %{_libdir}/lib%{name}-%{maj}.so %{_libdir}/pkgconfig/%{name}-%{maj}.pc %{_includedir}/%{name}-%{maj}/ -%{_docdir}/%{name}-devel-%{version} +%{_pkgdocdir}/%{name}-%{maj} %{_mandir}/man3/%{name}.3.gz %changelog +* Mon Dec 16 2013 Ville Skyttä - 0.6.16-2 +- Install docs to %%{_pkgdocdir} where available (#994119). + * Mon Sep 23 2013 Brendan Jones 0.6.16-1 - Update to 0.6.16 (minor Qt fix, NULL extension data)