ALT Linux repositórios

Group :: Desenvolvimento/Outros
RPM: gtk-doc
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: gtk-doc
Version: 1.7
Release: alt1
Summary: API documentation generation tool for GTK+ and GNOME
Group: Development/Other
License: GPL
Url: http://www.gtk.org/rdp/
Packager: Eugene Ostapets <eostapets at altlinux.ru>
%define pkgdocdir %_docdir/%name-%version
Requires(post,postun): scrollkeeper
Requires: sgml-common >= 0.6.3-alt11
Requires: docbook-dtds >= 1.0-alt7
#Requires: docbook-style-dsssl
Requires: docbook-style-xsl
#Requires: openjade >= 1.3.1
Requires: libxml2 >= 2.3.6
Requires: xsltproc
Requires: perl-base >= 1:5.6.0
# hack for broken perl autoreq
Provides: perl(gtkdoc-common.pl)
#set_perl_req_method relaxed
Source0: %name-%version.tar.bz2
BuildArch: noarch
# Automatically added by buildreq on Sun Mar 12 2006
BuildRequires: docbook-dtds scrollkeeper xml-common xml-utils
BuildRequires: common-licenses
BuildRequires: docbook-dtds >= 1.0-alt7
BuildRequires: docbook-style-xsl
BuildRequires: perl-base >= 1:5.6.0
%description
gtk-doc is a tool for generating API reference documentation.
it is used for generating the documentation for GTK+, GLib
and GNOME.
%package manual
Summary: Manual for gtk-doc
Group: Development/Other
License: FDL
%description manual
Manual for gtk-doc, a tool for generating API reference documentation
used by GTK+, GLib and GNOME.
%prep
%setup -q
# Move this doc file to avoid name collisions
mv doc/README doc/README.docs
rm -f examples/*~
%build
export ac_cv_path_JADE=%_bindir/openjade
export ac_cv_path_XSLTPROC=%_bindir/xsltproc
%configure \
--with-xml-catalog=%_sysconfdir/xml/catalog
%make_build
%install
%make_install DESTDIR=%buildroot pkgconfigdir=%_datadir/pkgconfig install
install -d -m755 %buildroot%_datadir/gtk-doc/html
mkdir -p %buildroot%_sysconfdir/buildreqs/files/ignore.d/
cat <<EOF >%buildroot%_sysconfdir/buildreqs/files/ignore.d/%name
^%_datadir/(gtk-doc|gnome|bonobo)/html/.
EOF
%find_lang --with-gnome gtk-doc-manual
install -d -m755 %buildroot%pkgdocdir
install -p -m644 AUTHORS ChangeLog MAINTAINERS NEWS README TODO doc/* \
%buildroot%pkgdocdir/
bzip2 -9 %buildroot%pkgdocdir/ChangeLog
ln -s %_licensedir/GPL-2 %buildroot%pkgdocdir/COPYING
ln -s %_licensedir/FDL-1.1 %buildroot%pkgdocdir/COPYING-DOCS
cp -a examples %buildroot%pkgdocdir/
%post manual
%update_scrollkeeper
%postun manual
%clean_scrollkeeper
%files
%_bindir/*
%_datadir/gtk-doc
%_datadir/sgml/gtk-doc
%_datadir/pkgconfig/*
%_datadir/aclocal/*
%_sysconfdir/buildreqs/files/ignore.d/*
%dir %pkgdocdir
%pkgdocdir/AUTHORS
%pkgdocdir/COPYING
%pkgdocdir/ChangeLog.bz2
%pkgdocdir/MAINTAINERS
%pkgdocdir/NEWS
%pkgdocdir/README*
%pkgdocdir/TODO
%pkgdocdir/*.txt
%pkgdocdir/examples
%files manual -f gtk-doc-manual.lang
%_datadir/omf/*
%dir %pkgdocdir
%pkgdocdir/COPYING-DOCS
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.7
Release: alt1
Summary: API documentation generation tool for GTK+ and GNOME
Group: Development/Other
License: GPL
Url: http://www.gtk.org/rdp/
Packager: Eugene Ostapets <eostapets at altlinux.ru>
%define pkgdocdir %_docdir/%name-%version
Requires(post,postun): scrollkeeper
Requires: sgml-common >= 0.6.3-alt11
Requires: docbook-dtds >= 1.0-alt7
#Requires: docbook-style-dsssl
Requires: docbook-style-xsl
#Requires: openjade >= 1.3.1
Requires: libxml2 >= 2.3.6
Requires: xsltproc
Requires: perl-base >= 1:5.6.0
# hack for broken perl autoreq
Provides: perl(gtkdoc-common.pl)
#set_perl_req_method relaxed
Source0: %name-%version.tar.bz2
BuildArch: noarch
# Automatically added by buildreq on Sun Mar 12 2006
BuildRequires: docbook-dtds scrollkeeper xml-common xml-utils
BuildRequires: common-licenses
BuildRequires: docbook-dtds >= 1.0-alt7
BuildRequires: docbook-style-xsl
BuildRequires: perl-base >= 1:5.6.0
%description
gtk-doc is a tool for generating API reference documentation.
it is used for generating the documentation for GTK+, GLib
and GNOME.
%package manual
Summary: Manual for gtk-doc
Group: Development/Other
License: FDL
%description manual
Manual for gtk-doc, a tool for generating API reference documentation
used by GTK+, GLib and GNOME.
%prep
%setup -q
# Move this doc file to avoid name collisions
mv doc/README doc/README.docs
rm -f examples/*~
%build
export ac_cv_path_JADE=%_bindir/openjade
export ac_cv_path_XSLTPROC=%_bindir/xsltproc
%configure \
--with-xml-catalog=%_sysconfdir/xml/catalog
%make_build
%install
%make_install DESTDIR=%buildroot pkgconfigdir=%_datadir/pkgconfig install
install -d -m755 %buildroot%_datadir/gtk-doc/html
mkdir -p %buildroot%_sysconfdir/buildreqs/files/ignore.d/
cat <<EOF >%buildroot%_sysconfdir/buildreqs/files/ignore.d/%name
^%_datadir/(gtk-doc|gnome|bonobo)/html/.
EOF
%find_lang --with-gnome gtk-doc-manual
install -d -m755 %buildroot%pkgdocdir
install -p -m644 AUTHORS ChangeLog MAINTAINERS NEWS README TODO doc/* \
%buildroot%pkgdocdir/
bzip2 -9 %buildroot%pkgdocdir/ChangeLog
ln -s %_licensedir/GPL-2 %buildroot%pkgdocdir/COPYING
ln -s %_licensedir/FDL-1.1 %buildroot%pkgdocdir/COPYING-DOCS
cp -a examples %buildroot%pkgdocdir/
%post manual
%update_scrollkeeper
%postun manual
%clean_scrollkeeper
%files
%_bindir/*
%_datadir/gtk-doc
%_datadir/sgml/gtk-doc
%_datadir/pkgconfig/*
%_datadir/aclocal/*
%_sysconfdir/buildreqs/files/ignore.d/*
%dir %pkgdocdir
%pkgdocdir/AUTHORS
%pkgdocdir/COPYING
%pkgdocdir/ChangeLog.bz2
%pkgdocdir/MAINTAINERS
%pkgdocdir/NEWS
%pkgdocdir/README*
%pkgdocdir/TODO
%pkgdocdir/*.txt
%pkgdocdir/examples
%files manual -f gtk-doc-manual.lang
%_datadir/omf/*
%dir %pkgdocdir
%pkgdocdir/COPYING-DOCS
%changelog
…
Todas as alterações você pod ver aqui