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