Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37565277
en ru br
ALT Linux repositórios
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

Outros repositórios
Upstream:0.12.2

Group :: Desenvolvimento/Outros
RPM: gnome-doc-utils

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define ver_major 0.12

%undefine _configure_target

Name: gnome-doc-utils
Version: %ver_major.2
Release: alt1.1

Summary: Documentation utilities for GNOME
Group: Development/Other
License: %gpl2plus
Url: http://www.gnome.org/

Source: %gnome_ftp/%name/%ver_major/%name-%version.tar.bz2
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>

%define pkgdocdir %_docdir/%name-%version

%define libxml_version 2.6.12
%define libxslt_version 1.1.8

Requires: %name-xslt = %version-%release
Requires(post,postun): scrollkeeper
Requires: python-modules-encodings

%add_python_compile_include %_datadir/xml2po

BuildArch: noarch

BuildPreReq: rpm-build-python rpm-build-licenses rpm-build-gnome

# Automatically added by buildreq on Sat Jun 16 2007

BuildRequires: docbook-dtds perl-XML-Parser python-modules-encodings xsltproc

BuildRequires: python-devel
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: %lgpl2plus

%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 gnome-doc-utils

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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009