2015-09-09 13:22:49 +00:00
|
|
|
#
|
|
|
|
# spec file for package libgdiplus
|
|
|
|
#
|
2020-08-18 07:01:38 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2015-09-09 13:22:49 +00: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 08:52:06 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-09-09 13:22:49 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define soname 0
|
|
|
|
Name: libgdiplus
|
2020-03-03 08:52:06 +00:00
|
|
|
Version: 6.0.4
|
2015-09-09 13:22:49 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Open Source Implementation of the GDI+ API
|
2020-03-03 08:52:06 +00:00
|
|
|
License: (LGPL-2.1-or-later OR MPL-1.1) AND MIT
|
2015-09-09 13:22:49 +00:00
|
|
|
Group: Development/Libraries/Mono
|
2020-03-03 08:52:06 +00:00
|
|
|
URL: https://github.com/mono/libgdiplus
|
2015-09-09 13:22:49 +00:00
|
|
|
Source: http://download.mono-project.com/sources/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: giflib-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libtool
|
2020-03-03 08:52:06 +00:00
|
|
|
BuildRequires: pkgconfig
|
2015-09-09 13:22:49 +00: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 17:30:35 +00:00
|
|
|
sed -i 's/-Wall/-Wall %{optflags}/' src/Makefile.am
|
2015-09-09 13:22:49 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -fiv
|
|
|
|
%configure
|
2020-03-03 08:52:06 +00:00
|
|
|
%make_build
|
2015-09-09 13:22:49 +00:00
|
|
|
|
|
|
|
%install
|
2020-03-03 08:52:06 +00:00
|
|
|
%make_install
|
2015-09-09 13:22:49 +00:00
|
|
|
rm -rf %{buildroot}%{_libdir}/%{name}.{a,la}
|
|
|
|
|
2020-03-03 08:52:06 +00:00
|
|
|
#%check
|
|
|
|
#%make_build check
|
2015-09-09 13:22:49 +00: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 08:52:06 +00:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog* NEWS README.md
|
2015-09-09 13:22:49 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/libgdiplus.so
|
|
|
|
%{_libdir}/pkgconfig/libgdiplus.pc
|
|
|
|
|
|
|
|
%changelog
|