rpms/hamlib/devel hamlib.spec,1.41,1.42

Lucian Langa lucilanga at fedoraproject.org
Mon Aug 24 19:50:17 UTC 2009


Author: lucilanga

Update of /cvs/pkgs/rpms/hamlib/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15811

Modified Files:
	hamlib.spec 
Log Message:
* Wed Aug 23 2009 Lucian Langa <cooly at gnome.eu.org> - 1.2.9-1
- new install rule for docs for new doxygen
- misc cleanups
- patch0 update
- new upstream release


Index: hamlib.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hamlib/devel/hamlib.spec,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -p -r1.41 -r1.42
--- hamlib.spec	23 Aug 2009 08:52:03 -0000	1.41
+++ hamlib.spec	24 Aug 2009 19:50:17 -0000	1.42
@@ -109,10 +109,13 @@ make -C doc doc
 rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
 #install documentation
-mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}/html
-for f in `ls doc/html/`
-	do install -m 0644 doc/html/$f $RPM_BUILD_ROOT%{_docdir}/%{name}/html/$f 
+mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}/html/search
+for f in `find doc/html/ -type f -maxdepth 1`
+	do install -D -m 0644 $f $RPM_BUILD_ROOT%{_docdir}/%{name}/`echo $f | cut -d '/' -f2`
 done
+for f in `find doc/html/search -type f -maxdepth 1`
+	do install -D -m 0644 $f $RPM_BUILD_ROOT%{_docdir}/%{name}/html/`echo $f | cut -d '/' -f3`
+ done
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/hamlib-*.a $RPM_BUILD_ROOT%{_libdir}/hamlib-*.la
 
@@ -204,6 +207,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %changelog
 * Wed Aug 23 2009 Lucian Langa <cooly at gnome.eu.org> - 1.2.9-1
+- new install rule for docs for new doxygen
 - misc cleanups
 - patch0 update
 - new upstream release




More information about the scm-commits mailing list