Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37434047
en ru br
ALT Linux repos
S:5.6.1-alt1
5.0: 2.2-alt1
4.1: 1.9-alt1
4.0: 1.2.3-alt1
3.0: 1.1.8-alt1

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

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin