diff --git a/evas.spec b/evas.spec index 338f441..3bce118 100644 --- a/evas.spec +++ b/evas.spec @@ -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}/evas* 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