File mingw64-libgee.spec of Package mingw64-libgee
#
# spec file for package mingw64-libgee
#
# 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-libgee
Version: 0.6.0
Release: 0
Summary: GObject-based library providing commonly used data structures
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
Url: http://live.gnome.org/Libgee
Source0: http://download.gnome.org/sources/libgee/0.6/libgee-%{version}.tar.bz2
Source1000: %{name}-rpmlintrc
#!BuildIgnore: post-build-checks
BuildRequires: glib2-devel
BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-filesystem >= 23
BuildRequires: mingw64-gettext-tools
BuildRequires: mingw64-glib2-devel
BuildRequires: mingw64-win_iconv-devel
BuildRequires: vala
%_mingw64_package_header_debug
BuildArch: noarch
%description
Libgee is a collection library providing GObject-based interfaces and
classes for commonly used data structures.
%package -n mingw64-libgee2
Summary: GObject-based library providing commonly used data structures
Group: System/Libraries
Obsoletes: %{name}
Provides: %{name}
%description -n mingw64-libgee2
Libgee is a collection library providing GObject-based interfaces and
classes for commonly used data structures.
%package devel
Summary: GObject-based library providing useful data structures - Development Files
Group: Development/Libraries/C and C++
%description devel
Libgee is a collection library providing GObject-based interfaces and
classes for commonly used data structures.
%_mingw64_debug_package
%prep
%setup -q -n libgee-%{version}
%build
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
%{_mingw64_configure} \
--disable-static \
--enable-shared
make %{?_smp_mflags} || make
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files -n mingw64-libgee2
%defattr(-,root,root)
%{_mingw64_bindir}/libgee-2.dll
%files devel
%defattr(-,root,root)
%{_mingw64_includedir}/gee-1.0/gee.h
%{_mingw64_libdir}/libgee.dll.a
%{_mingw64_libdir}/pkgconfig/gee-1.0.pc
%{_mingw64_datadir}/vala/vapi/gee-1.0.vapi
%changelog