rpms/evas/devel evas.spec,1.13,1.14

thomasj thomasj at fedoraproject.org
Mon Feb 15 21:42:55 UTC 2010


Author: thomasj

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

Modified Files:
	evas.spec 
Log Message:
re-added missing man pages



Index: evas.spec
===================================================================
RCS file: /cvs/pkgs/rpms/evas/devel/evas.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- evas.spec	15 Feb 2010 20:28:58 -0000	1.13
+++ evas.spec	15 Feb 2010 21:42:55 -0000	1.14
@@ -39,8 +39,7 @@ developing applications that use %{name}
 %build
 %configure --disable-static --enable-gl-x11 -enable-fb
 make %{?_smp_mflags}
-# sed -i -e 's/$projectname Documentation Generated: $datetime/$projectname Documentation/' doc/foot.html
-# ./gendoc
+cd doc; make doc %{?_smp_mflags}
 
 
 %install
@@ -51,6 +50,18 @@ chrpath --delete %{buildroot}%{_bindir}/
 chrpath --delete %{buildroot}%{_libdir}/libevas-ver-svn-05.so.0.9.9
 find %{buildroot} -name '*.la' -delete
 
+# remove unfinished manpages
+find doc/man/man3 -size -100c -delete
+
+for l in todo %{name}.dox
+do
+ rm -f doc/man/man3/$l.3
+done 
+
+chmod -x doc/html/*
+
+mkdir -p %{buildroot}%{_mandir}/man3
+install -Dpm0644 doc/man/man3/* %{buildroot}%{_mandir}/man3
 
 %clean
 rm -rf %{buildroot}
@@ -71,7 +82,8 @@ rm -rf %{buildroot}
 
 %files devel
 %defattr(-,root,root,-)
-%doc doc/*html
+%doc doc/html/*
+%{_mandir}/man3/*
 %{_includedir}/*
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc



More information about the scm-commits mailing list