File mingw64-gtksourceview.spec of Package mingw64-gtksourceview
#
# spec file for package mingw64-gtksourceview
#
# Copyright (c) 2018 SUSE LINUX 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-gtksourceview
Version: 2.10.4
Release: 0
Summary: GTK+ 2.0 Source Editing Widget
License: GPL-2.0-or-later
Group: Development/Libraries
Url: ftp://ftp.gnome.org/pub/gnome/sources/gtksourceview
Source0: ftp://ftp.gnome.org/pub/gnome/sources/gtksourceview/2.10/gtksourceview-%{version}.tar.bz2
Source1000: %{name}-rpmlintrc
#!BuildIgnore: post-build-checks
BuildRequires: glib2-devel
BuildRequires: gtk-doc
BuildRequires: intltool >= 0.35.0
BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-filesystem >= 23
BuildRequires: mingw64-glib2-devel
BuildRequires: mingw64-gtk2-devel
BuildRequires: mingw64-libxml2-devel
BuildRequires: python
Requires: %{name}-lang = %{version}
%_mingw64_package_header_debug
BuildArch: noarch
%description
GtkSourceView is a text widget that extends GtkTextView, the standard
GTK+ 2.x text widget.
It improves GtkTextView by implementing syntax highlighting and other
features typical of a source editor.
%package devel
Summary: GTK+ 2.0 Source Editing Widget (development files)
Group: Development/Libraries
%description devel
GtkSourceView is a text widget that extends GtkTextView, the standard
GTK+ 2.x text widget.
It improves GtkTextView by implementing syntax highlighting and other
features typical of a source editor.
%_mingw64_debug_package
%lang_package
%prep
%setup -q -n gtksourceview-%{version}
%build
echo "lt_cv_deplibs_check_method='pass_all'" >> %{_mingw64_cache}
PATH="%{_mingw64_bindir}:$PATH"; export PATH; \
%{_mingw64_configure} \
--enable-shared --disable-static \
--enable-compile-warnings=maximum --enable-deprecations
%{_mingw64_make} %{?_smp_mflags} || %{_mingw64_make}
%install
%{_mingw64_make} DESTDIR=%{buildroot} install
%find_lang gtksourceview-2.0
%files
%defattr(-,root,root)
%{_mingw64_bindir}/libgtksourceview-2.0-0.dll
%{_mingw64_datadir}/gtksourceview-2.0/language-specs
%{_mingw64_datadir}/gtksourceview-2.0/styles
%files lang -f gtksourceview-2.0.lang
%defattr(-,root,root)
%files devel
%defattr(-,root,root)
%{_mingw64_includedir}/gtksourceview-2.0/gtksourceview
%{_mingw64_libdir}/libgtksourceview-2.0.dll.a
%{_mingw64_libdir}/pkgconfig/gtksourceview-2.0.pc
%{_mingw64_datadir}/gtk-doc/html/gtksourceview-2.0
%changelog