[521] | 1 | %define name gtk-doc |
---|
[623] | 2 | %define ver 1.13 |
---|
[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 |
---|
[623] | 68 | * Thu Mar 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.13-1 |
---|
| 69 | - new upstream release |
---|
| 70 | |
---|
[521] | 71 | * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.11-1 |
---|
| 72 | - new upstream release |
---|
| 73 | |
---|
| 74 | * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10-1vl5 |
---|
| 75 | - new upstream release |
---|
| 76 | - added --docdir |
---|
| 77 | |
---|
| 78 | * Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8-0vl1 |
---|
| 79 | - new upstream release |
---|
| 80 | - added SOURCE1 for removing dependancy |
---|
| 81 | - added %post and %postun section |
---|
| 82 | - added Requires(post,postun): scrollkeeper |
---|
| 83 | |
---|
| 84 | * Sun Sep 25 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0vl1 |
---|
| 85 | - new upstream release |
---|
| 86 | |
---|
| 87 | * Tue Apr 27 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-1vl1 |
---|
| 88 | - new upstream release |
---|
| 89 | - added some files %file section (based on Fedora 1.2-1) |
---|
| 90 | - s/Copyright/License/ |
---|
| 91 | |
---|
| 92 | * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-0vl1 |
---|
| 93 | - new upstream release |
---|
| 94 | |
---|
| 95 | * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl1 |
---|
| 96 | - new upstream release |
---|
| 97 | |
---|
| 98 | * Sat Sep 28 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9-5vl1 |
---|
| 99 | - Based on Redhat, changed summary and description |
---|
| 100 | * Thu May 30 2002 Chip Turner <cturner@redhat.com> |
---|
| 101 | - add dependency filter for bogus perl dependencies |
---|
| 102 | |
---|
| 103 | * Thu Apr 4 2002 Jeremy Katz <katzj@redhat.com> |
---|
| 104 | - update to 0.9 |
---|
| 105 | |
---|
| 106 | * Fri Oct 12 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.5.9-1vl1 |
---|
| 107 | - Based on RH srpms. |
---|
| 108 | * Thu May 17 2001 Havoc Pennington <hp@redhat.com> |
---|
| 109 | - upgrade to a CVS snapshot |
---|
| 110 | - remove patches applied upstream |
---|
| 111 | |
---|
| 112 | * Tue Jan 16 2001 Tim Waugh <twaugh@redhat.com> |
---|
| 113 | - Replace docbook, sgml-common, and stylesheets requirements with |
---|
| 114 | docbook-utils requirement. |
---|
| 115 | - Use public identifier in custom stylesheets. |
---|
| 116 | |
---|
| 117 | * Wed Apr 13 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4-0vl2 |
---|
| 118 | - Added a build depends. |
---|
| 119 | |
---|
| 120 | * Tue Jan 2 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4-0vl1 |
---|
| 121 | - Build for Vine |
---|
| 122 | |
---|
| 123 | * Wed Nov 15 2000 John Gotts <jgotts@linuxsavvy.com> |
---|
| 124 | - Minor updates for 0.4. |
---|
| 125 | * Thu Aug 26 1999 John E. Gotts <jgotts@engin.umich.edu> |
---|
| 126 | - Created spec file. |
---|
| 127 | |
---|