1 | %define name gtk-doc |
---|
2 | %define ver 1.17 |
---|
3 | %define rel 3%{_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.17/%{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 | BuildRequires: vim |
---|
20 | Requires: docbook-utils, jade, libxslt, docbook-style-xsl, diffutils |
---|
21 | Requires: vim |
---|
22 | Requires(post): scrollkeeper |
---|
23 | Requires(postun): scrollkeeper |
---|
24 | |
---|
25 | #define __find_requires %{SOURCE1} |
---|
26 | %define __perl_requires %{SOURCE1} |
---|
27 | |
---|
28 | Vendor: Project Vine |
---|
29 | Distribution: Vine Linux |
---|
30 | Packager: daisuke, Takemikaduchi |
---|
31 | |
---|
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 | |
---|
44 | %configure --enable-public-id \ |
---|
45 | --docdir=%{_datadir}/gnome/help/gtk-doc-manual \ |
---|
46 | --with-highlight=vim |
---|
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 |
---|
77 | * Mon Jun 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.17-3 |
---|
78 | - R/BR: vim instead of vim-tiny |
---|
79 | |
---|
80 | * Sun May 08 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.17-2 |
---|
81 | - use vim for highlighting instead of source-highlight |
---|
82 | - drop BR:/R: source-highlight |
---|
83 | - add BR:R: vim-tiny |
---|
84 | |
---|
85 | * Sun Apr 10 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.17-1 |
---|
86 | - new upstream release |
---|
87 | |
---|
88 | * Wed Jan 26 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16-1 |
---|
89 | - new upstream release |
---|
90 | |
---|
91 | * Sun Oct 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.15-3 |
---|
92 | - add BuildRequires: and Requires: source-highlight |
---|
93 | |
---|
94 | * Mon Oct 11 2010 Shu KONNO <owa@bg.wakwak.com> 1.15-2 |
---|
95 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
96 | - s/__find_requires/__perl_requires/ |
---|
97 | |
---|
98 | * Sat May 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.15-1 |
---|
99 | - new upstream release |
---|
100 | |
---|
101 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14-1 |
---|
102 | - new upstream release |
---|
103 | |
---|
104 | * Thu Mar 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.13-1 |
---|
105 | - new upstream release |
---|
106 | |
---|
107 | * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.11-1 |
---|
108 | - new upstream release |
---|
109 | |
---|
110 | * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10-1vl5 |
---|
111 | - new upstream release |
---|
112 | - added --docdir |
---|
113 | |
---|
114 | * Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8-0vl1 |
---|
115 | - new upstream release |
---|
116 | - added SOURCE1 for removing dependancy |
---|
117 | - added %post and %postun section |
---|
118 | - added Requires(post,postun): scrollkeeper |
---|
119 | |
---|
120 | * Sun Sep 25 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0vl1 |
---|
121 | - new upstream release |
---|
122 | |
---|
123 | * Tue Apr 27 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-1vl1 |
---|
124 | - new upstream release |
---|
125 | - added some files %file section (based on Fedora 1.2-1) |
---|
126 | - s/Copyright/License/ |
---|
127 | |
---|
128 | * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-0vl1 |
---|
129 | - new upstream release |
---|
130 | |
---|
131 | * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl1 |
---|
132 | - new upstream release |
---|
133 | |
---|
134 | * Sat Sep 28 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9-5vl1 |
---|
135 | - Based on Redhat, changed summary and description |
---|
136 | * Thu May 30 2002 Chip Turner <cturner@redhat.com> |
---|
137 | - add dependency filter for bogus perl dependencies |
---|
138 | |
---|
139 | * Thu Apr 4 2002 Jeremy Katz <katzj@redhat.com> |
---|
140 | - update to 0.9 |
---|
141 | |
---|
142 | * Fri Oct 12 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.5.9-1vl1 |
---|
143 | - Based on RH srpms. |
---|
144 | * Thu May 17 2001 Havoc Pennington <hp@redhat.com> |
---|
145 | - upgrade to a CVS snapshot |
---|
146 | - remove patches applied upstream |
---|
147 | |
---|
148 | * Tue Jan 16 2001 Tim Waugh <twaugh@redhat.com> |
---|
149 | - Replace docbook, sgml-common, and stylesheets requirements with |
---|
150 | docbook-utils requirement. |
---|
151 | - Use public identifier in custom stylesheets. |
---|
152 | |
---|
153 | * Wed Apr 13 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4-0vl2 |
---|
154 | - Added a build depends. |
---|
155 | |
---|
156 | * Tue Jan 2 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4-0vl1 |
---|
157 | - Build for Vine |
---|
158 | |
---|
159 | * Wed Nov 15 2000 John Gotts <jgotts@linuxsavvy.com> |
---|
160 | - Minor updates for 0.4. |
---|
161 | * Thu Aug 26 1999 John E. Gotts <jgotts@engin.umich.edu> |
---|
162 | - Created spec file. |
---|
163 | |
---|