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