Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37732098
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 

%def_disable static
%def_without pango
%define cairo system

Name: libgdiplus
Version: 2.2
Release: alt1

Summary: An Open Source implementation of the GDI+ API.
License: %mit
Group: System/Libraries
Packager: Mono Maintainers Team <mono at packages.altlinux.org>
Url: http://www.mono-project.com/

Source0: http://www.go-mono.com/sources/%name/%name-%version.tar.bz2

BuildPreReq: glib2-devel >= 2.2.3
BuildPreReq: libcairo-devel >= 1.4.0
%{?_with_pango:BuildPreReq: libpango-devel >= 1.10.0}
BuildPreReq: fontconfig-devel libfreetype-devel libXrender-devel libX11-devel
BuildPreReq: libexif-devel libjpeg-devel libtiff-devel libungif-devel libpng-devel
BuildPreReq: rpm-build-licenses
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 = %version-%release

%description devel
Libraries and header files for developing against libgdiplus.

%prep
%setup -q

%build
#%%remove_optflags -Wall
%configure  \
%if %cairo == system
--with-cairo=%cairo \
%{?_with_pango:--with-pango} \
%endif
%{subst_enable static}

%make_build

%install
%make_install DESTDIR=%buildroot install

%files
%doc COPYING NEWS README TODO MPL-1.1.html AUTHORS ChangeLog
# We need the .so in the main package, because mono opens libgdiplus.so
%_libdir/lib*.so*

%files devel
%_pkgconfigdir/*

%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