File mingw64-gegl.spec of Package mingw64-gegl
#
# spec file for package mingw64-gegl
#
# 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-gegl
Version: 0.2.0
Release: 0
Summary: Generic Graphics Library
License: GPL-3.0-or-later and LGPL-3.0-or-later
Group: Development/Libraries/C and C++
Url: http://gegl.org/gegl/
Source0: ftp://ftp.gtk.org/pub/gegl/0.2/gegl-%{version}.tar.bz2
#!BuildIgnore: post-build-checks
BuildRequires: intltool >= 0.40.1
BuildRequires: mingw64-babl-devel >= 0.1.10
BuildRequires: mingw64-cairo-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-gtk2-devel
BuildRequires: mingw64-libjpeg-devel
BuildRequires: mingw64-libpng-devel
BuildRequires: mingw64-librsvg-devel
BuildRequires: mingw64-pango-devel
%_mingw64_package_header_debug
BuildArch: noarch
%description
GEGL provides infratructure to do demand based cached non destructive
image editing on larger than RAM buffers. Through babl it provides
support for a wide range of color models and pixel storage formats for
input and output.
%package -n mingw64-libgegl-0_2-0
Summary: Generic Graphics Library
Group: System/Libraries
Obsoletes: mingw64-libgegl
%description -n mingw64-libgegl-0_2-0
GEGL provides infratructure to do demand based cached non destructive
image editing on larger than RAM buffers. Through babl it provides
support for a wide range of color models and pixel storage formats for
input and output.
%package devel
Summary: Generic Graphics Library
Group: Development/Libraries/C and C++
%description devel
GEGL provides infratructure to do demand based cached non destructive
image editing on larger than RAM buffers. Through babl it provides
support for a wide range of color models and pixel storage formats for
input and output.
%_mingw64_debug_package
%lang_package
%prep
%setup -q -n gegl-%{version}
%build
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
%{_mingw64_configure} \
--enable-shared --disable-static --without-sdl --disable-docs
%{_mingw64_make} %{?_smp_mflags} || %{_mingw64_make}
%install
%{_mingw64_make} DESTDIR=%{buildroot} install
rm -f %{buildroot}%{_mingw64_libdir}/gegl-0.2/*.dll.a
%find_lang gegl-0.2
%files
%defattr(-,root,root)
%{_mingw64_bindir}/gegl.exe
%{_mingw64_libdir}/gegl-0.2/*.dll
%files lang -f gegl-0.2.lang
%defattr(-,root,root)
%files -n mingw64-libgegl-0_2-0
%defattr(-,root,root)
%{_mingw64_bindir}/libgegl-0.2-0.dll
%files devel
%defattr(-,root,root)
%{_mingw64_includedir}/gegl-0.2/gegl*.h
%{_mingw64_includedir}/gegl-0.2/opencl/*.h
%{_mingw64_includedir}/gegl-0.2/operation/gegl*.h
%{_mingw64_libdir}/libgegl-0.2.dll.a
%{_mingw64_libdir}/pkgconfig/gegl-0.2.pc
%changelog