1 |
# $Id: gnome-doc-utils.spec,v 1.7 2010/02/24 18:30:06 slords Exp $ |
2 |
# Authority: slords |
3 |
# Name: Shad L. Lords |
4 |
|
5 |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")} |
6 |
|
7 |
### Abstract ### |
8 |
|
9 |
Name: gnome-doc-utils |
10 |
Version: 0.19.5 |
11 |
Release: 1%{?dist} |
12 |
License: GPLv2+ and LGPLv2+ and GFDL |
13 |
Group: Development/Tools |
14 |
Summary: Documentation utilities for GNOME |
15 |
URL: http://www.gnome.org/ |
16 |
Source: http://download.gnome.org/sources/gnome-doc-utils/0.18/%{name}-%{version}.tar.bz2 |
17 |
|
18 |
BuildArch: noarch |
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
20 |
|
21 |
### Patches ### |
22 |
|
23 |
# RH bug #438638 / GNOME bug #524207 |
24 |
Patch1: gnome-doc-utils-0.14.0-package.patch |
25 |
|
26 |
### Dependencies ### |
27 |
|
28 |
Requires: libxml2 >= 2.6.12 |
29 |
Requires: libxslt >= 1.1.8 |
30 |
Requires: libxml2-python |
31 |
# for /usr/share/aclocal |
32 |
Requires: automake |
33 |
# for /usr/share/gnome/help |
34 |
#Requires: yelp |
35 |
# Currently creates a chicken/egg problem; gnome-doc-utils is needed in |
36 |
# the build-chain for yelp, thus making it nearly impossible to ever |
37 |
# update yelp for say newer Firefox. |
38 |
Requires: gnome-doc-utils-stylesheets = %{version}-%{release} |
39 |
|
40 |
### Build Dependencies ### |
41 |
|
42 |
BuildRequires: libxml2-devel >= 2.6.12 |
43 |
BuildRequires: libxslt-devel >= 1.1.8 |
44 |
BuildRequires: libxml2-python |
45 |
|
46 |
BuildRequires: intltool |
47 |
BuildRequires: gettext |
48 |
BuildRequires: scrollkeeper |
49 |
|
50 |
%description |
51 |
gnome-doc-utils is a collection of documentation utilities for the GNOME |
52 |
project. Notably, it contains utilities for building documentation and |
53 |
all auxiliary files in your source tree. |
54 |
|
55 |
# note that this is an "inverse dependency" subpackage |
56 |
%package stylesheets |
57 |
Summary: XSL stylesheets used by gnome-doc-utils |
58 |
License: LGPLv2+ |
59 |
Group: Development/Tools |
60 |
# for /usr/share/pkgconfig |
61 |
Requires: pkgconfig |
62 |
# for /usr/share/xml |
63 |
Requires: xml-common |
64 |
|
65 |
%description stylesheets |
66 |
The gnome-doc-utils-stylesheets package contains XSL stylesheets which |
67 |
are used by the tools in gnome-doc-utils and by yelp. |
68 |
|
69 |
%prep |
70 |
%setup -q |
71 |
%patch1 -p1 -b .package |
72 |
|
73 |
%build |
74 |
%configure --disable-scrollkeeper --enable-build-utils |
75 |
make |
76 |
|
77 |
%install |
78 |
rm -rf $RPM_BUILD_ROOT |
79 |
|
80 |
make install DESTDIR=$RPM_BUILD_ROOT |
81 |
|
82 |
sed -i -e '/^Requires:/d' $RPM_BUILD_ROOT%{_datadir}/pkgconfig/xml2po.pc |
83 |
|
84 |
%find_lang %{name} |
85 |
|
86 |
%clean |
87 |
rm -rf $RPM_BUILD_ROOT |
88 |
|
89 |
%files -f %{name}.lang |
90 |
%defattr(-,root,root,-) |
91 |
%doc AUTHORS README NEWS COPYING COPYING.GPL COPYING.LGPL |
92 |
%{_bindir}/* |
93 |
%{_datadir}/aclocal/gnome-doc-utils.m4 |
94 |
%{_datadir}/gnome/help/gnome-doc-make |
95 |
%{_datadir}/gnome/help/gnome-doc-xslt |
96 |
%{_datadir}/omf/gnome-doc-make |
97 |
%{_datadir}/omf/gnome-doc-xslt |
98 |
%{_datadir}/gnome-doc-utils |
99 |
%doc %{_mandir}/man1/xml2po.1.gz |
100 |
%{python_sitelib}/xml2po/ |
101 |
|
102 |
%files stylesheets |
103 |
%defattr(-,root,root,-) |
104 |
%{_datadir}/pkgconfig/* |
105 |
%{_datadir}/xml/gnome |
106 |
%{_datadir}/xml/mallard |
107 |
|
108 |
%changelog |
109 |
* Mon Feb 22 2010 Matthias Clasen <mclasen@redhat.com> - 0.19.5-1 |
110 |
- Update to 0.19.5 |
111 |
|
112 |
* Mon Feb 08 2010 Matthew Barnes <mbarnes@redhat.com> - 0.19.4-1 |
113 |
- Update to 0.19.4 |
114 |
|
115 |
* Mon Jan 23 2010 Matthew Barnes <mbarnes@redhat.com> - 0.19.3-1 |
116 |
- Update to 0.19.3 |
117 |
|
118 |
* Mon Jan 11 2010 Matthew Barnes <mbarnes@redhat.com> - 0.19.2-1 |
119 |
- Update to 0.19.2 |
120 |
|
121 |
* Wed Jan 06 2010 Matthew Barnes <mbarnes@redhat.com> - 0.19.1-1 |
122 |
- Update to 0.19.1 |
123 |
|
124 |
* Sun Dec 20 2009 Matthew Barnes <mbarnes@redhat.com> - 0.18.1-1 |
125 |
- Update to 0.18.1 |
126 |
|
127 |
* Mon Sep 21 2009 Matthias Clasen <mclasen@redhat.com> - 0.18.0-1 |
128 |
- Update to 0.18.0 |
129 |
|
130 |
* Mon Sep 7 2009 Matthias Clasen <mclasen@redhat.com> - 0.17.5-1 |
131 |
- Update to 0.17.5 |
132 |
|
133 |
* Mon Aug 24 2009 Matthias Clasen <mclasen@redhat.com> - 0.17.4-1 |
134 |
- Update to 0.17.4 |
135 |
|
136 |
* Tue Jul 28 2009 Matthias Clasen <mclasen@redhat.com> - 0.17.3-1 |
137 |
- Update to 0.17.3 |
138 |
|
139 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17.2-2 |
140 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
141 |
|
142 |
* Mon Jun 29 2009 Matthew Barnes <mbarnes@redhat.com> - 0.17.2-1 |
143 |
- Update to 0.17.2 |
144 |
- Require libxml2-python for building. |
145 |
|
146 |
* Mon Jun 15 2009 Matthias Clasen <mclasen@redhat.com> - 0.17.1-1 |
147 |
- Update to 0.17.1 |
148 |
|
149 |
* Tue Apr 14 2009 Matthias Clasen <mclasen@redhat.com> - 0.16.1-1 |
150 |
- Update to 0.16.1 |
151 |
|
152 |
* Mon Mar 16 2009 Matthias Clasen <mclasen@redhat.com> - 0.16.0-1 |
153 |
- Update to 0.16.0 |
154 |
|
155 |
* Mon Mar 02 2009 Matthew Barnes <mbarnes@redhat.com> - 0.15.2-1 |
156 |
- Update to 0.15.2 |
157 |
|
158 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.1-3 |
159 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
160 |
|
161 |
* Tue Feb 3 2009 Matthias Clasen <mclasen@redhat.com> - 0.15.1-2 |
162 |
- Update to 0.15.1 |
163 |
|
164 |
* Sun Jan 11 2009 Matthias Clasen <mclasen@redhat.com> - 0.14.2-1 |
165 |
- Update to 0.14.2 |
166 |
|
167 |
* Wed Dec 17 2008 Matthias Clasen <mclasen@redhat.com> - 0.14.1-1 |
168 |
- Update to 0.14.1 |
169 |
|
170 |
* Mon Dec 8 2008 Matthias Clasen <mclasen@redhat.com> - 0.14.0-7 |
171 |
- Fight pkg-config-induced dependency bloat |
172 |
|
173 |
* Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.14.0-4 |
174 |
- Rebuild for Python 2.6 |
175 |
|
176 |
* Sat Nov 29 2008 Matthew Barnes <mbarnes@redhat.com> - 0.14.0-3 |
177 |
- Add patch for RH bug #438638 (monospace <package> elements). |
178 |
|
179 |
* Sun Nov 23 2008 Matthias Clasen <mclasen@redhat.com> - 0.14.0-2 |
180 |
- Tweak %%summary and %%description |
181 |
|
182 |
* Mon Sep 22 2008 Matthias Clasen <mclasen@redhat.com> - 0.14.0-1 |
183 |
- Update to 0.14.0 |
184 |
|
185 |
* Tue Sep 2 2008 Matthias Clasen <mclasen@redhat.com> - 0.13.1-1 |
186 |
- Update to 0.13.1 |
187 |
|
188 |
* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 0.12.2-1 |
189 |
- Update to 0.12.2 |
190 |
|
191 |
* Mon Feb 18 2008 Matthew Barnes <mbarnes@redhat.com> - 0.12.1-2 |
192 |
- Package review corrections (RH bug #225816). |
193 |
|
194 |
* Tue Feb 12 2008 Matthew Barnes <mbarnes@redhat.com> - 0.12.1-1 |
195 |
- Update to 0.12.1 |
196 |
|
197 |
* Mon Sep 17 2007 Matthias Clasen <mclasen@redhat.com> - 0.12.0-1 |
198 |
- Update to 0.12.0 |
199 |
|
200 |
* Mon Sep 3 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.2-1 |
201 |
- Update to 0.11.2 |
202 |
|
203 |
* Thu Aug 2 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.1-2 |
204 |
- Update the license field |
205 |
|
206 |
* Mon Jul 30 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.1-1 |
207 |
- Update to 0.11.1 |
208 |
|
209 |
* Mon Jul 23 2007 Matthias Clasen <mclasen@redhat.com> - 0.10.3-4 |
210 |
- Split out stylesheets as subpackage to avoid pulling automake |
211 |
in the live CD |
212 |
|
213 |
* Fri Jul 20 2007 Jesse Keating <jkeating@redhat.com> - 0.10.3-3 |
214 |
- Don't require yelp for now |
215 |
|
216 |
* Sun Jun 17 2007 Matthias Clasen <mclasen@redhat.com> - 0.10.3-2 |
217 |
- Fix up Requires and BuildRequires |
218 |
|
219 |
* Mon Apr 09 2007 Matthew Barnes <mbarnes@redhat.com> - 0.10.3-1.fc7 |
220 |
- Update to 0.10.3 |
221 |
|
222 |
* Mon Mar 12 2007 Matthew Barnes <mbarnes@redhat.com> - 0.10.1-1.fc7 |
223 |
- Update to 0.10.1 |
224 |
|
225 |
* Wed Jan 31 2007 Matthias Clasen <mclasen@redhat.com> - 0.9.2-1 |
226 |
- Update to 0.9.2 |
227 |
|
228 |
* Sat Dec 09 2006 Matthew Barnes <mbarnes@redhat.com> - 0.8.0-3 |
229 |
- Add patch for GNOME bug #355521 (look for local m4 files). |
230 |
|
231 |
* Fri Sep 8 2006 Matthias Clasen <mclasen@redhat.com> - 0.8.0-2 |
232 |
- Fix some directory ownership issues (#205677) |
233 |
|
234 |
* Mon Sep 4 2006 Matthias Clasen <mclasen@redhat.com> - 0.8.0-1.fc6 |
235 |
- Update to 0.8.0 |
236 |
|
237 |
* Sat Aug 12 2006 Matthias Clasen <mclasen@redhat.com> - 0.7.2-1.fc6 |
238 |
- Update to 0.7.2 |
239 |
|
240 |
* Tue Jun 13 2006 Matthias Clasen <mclasen@redhat.com> - 0.7.1-1 |
241 |
- Update to 0.7.1 |
242 |
|
243 |
* Tue Jun 6 2006 Matthias Clasen <mclasen@redhat.com> - 0.6.0-3 |
244 |
- Add a BuildRequires for perl-XML-Parser |
245 |
|
246 |
* Tue Apr 11 2006 Matthias Clasen <mclasen@redhat.com> - 0.6.0-2 |
247 |
- Add a missing Requires |
248 |
|
249 |
* Sun Mar 12 2006 Ray Strode <rstrode@redhat.com> - 0.6.0-1 |
250 |
- Update to 0.6.0 |
251 |
|
252 |
* Mon Feb 27 2006 Matthias Clasen <mclasen@redhat.com> - 0.5.7-1 |
253 |
- Update to 0.5.7 |
254 |
|
255 |
* Mon Feb 20 2006 Matthias Clasen <mclasen@redhat.com> - 0.5.6-1 |
256 |
- Update to 0.5.6 |
257 |
|
258 |
* Sun Feb 12 2006 Matthias Clasen <mclasen@redhat.com> - 0.5.5-1 |
259 |
- Update to 0.5.5 |
260 |
|
261 |
* Mon Jan 30 2006 Matthias Clasen <mclasen@redhat.com> - 0.5.4-1 |
262 |
- Update to 0.5.4 |
263 |
|
264 |
* Tue Jan 13 2006 Matthias Clasen <mclasen@redhat.com> - 0.5.3-1 |
265 |
- Update to 0.5.3 |
266 |
|
267 |
* Wed Dec 20 2005 Matthias Clasen <mclasen@redhat.com> - 0.5.2-1 |
268 |
- Update to 0.5.2 |
269 |
|
270 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
271 |
- rebuilt |
272 |
|
273 |
* Wed Nov 30 2005 Matthias Clasen <mclasen@redhat.com> - 0.5.1-1 |
274 |
- Update to 0.5.1 |
275 |
|
276 |
* Tue Oct 25 2005 Matthias Clasen <mclasen@redhat.com> - 0.4.3-1 |
277 |
- Update to 0.4.3 |
278 |
|
279 |
* Thu Sep 29 2005 Matthias Clasen <mclasen@redhat.com> - 0.4.2-1 |
280 |
- Update to 0.4.2 |
281 |
|
282 |
* Thu Sep 8 2005 Matthias Clasen <mclasen@redhat.com> - 0.4.0-1 |
283 |
- Update to 0.4.0 |
284 |
|
285 |
* Wed Jul 27 2005 Christopher Aillon <caillon@redhat.com> - 0.3.2-1 |
286 |
- Update to 0.3.2 |
287 |
|
288 |
* Wed Jul 13 2005 Matthias Clasen <mclasen@redhat.com> - 0.3.1-1 |
289 |
- Newer upstream version |
290 |
|
291 |
* Tue Apr 26 2005 Ray Strode <rstrode@redhat.com> - 0.2.0-2 |
292 |
- Add patch that might fix yelp links (bug 146862) |
293 |
|
294 |
* Fri Apr 8 2005 Ray Strode <rstrode@redhat.com> - 0.2.0-1 |
295 |
- Update to upstream version 0.2.0 |
296 |
|
297 |
* Thu Mar 17 2005 Ray Strode <rstrode@redhat.com> - 0.1.3-1 |
298 |
- Update to upstream version 0.1.3 |
299 |
|
300 |
* Wed Feb 2 2005 Nalin Dahyabhai <nalin@redhat.com> - 0.1.2-2 |
301 |
- remove explicit libxml dependency (should have been libxml2) |
302 |
- add libxml2-devel and libxslt-devel as buildprereqs |
303 |
|
304 |
* Fri Jan 28 2005 Matthias Clasen <mclasen@redhat.com> - 0.1.2-1 |
305 |
- Initial build. |