b8b0bf0
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
b8b0bf0
242552a
### Abstract ###
242552a
c8fc157
Name: gnome-doc-utils
c7219f1
Version: 0.17.3
c7219f1
Release: 1%{?dist}
94b3268
License: GPLv2+ and LGPLv2+ and GFDL
c8fc157
Group: Development/Tools
7decf16
Summary: Documentation utilities for GNOME
81dc71c
URL: http://www.gnome.org/
17db3d5
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
27e6b88
Source: http://download.gnome.org/sources/gnome-doc-utils/0.17/%{name}-%{version}.tar.bz2
242552a
242552a
BuildArch: noarch
242552a
242552a
### Patches ###
242552a
9d175a8
# RH bug #438638 / GNOME bug #524207
9d175a8
Patch1: gnome-doc-utils-0.14.0-package.patch
9d175a8
242552a
### Dependencies ###
242552a
81dc71c
Requires: libxml2 >= 2.6.12
c8fc157
Requires: libxslt >= 1.1.8
81ebd1c
Requires: libxml2-python
c1c1e2e
# for /usr/share/aclocal
c1c1e2e
Requires: automake
c1c1e2e
# for /usr/share/gnome/help
0bca747
#Requires: yelp
0bca747
# Currently creates a chicken/egg problem; gnome-doc-utils is needed in
0bca747
# the build-chain for yelp, thus making it nearly impossible to ever
0bca747
# update yelp for say newer Firefox.
8a86139
Requires: gnome-doc-utils-stylesheets = %{version}-%{release}
c8fc157
242552a
### Build Dependencies ###
242552a
c1c1e2e
BuildRequires: libxml2-devel >= 2.6.12
c1c1e2e
BuildRequires: libxslt-devel >= 1.1.8
877dbe7
BuildRequires: libxml2-python
242552a
4de1cae
BuildRequires: intltool
242552a
BuildRequires: gettext
274da3d
BuildRequires: scrollkeeper
c8fc157
c8fc157
%description
c8fc157
gnome-doc-utils is a collection of documentation utilities for the GNOME
c8fc157
project. Notably, it contains utilities for building documentation and
7decf16
all auxiliary files in your source tree.
c8fc157
8a86139
# note that this is an "inverse dependency" subpackage
8a86139
%package stylesheets
8a86139
Summary: XSL stylesheets used by gnome-doc-utils
f7fd517
License: LGPLv2+
8a86139
Group: Development/Tools
8a86139
# for /usr/share/pkgconfig
17db3d5
Requires: pkgconfig
8a86139
# for /usr/share/xml
8a86139
Requires: xml-common
8a86139
8a86139
%description stylesheets
17db3d5
The gnome-doc-utils-stylesheets package contains XSL stylesheets which
7decf16
are used by the tools in gnome-doc-utils and by yelp.
8a86139
c8fc157
%prep
c8fc157
%setup -q
9d175a8
%patch1 -p1 -b .package
c8fc157
c8fc157
%build
c7219f1
%configure --disable-scrollkeeper --enable-build-utils
c8fc157
make
c8fc157
c8fc157
%install
c8fc157
rm -rf $RPM_BUILD_ROOT
c8fc157
a003a93
make install DESTDIR=$RPM_BUILD_ROOT
c8fc157
c8fc157
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig/
c8fc157
mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig/*.pc $RPM_BUILD_ROOT%{_datadir}/pkgconfig
6ac54f7
sed -i -e '/^Requires:/d' $RPM_BUILD_ROOT%{_datadir}/pkgconfig/xml2po.pc
c8fc157
905f63b
%find_lang %{name}
905f63b
c8fc157
%clean
c8fc157
rm -rf $RPM_BUILD_ROOT
c8fc157
905f63b
%files -f %{name}.lang
c8fc157
%defattr(-,root,root,-)
f7fd517
%doc AUTHORS README NEWS COPYING COPYING.GPL COPYING.LGPL
c8fc157
%{_bindir}/*
c8fc157
%{_datadir}/aclocal/gnome-doc-utils.m4
b8b0bf0
%{_datadir}/gnome/help/gnome-doc-mallard-spec/
86053ec
%{_datadir}/gnome/help/gnome-doc-make
86053ec
%{_datadir}/gnome/help/gnome-doc-xslt
86053ec
%{_datadir}/omf/gnome-doc-make
86053ec
%{_datadir}/omf/gnome-doc-xslt
c8fc157
%{_datadir}/gnome-doc-utils
f7fd517
%doc %{_mandir}/man1/xml2po.1.gz
b8b0bf0
%{python_sitearch}/xml2po/
c8fc157
8a86139
%files stylesheets
f7fd517
%defattr(-,root,root,-)
8a86139
%{_datadir}/pkgconfig/*
8a86139
%{_datadir}/xml/gnome
9d2fbee
%{_datadir}/xml/mallard
8a86139
c8fc157
%changelog
c7219f1
* Tue Jul 28 2009 Matthias Clasen <mclasen@redhat.com> - 0.17.3-1
c7219f1
- Update to 0.17.3
c7219f1
3dc7974
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17.2-2
3dc7974
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3dc7974
0713978
* Mon Jun 29 2009 Matthew Barnes <mbarnes@redhat.com> - 0.17.2-1
0713978
- Update to 0.17.2
877dbe7
- Require libxml2-python for building.
0713978
27e6b88
* Mon Jun 15 2009 Matthias Clasen <mclasen@redhat.com> - 0.17.1-1
27e6b88
- Update to 0.17.1
27e6b88
69bb9eb
* Tue Apr 14 2009 Matthias Clasen <mclasen@redhat.com> - 0.16.1-1
69bb9eb
- Update to 0.16.1
69bb9eb
17db3d5
* Mon Mar 16 2009 Matthias Clasen <mclasen@redhat.com> - 0.16.0-1
17db3d5
- Update to 0.16.0
17db3d5
5d996f1
* Mon Mar 02 2009 Matthew Barnes <mbarnes@redhat.com> - 0.15.2-1
5d996f1
- Update to 0.15.2
5d996f1
bb20666
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.1-3
bb20666
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
bb20666
4de1cae
* Tue Feb  3 2009 Matthias Clasen <mclasen@redhat.com> - 0.15.1-2
67ae8c9
- Update to 0.15.1
67ae8c9
ba80225
* Sun Jan 11 2009 Matthias Clasen <mclasen@redhat.com> - 0.14.2-1
5f11b4a
- Update to 0.14.2
5f11b4a
b7a142c
* Wed Dec 17 2008 Matthias Clasen <mclasen@redhat.com> - 0.14.1-1
b7a142c
- Update to 0.14.1
b7a142c
6ac54f7
* Mon Dec  8 2008 Matthias Clasen <mclasen@redhat.com> - 0.14.0-7
888a75b
- Fight pkg-config-induced dependency bloat
888a75b
e81414a
* Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.14.0-4
e81414a
- Rebuild for Python 2.6
e81414a
9d175a8
* Sat Nov 29 2008 Matthew Barnes <mbarnes@redhat.com> - 0.14.0-3
9d175a8
- Add patch for RH bug #438638 (monospace <package> elements).
9d175a8
7decf16
* Sun Nov 23 2008 Matthias Clasen <mclasen@redhat.com> - 0.14.0-2
7decf16
- Tweak %%summary and %%description
7decf16
6be34a2
* Mon Sep 22 2008 Matthias Clasen <mclasen@redhat.com> - 0.14.0-1
6be34a2
- Update to 0.14.0
6be34a2
ae3b826
* Tue Sep  2 2008 Matthias Clasen <mclasen@redhat.com> - 0.13.1-1
ae3b826
- Update to 0.13.1
ae3b826
db4ab42
* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 0.12.2-1
db4ab42
- Update to 0.12.2
db4ab42
94b3268
* Mon Feb 18 2008 Matthew Barnes <mbarnes@redhat.com> - 0.12.1-2
94b3268
- Package review corrections (RH bug #225816).
94b3268
02d29e1
* Tue Feb 12 2008 Matthew Barnes <mbarnes@redhat.com> - 0.12.1-1
02d29e1
- Update to 0.12.1
02d29e1
a7c9e7c
* Mon Sep 17 2007 Matthias Clasen  <mclasen@redhat.com> - 0.12.0-1
a7c9e7c
- Update to 0.12.0
a7c9e7c
d3d4e4f
* Mon Sep  3 2007 Matthias Clasen  <mclasen@redhat.com> - 0.11.2-1
d3d4e4f
- Update to 0.11.2
d3d4e4f
f7fd517
* Thu Aug  2 2007 Matthias Clasen  <mclasen@redhat.com> - 0.11.1-2
f7fd517
- Update the license field
f7fd517
79cf757
* Mon Jul 30 2007 Matthias Clasen  <mclasen@redhat.com> - 0.11.1-1
79cf757
- Update to 0.11.1
79cf757
8a86139
* Mon Jul 23 2007 Matthias Clasen  <mclasen@redhat.com> - 0.10.3-4
8a86139
- Split out stylesheets as subpackage to avoid pulling automake
8a86139
  in the live CD
8a86139
0bca747
* Fri Jul 20 2007 Jesse Keating <jkeating@redhat.com> - 0.10.3-3
0bca747
- Don't require yelp for now
0bca747
c1c1e2e
* Sun Jun 17 2007 Matthias Clasen <mclasen@redhat.com> - 0.10.3-2
c1c1e2e
- Fix up Requires and BuildRequires
c1c1e2e
ef644f2
* Mon Apr 09 2007 Matthew Barnes <mbarnes@redhat.com> - 0.10.3-1.fc7
ef644f2
- Update to 0.10.3
be69bb0
1dc5c6c
* Mon Mar 12 2007 Matthew Barnes <mbarnes@redhat.com> - 0.10.1-1.fc7
1dc5c6c
- Update to 0.10.1
1dc5c6c
0c020c9
* Wed Jan 31 2007 Matthias Clasen <mclasen@redhat.com> - 0.9.2-1
0c020c9
- Update to 0.9.2
0c020c9
242552a
* Sat Dec 09 2006 Matthew Barnes <mbarnes@redhat.com> - 0.8.0-3
242552a
- Add patch for GNOME bug #355521 (look for local m4 files).
242552a
86053ec
* Fri Sep  8 2006 Matthias Clasen <mclasen@redhat.com> - 0.8.0-2
86053ec
- Fix some directory ownership issues  (#205677)
86053ec
861074b
* Mon Sep  4 2006 Matthias Clasen <mclasen@redhat.com> - 0.8.0-1.fc6
861074b
- Update to 0.8.0
861074b
71c2cf9
* Sat Aug 12 2006 Matthias Clasen <mclasen@redhat.com> - 0.7.2-1.fc6
71c2cf9
- Update to 0.7.2
71c2cf9
30b6801
* Tue Jun 13 2006 Matthias Clasen <mclasen@redhat.com> - 0.7.1-1
30b6801
- Update to 0.7.1
30b6801
dad9144
* Tue Jun  6 2006 Matthias Clasen <mclasen@redhat.com> - 0.6.0-3
dad9144
- Add a BuildRequires for perl-XML-Parser
dad9144
81ebd1c
* Tue Apr 11 2006 Matthias Clasen <mclasen@redhat.com> - 0.6.0-2
81ebd1c
- Add a missing Requires
81ebd1c
a003a93
* Sun Mar 12 2006 Ray Strode <rstrode@redhat.com> - 0.6.0-1
a003a93
- Update to 0.6.0
a003a93
4f1fbaf
* Mon Feb 27 2006 Matthias Clasen <mclasen@redhat.com> - 0.5.7-1
4f1fbaf
- Update to 0.5.7
4f1fbaf
3997139
* Mon Feb 20 2006 Matthias Clasen <mclasen@redhat.com> - 0.5.6-1
3997139
- Update to 0.5.6
3997139
e0654f2
* Sun Feb 12 2006 Matthias Clasen <mclasen@redhat.com> - 0.5.5-1
e0654f2
- Update to 0.5.5
e0654f2
8863176
* Mon Jan 30 2006 Matthias Clasen <mclasen@redhat.com> - 0.5.4-1
8863176
- Update to 0.5.4
8863176
92358ff
* Tue Jan 13 2006 Matthias Clasen <mclasen@redhat.com> - 0.5.3-1
92358ff
- Update to 0.5.3
92358ff
dd97218
* Wed Dec 20 2005 Matthias Clasen <mclasen@redhat.com> - 0.5.2-1
dd97218
- Update to 0.5.2
dd97218
7ee6888
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
7ee6888
- rebuilt
7ee6888
a09e298
* Wed Nov 30 2005 Matthias Clasen <mclasen@redhat.com> - 0.5.1-1
a09e298
- Update to 0.5.1
a09e298
48aea11
* Tue Oct 25 2005 Matthias Clasen <mclasen@redhat.com> - 0.4.3-1
48aea11
- Update to 0.4.3
48aea11
ccaa6ed
* Thu Sep 29 2005 Matthias Clasen <mclasen@redhat.com> - 0.4.2-1
ccaa6ed
- Update to 0.4.2
ccaa6ed
8e90c75
* Thu Sep  8 2005 Matthias Clasen <mclasen@redhat.com> - 0.4.0-1
8e90c75
- Update to 0.4.0
8e90c75
836c059
* Wed Jul 27 2005 Christopher Aillon <caillon@redhat.com> - 0.3.2-1
836c059
- Update to 0.3.2
836c059
a2fb0a1
* Wed Jul 13 2005 Matthias Clasen <mclasen@redhat.com> - 0.3.1-1
a2fb0a1
- Newer upstream version
a2fb0a1
b00a2e9
* Tue Apr 26 2005 Ray Strode <rstrode@redhat.com> - 0.2.0-2
b00a2e9
- Add patch that might fix yelp links (bug 146862)
b00a2e9
91a787b
* Fri Apr 8 2005 Ray Strode <rstrode@redhat.com> - 0.2.0-1
91a787b
- Update to upstream version 0.2.0
91a787b
66a1110
* Thu Mar 17 2005 Ray Strode <rstrode@redhat.com> - 0.1.3-1
66a1110
- Update to upstream version 0.1.3
66a1110
81dc71c
* Wed Feb  2 2005 Nalin Dahyabhai <nalin@redhat.com> - 0.1.2-2
81dc71c
- remove explicit libxml dependency (should have been libxml2)
81dc71c
- add libxml2-devel and libxslt-devel as buildprereqs
81dc71c
c8fc157
* Fri Jan 28 2005 Matthias Clasen <mclasen@redhat.com> - 0.1.2-1
c8fc157
- Initial build.