Group :: System/Libraries
RPM: libgdiplus
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%def_disable static
%def_without pango
%define cairo system
Name: libgdiplus
Version: 5.6.1
Release: alt1
Summary: An Open Source implementation of the GDI+ API.
License: MPL
Group: System/Libraries
Url: https://www.mono-project.com
# https://github.com/mono/libgdiplus.git
Source: %name-%version.tar
BuildRequires: glib2-devel >= 2.2.3
BuildRequires: libcairo-devel >= 1.4.0
%{?_with_pango:BuildRequires: libpango-devel >= 1.10.0}
BuildRequires: fontconfig-devel libfreetype-devel libXrender-devel libX11-devel
BuildRequires: libexif-devel libjpeg-devel libtiff-devel libungif-devel libpng-devel zlib-devel
BuildRequires: gcc-c++
%description
An Open Source implementation of the GDI+ API
%package devel
Summary: Development libraries and headers for %name
Group: Development/C
Requires: %name = %EVR
%description devel
Libraries and header files for developing against libgdiplus.
%prep
%setup
%build
NOCONFIGURE=1 ./autogen.sh --skip-cairo
%configure \
%if %cairo == system
--with-cairo=%cairo \
%{?_with_pango:--with-pango} \
%endif
%{subst_enable static}
%make_build
%install
%makeinstall_std
%files
%doc LICENSE NEWS README TODO MPL-1.1.html AUTHORS ChangeLog
%_libdir/*.so.*
%files devel
%_pkgconfigdir/*.pc
%_libdir/*.so
%changelog
…
Full changelog you can see here
%def_disable static
%def_without pango
%define cairo system
Name: libgdiplus
Version: 5.6.1
Release: alt1
Summary: An Open Source implementation of the GDI+ API.
License: MPL
Group: System/Libraries
Url: https://www.mono-project.com
# https://github.com/mono/libgdiplus.git
Source: %name-%version.tar
BuildRequires: glib2-devel >= 2.2.3
BuildRequires: libcairo-devel >= 1.4.0
%{?_with_pango:BuildRequires: libpango-devel >= 1.10.0}
BuildRequires: fontconfig-devel libfreetype-devel libXrender-devel libX11-devel
BuildRequires: libexif-devel libjpeg-devel libtiff-devel libungif-devel libpng-devel zlib-devel
BuildRequires: gcc-c++
%description
An Open Source implementation of the GDI+ API
%package devel
Summary: Development libraries and headers for %name
Group: Development/C
Requires: %name = %EVR
%description devel
Libraries and header files for developing against libgdiplus.
%prep
%setup
%build
NOCONFIGURE=1 ./autogen.sh --skip-cairo
%configure \
%if %cairo == system
--with-cairo=%cairo \
%{?_with_pango:--with-pango} \
%endif
%{subst_enable static}
%make_build
%install
%makeinstall_std
%files
%doc LICENSE NEWS README TODO MPL-1.1.html AUTHORS ChangeLog
%_libdir/*.so.*
%files devel
%_pkgconfigdir/*.pc
%_libdir/*.so
%changelog
…
Full changelog you can see here