File mingw64-libgnomecanvas.spec of Package mingw64-libgnomecanvas

#
# spec file for package mingw64-libgnomecanvas
#
# 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-libgnomecanvas
Version:        2.30.2
Release:        0
Summary:        MinGW Windows port of the GNOME 2.x Desktop Base Libraries.
License:        GPL-2.0-or-later and LGPL-2.1-or-later
Group:          Development/Libraries/C and C++
Url:            ftp://ftp.gnome.org/pub/gnome/sources/libgnomecanvas
Source0:        ftp://ftp.gnome.org/pub/gnome/sources/libgnomecanvas/2.30/libgnomecanvas-%{version}.tar.bz2
Source1000:     %{name}-rpmlintrc
#!BuildIgnore: post-build-checks
BuildRequires:  gettext-tools
BuildRequires:  glib2-devel
BuildRequires:  intltool >= 0.40.0
BuildRequires:  mingw64-cross-binutils
BuildRequires:  mingw64-cross-gcc
BuildRequires:  mingw64-cross-pkg-config
BuildRequires:  mingw64-filesystem >= 23
BuildRequires:  mingw64-gtk2-devel
BuildRequires:  mingw64-libart_lgpl-devel
BuildRequires:  mingw64-libglade2-devel
BuildRequires:  mingw64-pango-devel
Requires:       %{name}-lang = %{version}
%_mingw64_package_header_debug
BuildArch:      noarch

%description
MinGW Windows port of the Add-On for the GNOME User Interface Libraries.

%package -n mingw64-libgnomecanvas-2-0
Summary:        MinGW Windows port of the GNOME 2.x Desktop Base Libraries.
Group:          System/Libraries
Obsoletes:      %{name}
Provides:       %{name}

%description -n mingw64-libgnomecanvas-2-0
MinGW Windows port of the Add-On for the GNOME User Interface Libraries.

%package devel
Summary:        MinGW Windows port of the Add-On for the GNOME User Interface Libraries (development files).
Group:          Development/Libraries/C and C++

%description devel
MinGW Windows port of the Add-On for the GNOME User Interface Libraries (development files).

%_mingw64_debug_package

%lang_package

%prep
%setup -q -n libgnomecanvas-%{version}

%build
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
%{_mingw64_configure} \
	--enable-shared --disable-static --disable-esd
%{_mingw64_make} %{?_smp_mflags} || %{_mingw64_make}

%install
%{_mingw64_makeinstall}
%find_lang libgnomecanvas-2.0

%files -n mingw64-libgnomecanvas-2-0
%defattr(-,root,root)
%{_mingw64_bindir}/libgnomecanvas-2-0.dll

%files lang -f libgnomecanvas-2.0.lang
%defattr(-,root,root)

%files devel
%defattr(-,root,root)
%{_mingw64_libdir}/libgnomecanvas-2.dll.a
%{_mingw64_libdir}/pkgconfig/libgnomecanvas-2.0.pc
%{_mingw64_datadir}/gtk-doc/html/libgnomecanvas
%{_mingw64_includedir}/libgnomecanvas-2.0/libgnomecanvas

%changelog
openSUSE Build Service is sponsored by