|
|
|
@ -2,17 +2,12 @@
|
|
|
|
|
%undefine _hardened_build
|
|
|
|
|
|
|
|
|
|
Name: libgdiplus
|
|
|
|
|
Version: 5.6
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 6.0.4
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: An Open Source implementation of the GDI+ API
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://www.mono-project.com/Main_Page
|
|
|
|
|
Source0: http://download.mono-project.com/sources/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
# drop -Wno-format so the default -Werror=format-security works
|
|
|
|
|
Patch1: libgdiplus-2.10.9-format.patch
|
|
|
|
|
Patch2: libgdiplus-5.6-gifcodec.patch
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: freetype-devel glib2-devel libjpeg-devel libtiff-devel
|
|
|
|
|
BuildRequires: libpng-devel fontconfig-devel
|
|
|
|
@ -32,8 +27,6 @@ Development files for libgdiplus
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch1 -p1 -b .format
|
|
|
|
|
%patch2 -p1 -b .gifcodec
|
|
|
|
|
|
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS -Wl,-z,lazy"
|
|
|
|
|
CXXFLAGS="$RPM_OPT_FLAGS -Wl,-z,lazy"
|
|
|
|
@ -54,7 +47,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
%files
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc NEWS README TODO AUTHORS ChangeLog
|
|
|
|
|
%doc NEWS README.md TODO AUTHORS ChangeLog
|
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
@ -62,6 +55,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Nov 8 2019 Tom Callaway <spot@fedoraproject.org> - 6.0.4-1
|
|
|
|
|
- update to 6.0.4
|
|
|
|
|
|
|
|
|
|
* Thu Aug 08 2019 Kentaro Ishii <sony.pcv.s520@gmail.com> - 5.6-5
|
|
|
|
|
- Fixes #1710587.
|
|
|
|
|
|
|
|
|
|