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