Blob Blame History Raw
Summary: Documentation utilities for the GNOME project
Name: gnome-doc-utils
Version: 0.1.2
Release: 2
License: LGPL
Group: Development/Tools
URL: http://www.gnome.org/
Source0: %{name}-%{version}.tar.bz2
Patch0: gnome-doc-utils-0.1.2-reloc.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildPrereq: libxml2-devel >= 2.6.12
BuildPrereq: libxslt-devel >= 1.1.8
Requires: libxml2 >= 2.6.12
Requires: libxslt >= 1.1.8


%description
gnome-doc-utils is a collection of documentation utilities for the GNOME
project. Notably, it contains utilities for building documentation and
all auxiliary files in your source tree, and it contains the DocBook
XSLT stylesheets that were once distributed with Yelp.

%prep
%setup -q
%patch0 -p1 -b .reloc 

%build
%configure
make

%install
rm -rf $RPM_BUILD_ROOT

%makeinstall

mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig/
mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig/*.pc $RPM_BUILD_ROOT%{_datadir}/pkgconfig

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS README NEWS
%{_bindir}/*
%{_datadir}/pkgconfig/*
%{_datadir}/aclocal/gnome-doc-utils.m4
%{_datadir}/gnome
%{_datadir}/omf
%{_datadir}/xml
%{_datadir}/xml2po
%{_datadir}/gnome-doc-utils

%changelog
* Wed Feb  2 2005 Nalin Dahyabhai <nalin@redhat.com> - 0.1.2-2
- remove explicit libxml dependency (should have been libxml2)
- add libxml2-devel and libxslt-devel as buildprereqs

* Fri Jan 28 2005 Matthias Clasen <mclasen@redhat.com> - 0.1.2-1
- Initial build.