From: kloczek Date: Fri, 13 Apr 2001 22:36:21 +0000 (+0000) Subject: - added gzipping %doc. X-Git-Tag: gtk-doc-0_4b1-1 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=be69a2b3227e64dc37da4072ec3203412b069770;p=packages%2Fgtk-doc.git - added gzipping %doc. Changed files: gtk-doc.spec -> 1.2 --- diff --git a/gtk-doc.spec b/gtk-doc.spec index aa67e77..575b2f5 100644 --- a/gtk-doc.spec +++ b/gtk-doc.spec @@ -22,14 +22,14 @@ gtk-doc is a tool for generating API reference documentation. It is used for generating the documentation for GTK+, GLib and GNOME. %prep - %setup -q %patch -p1 -b .pubid # Move this doc file to avoid name collisions mv doc/README doc/README.docs %build -%configure --enable-public-id +%configure \ + --enable-public-id %{__make} %install @@ -37,13 +37,13 @@ rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT +gzip -9nf AUTHORS README doc/* examples/* + %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) - %doc AUTHORS README doc/* examples - %attr(755,root,root) %{_bindir}/* -%{_datadir}/gtk-doc/ +%{_datadir}/gtk-doc