Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zkrd2:mono
libgdiplus
libgdiplus.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libgdiplus.spec of Package libgdiplus
# # spec file for package libgdiplus # # Copyright (c) 2019 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define soname 0 Name: libgdiplus Version: 6.0.5 Release: 0 Summary: Open Source Implementation of the GDI+ API License: (LGPL-2.1-or-later OR MPL-1.1) AND MIT Group: Development/Libraries/Mono URL: https://github.com/mono/libgdiplus Source0: http://download.mono-project.com/sources/%{name}/%{name}-%{version}.tar.gz Source1: missing_test_files.tar.gz Patch0: libgdiplus-6.0.4_autoconf_warning.patch Patch1: libgdiplus-6.0.4_disable_failing_checks.patch Patch2: libgdiplus-6.0.4_disable_failing_checks4sles.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: giflib-devel BuildRequires: libjpeg-devel BuildRequires: libtool BuildRequires: make BuildRequires: pkgconfig BuildRequires: pkgconfig(cairo) >= 1.6.4 BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(libexif) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libtiff-4) BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xrender) %description Mono library that provide a GDI+ comptible API on non-Windows operating systems. %package -n libgdiplus%{soname} Summary: Open Source Implementation of the GDI+ API Group: System/Libraries %description -n libgdiplus%{soname} Mono library that provide a GDI+ comptible API on non-Windows operating systems. %package devel Summary: Development files for libgdiplus Group: Development/Libraries/C and C++ Requires: libgdiplus%{soname} = %{version} %description devel This library is part of the Mono project. It is required when using System.Drawing. %prep %setup -q %setup -q -T -D -a 1 %patch0 -p1 %patch1 -p1 # some tests fail in SLE-12 - exclude them for now %if 0%{?suse_version} == 1315 && !0%{?is_opensuse} %patch2 -p1 %endif %build # disable link time optimizations for now as it breaks the build %define _lto_cflags %{nil} autoreconf -fiv %configure # SLE-12 does not know the %make_build macro %if 0%{?suse_version} == 1315 && !0%{?is_opensuse} %{__make} %{?_make_output_sync} %{?_smp_mflags} V=1 VERBOSE=1 %else %make_build %endif %install %make_install rm -rf %{buildroot}%{_libdir}/%{name}.la # some checks do fail %check make %{?_smp_mflags} VERBOSE=1 check %post -n libgdiplus%{soname} -p /sbin/ldconfig %postun -n libgdiplus%{soname} -p /sbin/ldconfig %files -n libgdiplus%{soname} %defattr(-,root,root) %{_libdir}/libgdiplus.so.* %license COPYING LICENSE %doc AUTHORS ChangeLog NEWS README.md %files devel %defattr(-,root,root) %{_libdir}/libgdiplus.so %{_libdir}/libgdiplus.a %{_libdir}/pkgconfig/libgdiplus.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor