[521] | 1 | %define name gtk-doc |
---|
[805] | 2 | %define ver 1.14 |
---|
[521] | 3 | %define rel 1%{_dist_release} |
---|
| 4 | |
---|
| 5 | Summary: API documentation generation tool for GTK+ and GNOME |
---|
| 6 | Summary(ja): GTK+/GNOME 用 API ドキュメント生成ツール |
---|
| 7 | Name: %{name} |
---|
| 8 | Version: %{ver} |
---|
| 9 | Release: %{rel} |
---|
| 10 | License: LGPL |
---|
| 11 | Group: Development/Tools |
---|
| 12 | Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.10/%{name}-%{version}.tar.bz2 |
---|
| 13 | Source1: filter-requires-gtk-doc.sh |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | URL: http://www.gtk.org/gtk-doc/ |
---|
| 16 | BuildArch: noarch |
---|
| 17 | |
---|
| 18 | BuildRequires: docbook-utils, jade, libxslt, docbook-style-xsl |
---|
| 19 | Requires: docbook-utils, jade, libxslt, docbook-style-xsl, diffutils |
---|
| 20 | Requires(post): scrollkeeper |
---|
| 21 | Requires(postun): scrollkeeper |
---|
| 22 | |
---|
| 23 | %define __find_requires %{SOURCE1} |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | gtk-doc is a tool for generating API reference documentation. |
---|
| 27 | It is used for generating the documentation for GTK+, GLib |
---|
| 28 | and GNOME. |
---|
| 29 | |
---|
| 30 | %prep |
---|
| 31 | %setup -q |
---|
| 32 | # Move this doc file to avoid name collisions |
---|
| 33 | mv doc/README doc/README.docs |
---|
| 34 | |
---|
| 35 | %build |
---|
| 36 | |
---|
| 37 | %configure --enable-public-id --docdir=%{_datadir}/gnome/help/gtk-doc-manual |
---|
| 38 | make |
---|
| 39 | |
---|
| 40 | %install |
---|
| 41 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 42 | |
---|
| 43 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 44 | |
---|
| 45 | rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper |
---|
| 46 | |
---|
| 47 | #find_lang %{name} |
---|
| 48 | |
---|
| 49 | %clean |
---|
| 50 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 51 | |
---|
| 52 | %post |
---|
| 53 | scrollkeeper-update > /dev/null 2>&1 || : |
---|
| 54 | |
---|
| 55 | %postun |
---|
| 56 | scrollkeeper-update > /dev/null 2>&1 || : |
---|
| 57 | |
---|
| 58 | %files |
---|
| 59 | %defattr(-, root, root) |
---|
| 60 | %doc AUTHORS COPYING ChangeLog INSTALL NEWS README doc/* examples |
---|
| 61 | %{_bindir}/* |
---|
| 62 | %{_datadir}/aclocal/gtk-doc.m4 |
---|
| 63 | %{_datadir}/gtk-doc |
---|
| 64 | %{_datadir}/sgml/gtk-doc |
---|
| 65 | %{_datadir}/pkgconfig/*.pc |
---|
| 66 | |
---|
| 67 | %changelog |
---|
[805] | 68 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14-1 |
---|
| 69 | - new upstream release |
---|
| 70 | |
---|
[623] | 71 | * Thu Mar 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.13-1 |
---|
| 72 | - new upstream release |
---|
| 73 | |
---|
[521] | 74 | * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.11-1 |
---|
| 75 | - new upstream release |
---|
| 76 | |
---|
| 77 | * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10-1vl5 |
---|
| 78 | - new upstream release |
---|
| 79 | - added --docdir |
---|
| 80 | |
---|
| 81 | * Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8-0vl1 |
---|
| 82 | - new upstream release |
---|
| 83 | - added SOURCE1 for removing dependancy |
---|
| 84 | - added %post and %postun section |
---|
| 85 | - added Requires(post,postun): scrollkeeper |
---|
| 86 | |
---|
| 87 | * Sun Sep 25 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0vl1 |
---|
| 88 | - new upstream release |
---|
| 89 | |
---|
| 90 | * Tue Apr 27 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-1vl1 |
---|
| 91 | - new upstream release |
---|
| 92 | - added some files %file section (based on Fedora 1.2-1) |
---|
| 93 | - s/Copyright/License/ |
---|
| 94 | |
---|
| 95 | * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-0vl1 |
---|
| 96 | - new upstream release |
---|
| 97 | |
---|
| 98 | * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl1 |
---|
| 99 | - new upstream release |
---|
| 100 | |
---|
| 101 | * Sat Sep 28 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9-5vl1 |
---|
| 102 | - Based on Redhat, changed summary and description |
---|
| 103 | * Thu May 30 2002 Chip Turner <cturner@redhat.com> |
---|
| 104 | - add dependency filter for bogus perl dependencies |
---|
| 105 | |
---|
| 106 | * Thu Apr 4 2002 Jeremy Katz <katzj@redhat.com> |
---|
| 107 | - update to 0.9 |
---|
| 108 | |
---|
| 109 | * Fri Oct 12 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.5.9-1vl1 |
---|
| 110 | - Based on RH srpms. |
---|
| 111 | * Thu May 17 2001 Havoc Pennington <hp@redhat.com> |
---|
| 112 | - upgrade to a CVS snapshot |
---|
| 113 | - remove patches applied upstream |
---|
| 114 | |
---|
| 115 | * Tue Jan 16 2001 Tim Waugh <twaugh@redhat.com> |
---|
| 116 | - Replace docbook, sgml-common, and stylesheets requirements with |
---|
| 117 | docbook-utils requirement. |
---|
| 118 | - Use public identifier in custom stylesheets. |
---|
| 119 | |
---|
| 120 | * Wed Apr 13 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4-0vl2 |
---|
| 121 | - Added a build depends. |
---|
| 122 | |
---|
| 123 | * Tue Jan 2 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4-0vl1 |
---|
| 124 | - Build for Vine |
---|
| 125 | |
---|
| 126 | * Wed Nov 15 2000 John Gotts <jgotts@linuxsavvy.com> |
---|
| 127 | - Minor updates for 0.4. |
---|
| 128 | * Thu Aug 26 1999 John E. Gotts <jgotts@engin.umich.edu> |
---|
| 129 | - Created spec file. |
---|
| 130 | |
---|