SPECS: fltk.spec - fix browsing docs from fluid help menu (added symlink)

twittner twittner at pld-linux.org
Wed Aug 20 18:03:35 CEST 2008


Author: twittner                     Date: Wed Aug 20 16:03:35 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix browsing docs from fluid help menu (added symlink)

---- Files affected:
SPECS:
   fltk.spec (1.64 -> 1.65) 

---- Diffs:

================================================================
Index: SPECS/fltk.spec
diff -u SPECS/fltk.spec:1.64 SPECS/fltk.spec:1.65
--- SPECS/fltk.spec:1.64	Mon Jul 14 18:33:03 2008
+++ SPECS/fltk.spec	Wed Aug 20 18:03:30 2008
@@ -176,6 +176,10 @@
 mv -f $RPM_BUILD_ROOT%{_mandir}/man6/{,fltk-}${f}.6
 done
 
+# add link to documentation for fluid help; remove /usr/share/doc/fltk contents - it is installed during make install
+rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
+ln -sf %{_datadir}/doc/%{name}-devel-%{version} $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -193,6 +197,7 @@
 %files devel
 %defattr(644,root,root,755)
 %doc documentation/*.{html,gif,jpg} fltk.pdf
+%doc %{_datadir}/doc/%{name}
 %attr(755,root,root) %{_bindir}/fltk-config
 %attr(755,root,root) %{_bindir}/fluid
 %attr(755,root,root) %{_libdir}/libfltk.so
@@ -252,6 +257,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.65  2008/08/20 16:03:30  twittner
+- fix browsing docs from fluid help menu (added symlink)
+
 Revision 1.64  2008/07/14 16:33:03  qboosh
 - libXinerama not just xineramaproto
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/fltk.spec?r1=1.64&r2=1.65&f=u



More information about the pld-cvs-commit mailing list