[521] | 1 | %define name gtk-doc |
---|
[4812] | 2 | %define ver 1.18 |
---|
| 3 | %define rel 1%{_dist_release} |
---|
[521] | 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 |
---|
[4812] | 12 | Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.18/%{name}-%{version}.tar.xz |
---|
[521] | 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 |
---|
[4057] | 19 | BuildRequires: vim |
---|
[521] | 20 | Requires: docbook-utils, jade, libxslt, docbook-style-xsl, diffutils |
---|
[4057] | 21 | Requires: vim |
---|
[521] | 22 | Requires(post): scrollkeeper |
---|
| 23 | Requires(postun): scrollkeeper |
---|
| 24 | |
---|
[2043] | 25 | #define __find_requires %{SOURCE1} |
---|
| 26 | %define __perl_requires %{SOURCE1} |
---|
[521] | 27 | |
---|
[3810] | 28 | Vendor: Project Vine |
---|
| 29 | Distribution: Vine Linux |
---|
| 30 | Packager: daisuke, Takemikaduchi |
---|
| 31 | |
---|
[521] | 32 | %description |
---|
| 33 | gtk-doc is a tool for generating API reference documentation. |
---|
| 34 | It is used for generating the documentation for GTK+, GLib |
---|
| 35 | and GNOME. |
---|
| 36 | |
---|
| 37 | %prep |
---|
| 38 | %setup -q |
---|
| 39 | # Move this doc file to avoid name collisions |
---|
| 40 | mv doc/README doc/README.docs |
---|
| 41 | |
---|
| 42 | %build |
---|
| 43 | |
---|
[3810] | 44 | %configure --enable-public-id \ |
---|
| 45 | --docdir=%{_datadir}/gnome/help/gtk-doc-manual \ |
---|
| 46 | --with-highlight=vim |
---|
[521] | 47 | make |
---|
| 48 | |
---|
| 49 | %install |
---|
| 50 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 51 | |
---|
| 52 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 53 | |
---|
| 54 | rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper |
---|
| 55 | |
---|
| 56 | #find_lang %{name} |
---|
| 57 | |
---|
| 58 | %clean |
---|
| 59 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 60 | |
---|
| 61 | %post |
---|
| 62 | scrollkeeper-update > /dev/null 2>&1 || : |
---|
| 63 | |
---|
| 64 | %postun |
---|
| 65 | scrollkeeper-update > /dev/null 2>&1 || : |
---|
| 66 | |
---|
| 67 | %files |
---|
| 68 | %defattr(-, root, root) |
---|
| 69 | %doc AUTHORS COPYING ChangeLog INSTALL NEWS README doc/* examples |
---|
| 70 | %{_bindir}/* |
---|
| 71 | %{_datadir}/aclocal/gtk-doc.m4 |
---|
| 72 | %{_datadir}/gtk-doc |
---|
| 73 | %{_datadir}/sgml/gtk-doc |
---|
| 74 | %{_datadir}/pkgconfig/*.pc |
---|
| 75 | |
---|
| 76 | %changelog |
---|
[4812] | 77 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.18-1 |
---|
| 78 | - new upstream release |
---|
| 79 | |
---|
[4057] | 80 | * Mon Jun 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.17-3 |
---|
| 81 | - R/BR: vim instead of vim-tiny |
---|
| 82 | |
---|
[3810] | 83 | * Sun May 08 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.17-2 |
---|
| 84 | - use vim for highlighting instead of source-highlight |
---|
| 85 | - drop BR:/R: source-highlight |
---|
| 86 | - add BR:R: vim-tiny |
---|
| 87 | |
---|
[3400] | 88 | * Sun Apr 10 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.17-1 |
---|
| 89 | - new upstream release |
---|
| 90 | |
---|
[2580] | 91 | * Wed Jan 26 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16-1 |
---|
| 92 | - new upstream release |
---|
| 93 | |
---|
[2128] | 94 | * Sun Oct 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.15-3 |
---|
| 95 | - add BuildRequires: and Requires: source-highlight |
---|
| 96 | |
---|
[2043] | 97 | * Mon Oct 11 2010 Shu KONNO <owa@bg.wakwak.com> 1.15-2 |
---|
| 98 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 99 | - s/__find_requires/__perl_requires/ |
---|
| 100 | |
---|
[1058] | 101 | * Sat May 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.15-1 |
---|
| 102 | - new upstream release |
---|
| 103 | |
---|
[805] | 104 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14-1 |
---|
| 105 | - new upstream release |
---|
| 106 | |
---|
[623] | 107 | * Thu Mar 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.13-1 |
---|
| 108 | - new upstream release |
---|
| 109 | |
---|
[521] | 110 | * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.11-1 |
---|
| 111 | - new upstream release |
---|
| 112 | |
---|
| 113 | * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10-1vl5 |
---|
| 114 | - new upstream release |
---|
| 115 | - added --docdir |
---|
| 116 | |
---|
| 117 | * Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8-0vl1 |
---|
| 118 | - new upstream release |
---|
| 119 | - added SOURCE1 for removing dependancy |
---|
| 120 | - added %post and %postun section |
---|
| 121 | - added Requires(post,postun): scrollkeeper |
---|
| 122 | |
---|
| 123 | * Sun Sep 25 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0vl1 |
---|
| 124 | - new upstream release |
---|
| 125 | |
---|
| 126 | * Tue Apr 27 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-1vl1 |
---|
| 127 | - new upstream release |
---|
| 128 | - added some files %file section (based on Fedora 1.2-1) |
---|
| 129 | - s/Copyright/License/ |
---|
| 130 | |
---|
| 131 | * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-0vl1 |
---|
| 132 | - new upstream release |
---|
| 133 | |
---|
| 134 | * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl1 |
---|
| 135 | - new upstream release |
---|
| 136 | |
---|
| 137 | * Sat Sep 28 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9-5vl1 |
---|
| 138 | - Based on Redhat, changed summary and description |
---|
| 139 | * Thu May 30 2002 Chip Turner <cturner@redhat.com> |
---|
| 140 | - add dependency filter for bogus perl dependencies |
---|
| 141 | |
---|
| 142 | * Thu Apr 4 2002 Jeremy Katz <katzj@redhat.com> |
---|
| 143 | - update to 0.9 |
---|
| 144 | |
---|
| 145 | * Fri Oct 12 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.5.9-1vl1 |
---|
| 146 | - Based on RH srpms. |
---|
| 147 | * Thu May 17 2001 Havoc Pennington <hp@redhat.com> |
---|
| 148 | - upgrade to a CVS snapshot |
---|
| 149 | - remove patches applied upstream |
---|
| 150 | |
---|
| 151 | * Tue Jan 16 2001 Tim Waugh <twaugh@redhat.com> |
---|
| 152 | - Replace docbook, sgml-common, and stylesheets requirements with |
---|
| 153 | docbook-utils requirement. |
---|
| 154 | - Use public identifier in custom stylesheets. |
---|
| 155 | |
---|
| 156 | * Wed Apr 13 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4-0vl2 |
---|
| 157 | - Added a build depends. |
---|
| 158 | |
---|
| 159 | * Tue Jan 2 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4-0vl1 |
---|
| 160 | - Build for Vine |
---|
| 161 | |
---|
| 162 | * Wed Nov 15 2000 John Gotts <jgotts@linuxsavvy.com> |
---|
| 163 | - Minor updates for 0.4. |
---|
| 164 | * Thu Aug 26 1999 John E. Gotts <jgotts@engin.umich.edu> |
---|
| 165 | - Created spec file. |
---|
| 166 | |
---|