Add some more documentation from the upstream tarball

Add a symlink to make sure that the reference documentation shows up in
Devhelp.
This commit is contained in:
David King 2014-12-03 15:28:37 +00:00
parent 96eb7b2988
commit ceb3d56240

View File

@ -130,8 +130,10 @@ mkdir -p %{buildroot}/var/lib/dbus
install -pm 644 -t %{buildroot}%{_pkgdocdir} \ install -pm 644 -t %{buildroot}%{_pkgdocdir} \
doc/introspect.dtd doc/introspect.xsl doc/system-activation.txt doc/introspect.dtd doc/introspect.xsl doc/system-activation.txt
%clean # Make sure that the documentation shows up in Devhelp.
rm -rf %{buildroot} mkdir -p %{buildroot}%{_datadir}/gtk-doc/html
ln -s %{_pkgdocdir} %{buildroot}%{_datadir}/gtk-doc/html/dbus
%pre %pre
# Add the "dbus" user and group # Add the "dbus" user and group
@ -152,12 +154,16 @@ rm -rf %{buildroot}
%files %files
# Strictly speaking, we could remove the COPYING from this subpackage and # Strictly speaking, we could remove the COPYING from this subpackage and
# just have it be in libs, because dbus Requires dbus-libs # just have it be in libs, because dbus Requires dbus-libs.
# However, since it lived here before, I left it in place.
# Maintainer, feel free to remove it from here if you wish.
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
%license COPYING %license COPYING
%dir %{_pkgdocdir} %doc AUTHORS ChangeLog HACKING NEWS README
%exclude %{_pkgdocdir}/api
%exclude %{_pkgdocdir}/dbus.devhelp
%exclude %{_pkgdocdir}/diagram.*
%exclude %{_pkgdocdir}/introspect.*
%exclude %{_pkgdocdir}/system-activation.txt
%exclude %{_pkgdocdir}/*.html
%dir %{_sysconfdir}/dbus-1 %dir %{_sysconfdir}/dbus-1
%config %{_sysconfdir}/dbus-1/*.conf %config %{_sysconfdir}/dbus-1/*.conf
%dir %{_sysconfdir}/dbus-1/system.d %dir %{_sysconfdir}/dbus-1/system.d
@ -203,6 +209,12 @@ rm -rf %{buildroot}
%files doc %files doc
%{_pkgdocdir}/* %{_pkgdocdir}/*
%{_datadir}/gtk-doc
%exclude %{_pkgdocdir}/AUTHORS
%exclude %{_pkgdocdir}/ChangeLog
%exclude %{_pkgdocdir}/HACKING
%exclude %{_pkgdocdir}/NEWS
%exclude %{_pkgdocdir}/README
%files devel %files devel
%{_libdir}/lib*.so %{_libdir}/lib*.so
@ -216,6 +228,7 @@ rm -rf %{buildroot}
- Drop bindir patch, and update to comply with UsrMove - Drop bindir patch, and update to comply with UsrMove
- Correct license description for multiple licenses - Correct license description for multiple licenses
- Use macroized systemd scriptlets (#850083) - Use macroized systemd scriptlets (#850083)
- Add some more documentation from the upstream tarball
* Wed Nov 26 2014 David King <amigadave@amigadave.com> - 1:1.8.12-1 * Wed Nov 26 2014 David King <amigadave@amigadave.com> - 1:1.8.12-1
- Update to 1.8.12 (#1168438) - Update to 1.8.12 (#1168438)