File mingw64-clutter.spec of Package mingw64-clutter
#
# spec file for package mingw64-clutter
#
# 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-clutter
Version: 1.6.20
Release: 0
Summary: The clutter library
License: LGPL-2.1-or-later
Group: Development/Libraries
Url: http://clutter-project.org/
Source: http://www.clutter-project.org/sources/clutter/1.5/clutter-%{version}.tar.bz2
Patch0: clutter-1.6.14-windows.patch
Patch1: clutter-1.6.20-ldl.patch
# Native version for glib-genmarshal
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: glib2-devel
#!BuildIgnore: post-build-checks
BuildRequires: gtk-doc
BuildRequires: libtool
BuildRequires: mingw64-atk-devel
BuildRequires: mingw64-cairo-devel
BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-filesystem
BuildRequires: mingw64-gdk-pixbuf-devel
BuildRequires: mingw64-glib2-devel
BuildRequires: mingw64-json-glib-devel
BuildRequires: mingw64-libtool
BuildRequires: mingw64-pango-devel
BuildRequires: mingw64-win_iconv-devel
Requires: %{name}-lang = %{version}
%_mingw64_package_header_debug
BuildArch: noarch
%description
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces. This package contain the
shared library.
%package -n mingw64-libclutter-win32-1_0-0
Summary: MinGW Windows port of the Clutter library
Group: System/Libraries
Obsoletes: mingw64-clutter
Provides: mingw64-clutter
%description -n mingw64-libclutter-win32-1_0-0
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces. This package contain the
shared library.
%package devel
Summary: The clutter library (Development)
Group: Development/Libraries
Requires: mingw64-glee-devel
%description devel
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces. This package contain the
files for development.
%_mingw64_debug_package
%lang_package
%prep
%setup -q -n clutter-%{version}
%patch -P 0 -p1 -b .windows
%patch -P 1 -p1 -b .ldl
%build
libtoolize --force --copy --install
autoreconf -f -i
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
PATH="%{_mingw64_bindir}:$PATH" \
%{_mingw64_configure} \
--disable-static --enable-shared \
--with-flavour=win32 \
--disable-glibtest --disable-conformance
make %{?_smp_mflags} || make
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%find_lang clutter-1.0
%files -n mingw64-libclutter-win32-1_0-0
%defattr(-,root,root)
%{_mingw64_bindir}/libclutter-win32-1.0-0.dll
%files lang -f clutter-1.0.lang
%defattr(-,root,root)
%files devel
%defattr(-,root,root)
%{_mingw64_includedir}/clutter-1.0
%{_mingw64_libdir}/libclutter-win32-1.0.dll.a
%{_mingw64_libdir}/pkgconfig/clutter-win32-1.0.pc
%{_mingw64_libdir}/pkgconfig/cally-1.0.pc
%{_mingw64_libdir}/pkgconfig/cogl-gl-1.0.pc
%{_mingw64_libdir}/pkgconfig/cogl-1.0.pc
%{_mingw64_libdir}/pkgconfig/clutter-1.0.pc
%{_mingw64_datadir}/gtk-doc/html/cally
%{_mingw64_datadir}/gtk-doc/html/clutter
%{_mingw64_datadir}/gtk-doc/html/cogl
%changelog