2015-09-09 15:22:49 +02:00
|
|
|
#
|
|
|
|
# spec file for package libgdiplus
|
|
|
|
#
|
2021-01-12 19:51:36 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2015-09-09 15:22:49 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2020-03-03 09:52:06 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-09-09 15:22:49 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define soname 0
|
|
|
|
Name: libgdiplus
|
2021-01-12 19:51:36 +01:00
|
|
|
Version: 6.0.5
|
2015-09-09 15:22:49 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Open Source Implementation of the GDI+ API
|
2020-03-03 09:52:06 +01:00
|
|
|
License: (LGPL-2.1-or-later OR MPL-1.1) AND MIT
|
2015-09-09 15:22:49 +02:00
|
|
|
Group: Development/Libraries/Mono
|
2020-03-03 09:52:06 +01:00
|
|
|
URL: https://github.com/mono/libgdiplus
|
2015-09-09 15:22:49 +02:00
|
|
|
Source: http://download.mono-project.com/sources/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: giflib-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libtool
|
2020-03-03 09:52:06 +01:00
|
|
|
BuildRequires: pkgconfig
|
2015-09-09 15:22:49 +02:00
|
|
|
BuildRequires: pkgconfig(cairo)
|
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
|
|
BuildRequires: pkgconfig(freetype2)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(libexif)
|
|
|
|
BuildRequires: pkgconfig(libpng)
|
|
|
|
BuildRequires: pkgconfig(libtiff-4)
|
|
|
|
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
|
2019-03-20 18:30:35 +01:00
|
|
|
sed -i 's/-Wall/-Wall %{optflags}/' src/Makefile.am
|
2015-09-09 15:22:49 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -fiv
|
2021-01-12 19:51:36 +01:00
|
|
|
%configure --disable-static
|
2020-03-03 09:52:06 +01:00
|
|
|
%make_build
|
2015-09-09 15:22:49 +02:00
|
|
|
|
|
|
|
%install
|
2020-03-03 09:52:06 +01:00
|
|
|
%make_install
|
2021-01-12 19:51:36 +01:00
|
|
|
rm %{buildroot}%{_libdir}/%{name}.la
|
2015-09-09 15:22:49 +02:00
|
|
|
|
2020-03-03 09:52:06 +01:00
|
|
|
#%check
|
|
|
|
#%make_build check
|
2015-09-09 15:22:49 +02:00
|
|
|
|
|
|
|
%post -n libgdiplus%{soname} -p /sbin/ldconfig
|
|
|
|
%postun -n libgdiplus%{soname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n libgdiplus%{soname}
|
|
|
|
%{_libdir}/libgdiplus.so.*
|
2020-03-03 09:52:06 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog* NEWS README.md
|
2015-09-09 15:22:49 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/libgdiplus.so
|
|
|
|
%{_libdir}/pkgconfig/libgdiplus.pc
|
|
|
|
|
|
|
|
%changelog
|