1 |
# $Id: gnome-doc-utils.spec,v 1.3 2008/04/02 15:22:03 slords Exp $ |
# $Id: gnome-doc-utils.spec,v 1.7 2010/02/24 18:30:06 slords Exp $ |
2 |
# Authority: slords |
# Authority: slords |
3 |
# Name: Shad L. Lords |
# 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 ### |
### Abstract ### |
8 |
|
|
9 |
Name: gnome-doc-utils |
Name: gnome-doc-utils |
10 |
Version: 0.12.2 |
Version: 0.19.5 |
11 |
Release: 1%{?dist} |
Release: 1%{?dist} |
12 |
License: GPLv2+ and LGPLv2+ and GFDL |
License: GPLv2+ and LGPLv2+ and GFDL |
13 |
Group: Development/Tools |
Group: Development/Tools |
14 |
Summary: Documentation utilities for the GNOME project |
Summary: Documentation utilities for GNOME |
15 |
URL: http://www.gnome.org/ |
URL: http://www.gnome.org/ |
16 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
Source: http://download.gnome.org/sources/gnome-doc-utils/0.18/%{name}-%{version}.tar.bz2 |
|
Source: http://download.gnome.org/sources/gnome-doc-utils/0.12/%{name}-%{version}.tar.bz2 |
|
17 |
|
|
18 |
BuildArch: noarch |
BuildArch: noarch |
19 |
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
20 |
|
|
21 |
### Patches ### |
### Patches ### |
22 |
|
|
23 |
|
# RH bug #438638 / GNOME bug #524207 |
24 |
|
Patch1: gnome-doc-utils-0.14.0-package.patch |
25 |
|
|
26 |
### Dependencies ### |
### Dependencies ### |
27 |
|
|
28 |
Requires: libxml2 >= 2.6.12 |
Requires: libxml2 >= 2.6.12 |
41 |
|
|
42 |
BuildRequires: libxml2-devel >= 2.6.12 |
BuildRequires: libxml2-devel >= 2.6.12 |
43 |
BuildRequires: libxslt-devel >= 1.1.8 |
BuildRequires: libxslt-devel >= 1.1.8 |
44 |
|
BuildRequires: libxml2-python |
45 |
|
|
46 |
BuildRequires: perl(XML::Parser) |
BuildRequires: intltool |
47 |
BuildRequires: gettext |
BuildRequires: gettext |
48 |
BuildRequires: scrollkeeper |
BuildRequires: scrollkeeper |
49 |
|
|
50 |
%description |
%description |
51 |
gnome-doc-utils is a collection of documentation utilities for the GNOME |
gnome-doc-utils is a collection of documentation utilities for the GNOME |
52 |
project. Notably, it contains utilities for building documentation and |
project. Notably, it contains utilities for building documentation and |
53 |
all auxiliary files in your source tree, and it contains the DocBook |
all auxiliary files in your source tree. |
|
XSLT stylesheets that were once distributed with Yelp. |
|
54 |
|
|
55 |
# note that this is an "inverse dependency" subpackage |
# note that this is an "inverse dependency" subpackage |
56 |
%package stylesheets |
%package stylesheets |
58 |
License: LGPLv2+ |
License: LGPLv2+ |
59 |
Group: Development/Tools |
Group: Development/Tools |
60 |
# for /usr/share/pkgconfig |
# for /usr/share/pkgconfig |
61 |
Requires: pkgconfig |
Requires: pkgconfig |
62 |
# for /usr/share/xml |
# for /usr/share/xml |
63 |
Requires: xml-common |
Requires: xml-common |
64 |
|
|
65 |
%description stylesheets |
%description stylesheets |
66 |
The gnome-doc-utils-stylesheets package contains XSL |
The gnome-doc-utils-stylesheets package contains XSL stylesheets which |
67 |
stylesheets which are used by the tools in gnome-doc-utils. |
are used by the tools in gnome-doc-utils and by yelp. |
68 |
|
|
69 |
%prep |
%prep |
70 |
%setup -q |
%setup -q |
71 |
|
%patch1 -p1 -b .package |
72 |
|
|
73 |
%build |
%build |
74 |
%configure --disable-scrollkeeper |
%configure --disable-scrollkeeper --enable-build-utils |
75 |
make |
make |
76 |
|
|
77 |
%install |
%install |
79 |
|
|
80 |
make install DESTDIR=$RPM_BUILD_ROOT |
make install DESTDIR=$RPM_BUILD_ROOT |
81 |
|
|
82 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig/ |
sed -i -e '/^Requires:/d' $RPM_BUILD_ROOT%{_datadir}/pkgconfig/xml2po.pc |
|
mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig/*.pc $RPM_BUILD_ROOT%{_datadir}/pkgconfig |
|
83 |
|
|
84 |
%find_lang %{name} |
%find_lang %{name} |
85 |
|
|
95 |
%{_datadir}/gnome/help/gnome-doc-xslt |
%{_datadir}/gnome/help/gnome-doc-xslt |
96 |
%{_datadir}/omf/gnome-doc-make |
%{_datadir}/omf/gnome-doc-make |
97 |
%{_datadir}/omf/gnome-doc-xslt |
%{_datadir}/omf/gnome-doc-xslt |
|
%{_datadir}/xml2po |
|
98 |
%{_datadir}/gnome-doc-utils |
%{_datadir}/gnome-doc-utils |
99 |
%doc %{_mandir}/man1/xml2po.1.gz |
%doc %{_mandir}/man1/xml2po.1.gz |
100 |
|
%{python_sitelib}/xml2po/ |
101 |
|
|
102 |
%files stylesheets |
%files stylesheets |
103 |
%defattr(-,root,root,-) |
%defattr(-,root,root,-) |
104 |
%{_datadir}/pkgconfig/* |
%{_datadir}/pkgconfig/* |
105 |
%{_datadir}/xml/gnome |
%{_datadir}/xml/gnome |
106 |
|
%{_datadir}/xml/mallard |
107 |
|
|
108 |
%changelog |
%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 |
* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 0.12.2-1 |
189 |
- Update to 0.12.2 |
- Update to 0.12.2 |
190 |
|
|