File mingw64-libart_lgpl.spec of Package mingw64-libart_lgpl

#
# spec file for package mingw64-libart_lgpl
#
# 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-libart_lgpl
Version:        2.3.21
Release:        0
Summary:        MinGW Windows port of Libart Components Licensed under the LGPL.
License:        LGPL-2.1-or-later
Group:          Development/Libraries/C and C++
Url:            ftp://ftp.gnome.org/pub/gnome/sources/libart_lgpl
Source0:        ftp://ftp.gnome.org/pub/gnome/sources/libart_lgpl/2.3/libart_lgpl-%{version}.tar.bz2
Source1000:     %{name}-rpmlintrc
#!BuildIgnore: post-build-checks
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  libtool
BuildRequires:  mingw64-cross-binutils
BuildRequires:  mingw64-cross-gcc
BuildRequires:  mingw64-cross-pkg-config
BuildRequires:  mingw64-filesystem >= 23
%_mingw64_package_header_debug
BuildArch:      noarch

%description
Libart is a library for high-performance 2D graphics. It is currently
being used as the antialiased rendering engine for GNOME Canvas. It is
also the rendering engine for Gill, the GNOME Illustration application.

%package -n mingw64-libart_lgpl_2-2
Summary:        MinGW Windows port of Libart Components Licensed under the LGPL.
Group:          System/Libraries
Obsoletes:      %{name} < %{version}-%{release}
Provides:       %{name} = %{version}-%{release}

%description -n mingw64-libart_lgpl_2-2
Libart is a library for high-performance 2D graphics. It is currently
being used as the antialiased rendering engine for GNOME Canvas. It is
also the rendering engine for Gill, the GNOME Illustration application.

%package devel
Summary:        MinGW Windows port of Libart Components Licensed under the LGPL (development files)
Group:          Development/Libraries/C and C++

%description devel
MinGW Windows port of Libart Components Licensed under the LGPL (devel).
Libart is a library for high-performance 2D graphics. It is currently
being used as the antialiased rendering engine for GNOME Canvas. It is
also the rendering engine for Gill, the GNOME Illustration application.

%_mingw64_debug_package

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

%build
autoreconf -f -i
%{_mingw64_configure} \
	--enable-shared --disable-static
%{_mingw64_make} %{?_smp_mflags} || %{_mingw64_make}

%install
%{_mingw64_make} DESTDIR=%{buildroot} install

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

%files devel
%defattr(-,root,root)
%{_mingw64_bindir}/libart2-config
%{_mingw64_includedir}/libart-2.0/libart_lgpl
%{_mingw64_libdir}/libart_lgpl_2.dll.a
%{_mingw64_libdir}/pkgconfig/libart-2.0.pc

%changelog
openSUSE Build Service is sponsored by