123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- %define name gtk-doc
- %define ver 1.11
- %define rel 1%{_dist_release}
- Summary: API documentation generation tool for GTK+ and GNOME
- Summary(ja): GTK+/GNOME 用 API ドキュメント生成ツール
- Name: %{name}
- Version: %{ver}
- Release: %{rel}
- License: LGPL
- Group: Development/Tools
- Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.10/%{name}-%{version}.tar.bz2
- Source1: filter-requires-gtk-doc.sh
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- URL: http://www.gtk.org/gtk-doc/
- BuildArch: noarch
- BuildRequires: docbook-utils, jade, libxslt, docbook-style-xsl
- Requires: docbook-utils, jade, libxslt, docbook-style-xsl, diffutils
- Requires(post): scrollkeeper
- Requires(postun): scrollkeeper
- %define __find_requires %{SOURCE1}
- %description
- 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
- # Move this doc file to avoid name collisions
- mv doc/README doc/README.docs
- %build
- %configure --enable-public-id --docdir=%{_datadir}/gnome/help/gtk-doc-manual
- make
- %install
- [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
- #find_lang %{name}
- %clean
- [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
- %post
- scrollkeeper-update > /dev/null 2>&1 || :
- %postun
- scrollkeeper-update > /dev/null 2>&1 || :
- %files
- %defattr(-, root, root)
- %doc AUTHORS COPYING ChangeLog INSTALL NEWS README doc/* examples
- %{_bindir}/*
- %{_datadir}/aclocal/gtk-doc.m4
- %{_datadir}/gnome/help/gtk-doc-manual
- %{_datadir}/gtk-doc
- %{_datadir}/sgml/gtk-doc
- %{_datadir}/omf/gtk-doc-manual
- %{_datadir}/pkgconfig/*.pc
- %changelog
- * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.11-1
- - new upstream release
- * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10-1vl5
- - new upstream release
- - added --docdir
- * Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8-0vl1
- - new upstream release
- - added SOURCE1 for removing dependancy
- - added %post and %postun section
- - added Requires(post,postun): scrollkeeper
- * Sun Sep 25 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0vl1
- - new upstream release
- * Tue Apr 27 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-1vl1
- - new upstream release
- - added some files %file section (based on Fedora 1.2-1)
- - s/Copyright/License/
- * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-0vl1
- - new upstream release
- * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl1
- - new upstream release
- * Sat Sep 28 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9-5vl1
- - Based on Redhat, changed summary and description
- * Thu May 30 2002 Chip Turner <cturner@redhat.com>
- - add dependency filter for bogus perl dependencies
- * Thu Apr 4 2002 Jeremy Katz <katzj@redhat.com>
- - update to 0.9
- * Fri Oct 12 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.5.9-1vl1
- - Based on RH srpms.
- * Thu May 17 2001 Havoc Pennington <hp@redhat.com>
- - upgrade to a CVS snapshot
- - remove patches applied upstream
- * Tue Jan 16 2001 Tim Waugh <twaugh@redhat.com>
- - Replace docbook, sgml-common, and stylesheets requirements with
- docbook-utils requirement.
- - Use public identifier in custom stylesheets.
- * Wed Apr 13 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4-0vl2
- - Added a build depends.
- * Tue Jan 2 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4-0vl1
- - Build for Vine
- * Wed Nov 15 2000 John Gotts <jgotts@linuxsavvy.com>
- - Minor updates for 0.4.
- * Thu Aug 26 1999 John E. Gotts <jgotts@engin.umich.edu>
- - Created spec file.
|