File mingw64-gtk-doc.spec of Package mingw64-gtk-doc

#
# spec file for package mingw64-gtk-doc
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           mingw64-gtk-doc
Version:        1.17
Release:        0
Summary:        GTK+ DocBook Documentation Generator
License:        GPL-2.0-or-later
Group:          Productivity/Publishing/SGML
Source0:        gtk-doc-%{version}.tar.bz2
Source1000:     %{name}-rpmlintrc
BuildRequires:  docbook-xsl-stylesheets
BuildRequires:  fop
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  gtk-doc
BuildRequires:  libxslt
BuildRequires:  mingw64-cross-binutils
BuildRequires:  mingw64-cross-gcc
BuildRequires:  mingw64-cross-pkg-config
BuildRequires:  mingw64-filesystem >= 23
BuildRequires:  mingw64-glib2-devel
BuildRequires:  mingw64-gnome-doc-utils
BuildRequires:  mingw64-gnome-doc-utils-devel
BuildRequires:  openjade
BuildRequires:  python
BuildRequires:  sgml-skel
BuildRequires:  vim
BuildArch:      noarch
%_mingw64_package_header_debug
#!BuildIgnore: post-build-checks

%description
Gtkdoc is a set of Perl scripts that generate API reference
documentation in DocBook format.  It can extract documentation from
source code comments in a manner similar to Java-doc.  It is used to
generate the documentation for GLib, Gtk+, and GNOME.

%prep
%setup -q -n gtk-doc-%{version}

%build
%{_mingw64_configure} --disable-scrollkeeper
make %{?_smp_mflags} || make

%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}

%files
%defattr(-,root,root)
%{_mingw64_bindir}/gtkdocize
%{_mingw64_bindir}/gtkdoc-*
%{_mingw64_datadir}/aclocal/gtk-doc.m4
%{_mingw64_datadir}/gtk-doc
%{_mingw64_datadir}/pkgconfig/gtk-doc.pc
%{_mingw64_datadir}/sgml/gtk-doc
%{_mingw64_datadir}/gnome/help/gtk-doc-manual
%{_mingw64_datadir}/omf/gtk-doc-manual

%changelog
openSUSE Build Service is sponsored by