From: Thomas Vander Stichele Date: Sun, 3 Mar 2002 23:32:09 +0000 (+0000) Subject: finished devhelp stuff X-Git-Tag: RELEASE-0_3_3-GUADECBYFOOT~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4ec2d4aaf76b61bd3cc9ff553d7ed9d18361b46d;p=platform%2Fupstream%2Fgstreamer.git finished devhelp stuff Original commit message from CVS: finished devhelp stuff --- diff --git a/gstreamer.spec.in b/gstreamer.spec.in index 815ac38..8a5f095 100644 --- a/gstreamer.spec.in +++ b/gstreamer.spec.in @@ -71,11 +71,14 @@ applications and plugins for GStreamer. %{_libdir}/libgstreamer.la %{_libdir}/libgstreamer.so %{_libdir}/pkgconfig/* +%{_datadir}/devhelp/specs/gstreamer.devhelp +%{_datadir}/devhelp/specs/gstreamer-libs.devhelp %changelog * Sun Mar 3 2002 Thomas Vander Stichele - put html docs in canonical place, avoiding %doc erasure +- added devhelp support, current install of it is hackish * Sat Mar 2 2002 Christian Schaller - Added documentation to build @@ -166,6 +169,11 @@ fi %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT +# adding devhelp stuff here for now, need to integrate better +# when devhelp allows it +mkdir -p $RPM_BUILD_ROOT/usr/share/devhelp/specs +cp $RPM_BUILD_DIR/%{name}-%{version}/docs/devhelp/*.devhelp $RPM_BUILD_ROOT/usr/share/devhelp/specs + %makeinstall %clean @@ -175,5 +183,11 @@ fi /sbin/ldconfig %{_prefix}/bin/gst-register --gst-mask=0 +%post devel +# adding devhelp links to work around different base not working +mkdir -p %{_datadir}/devhelp/books +ln -sf %{_datadir}/doc/%{name}-devel-%{version}/html/gstreamer %{_datadir}/devhelp/books +ln -sf %{_datadir}/doc/%{name}-devel-%{version}/html/gstreamer-libs %{_datadir}/devhelp/books + %postun /sbin/ldconfig