Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37577566
en ru br
ALT Linux repos
S:0.20.10-alt3
5.0: 0.16.0-alt1
4.1: 0.12.2-alt1.1
4.0: 0.6.0-alt1
3.0: 0.2.0-alt1
+backports:0.4.3-alt0.M30.1.1

Other repositories
Upstream:0.12.2

Group :: Development/Other
RPM: gnome-doc-utils

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: gnome-doc-utils
Version: 0.6.0
Release: alt1

Summary: Documentation utilities for GNOME
Group: Development/Other
License: GPL

%define pkgdocdir %_docdir/%name-%version

%define python_version 2.4
%define libxml_version 2.6.12
%define libxslt_version 1.1.8

Requires: %name-xslt = %version-%release
#Requires: python = %__python_version
Requires: libxml2 >= %libxml_version
Requires(post,postun): scrollkeeper

Source: %name-%version.tar.bz2

%add_python_compile_include %_datadir/xml2po

BuildArch: noarch

BuildPreReq: rpm-build-python

BuildRequires: common-licenses docbook-dtds libgpg-error libxml2-devel libxslt-devel perl-XML-Parser pkg-config python-base python-dev python-modules-compiler python-modules-encodings xml-common xml-utils xsltproc

BuildRequires: python-devel >= %python_version
BuildRequires: libxml2-devel >= %libxml_version
BuildRequires: libxslt-devel >= %libxslt_version

%description
gnome-doc-utils is a collection of documentation utilities for the Gnome
project. It contains the DocBook XSLT stylesheets that were once
distributed with Yelp.

%package xslt
Summary: XSLT stylesheets for %name
Group: Development/Other
License: LGPL

%description xslt
XSLT stylesheets from the gnome-doc-utils collection.

%prep
%setup -q

%build
%configure --disable-scrollkeeper
%make_build

%install
%make_install DESTDIR=%buildroot pkgconfigdir=%_datadir/pkgconfig install
%find_lang --with-gnome --output=%name.lang gnome-doc-make gnome-doc-xslt

install -d -m755 %buildroot%pkgdocdir
install -p -m644 AUTHORS README NEWS COPYING %buildroot%pkgdocdir/
ln -s %_licensedir/GPL-2 %buildroot%pkgdocdir/COPYING.GPL
ln -s %_licensedir/LGPL-2.1 %buildroot%pkgdocdir/COPYING.LGPL

%post
%update_scrollkeeper

%postun
%clean_scrollkeeper

%files -f %name.lang
%pkgdocdir/AUTHORS
%pkgdocdir/COPYING
%pkgdocdir/COPYING.GPL
%pkgdocdir/NEWS
%pkgdocdir/README
%_bindir/*
%_datadir/pkgconfig/*
%_datadir/aclocal/*
%_datadir/xml2po
%_datadir/%name
%_man1dir/*

%files xslt
%pkgdocdir/COPYING.LGPL
%_datadir/xml/gnome

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin