update to 6.0.5 [release 6.0.5-1mamba;Mon Dec 14 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 04:20:58 +01:00
parent 2a52629b1a
commit 9db11f9550

View File

@ -4,7 +4,7 @@
%define with_xcb 1 %define with_xcb 1
Name: libgdiplus Name: libgdiplus
Version: 5.6.1 Version: 6.0.5
Release: 1mamba Release: 1mamba
Summary: An Open Source implementation of the GDI+ API Summary: An Open Source implementation of the GDI+ API
Group: System/Libraries Group: System/Libraries
@ -21,21 +21,29 @@ Patch4: libgdiplus-2.10.9-libgif-5.patch
License: LGPL, MPL 1.1, MIT License: LGPL, MPL 1.1, MIT
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel BuildRequires: libcairo-devel
BuildRequires: libexif-devel BuildRequires: libexif-devel
BuildRequires: libexpat-devel
BuildRequires: libfontconfig-devel BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel BuildRequires: libfreetype-devel
BuildRequires: libgif-devel BuildRequires: libgif-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libjbig-devel
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: libpng14-devel BuildRequires: liblzma-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
BuildRequires: libX11-devel BuildRequires: libwebp-devel
BuildRequires: libXext-devel BuildRequires: libxcb-devel
BuildRequires: libXrender-devel BuildRequires: libz-devel
BuildRequires: libzstd-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: libcairo-devel
BuildRequires: libpoppler-devel BuildRequires: libpoppler-devel
%if %{with_glitz} %if %{with_glitz}
BuildRequires: libglitz-devel BuildRequires: libglitz-devel
@ -53,13 +61,14 @@ It is part of the Mono Project.
%package devel %package devel
Group: Development/Libraries Group: Development/Libraries
Summary: Static libraries and headers for %{name} Summary: Static libraries and headers for %{name}
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel %description devel
Libgdiplus is an Open Source implementation of the GDI+ API. Libgdiplus is an Open Source implementation of the GDI+ API.
It is part of the Mono Project. It is part of the Mono Project.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development. %debug_package
%prep %prep
%setup -q %setup -q
@ -67,10 +76,10 @@ This package contains static libraries and header files need for development.
#%patch2 -p1 #%patch2 -p1
#%patch3 -p0 #%patch3 -p0
#%patch4 -p1 #%patch4 -p1
./autogen.sh
%build %build
export CFLAGS="-lX11 -lXext -lglib-2.0" #export CFLAGS="-lX11 -lXext -lglib-2.0"
./autogen.sh
%configure \ %configure \
%if %{with_glitz} %if %{with_glitz}
--enable-glitz \ --enable-glitz \
@ -99,16 +108,21 @@ sed -ie "s,-Werror,,g" src/Makefile
%files %files
%defattr(-,root,root) %defattr(-,root,root)
# note: mono requires libgdiplus.so # note: mono requires libgdiplus.so
%{_libdir}/*.so* %{_libdir}/libgdiplus.so
%doc AUTHORS COPYING ChangeLog LICENSE MPL-1.1.html NEWS README TODO %{_libdir}/libgdiplus.so.*
%doc AUTHORS COPYING
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.a %{_libdir}/libgdiplus.a
%{_libdir}/*.la %{_libdir}/libgdiplus.la
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%doc ChangeLog LICENSE NEWS TODO
%changelog %changelog
* Mon Dec 14 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.5-1mamba
- update to 6.0.5
* Thu Mar 28 2019 Automatic Build System <autodist@mambasoft.it> 5.6.1-1mamba * Thu Mar 28 2019 Automatic Build System <autodist@mambasoft.it> 5.6.1-1mamba
- automatic version update by autodist - automatic version update by autodist