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

Name: libgdiplus
Version: 1.2.3
Release: alt1

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

%define def_with_param() %{expand:%%{!?_with_%{1}: %%{!?_without_%{1}: %%{?2: %%global _with_param_%{1} %{2}} %%global _with_%{1} --with-%{1}}}}
%define subst_with_param() %{expand:%%{?_with_%{1}:%%{_with_%{1}}%%{?_with_param_%{1}:=%%{_with_param_%{1}}}}} %{expand:%%{?_without_%{1}:%%{_without_%{1}}%%{?_without_param_%{1}:=%%{_without_param_%{1}}}}}
%define if_with_param() %if %{expand:%%{?_with_%{1}: %%{?2:%%(if [ "%%{_with_param_%{1}}" == "%{2}" ]; then echo 1; else echo 0; fi)}%%{!?2:1}}%%{!?_with_%{1}:0}}

%def_with_param cairo installed
%def_disable static

Source0: http://www.go-mono.com/sources/%name/%name-%version.tar.gz
Patch0: libgdiplus-1.1.17-alt.patch

BuildPreReq: glib2-devel >= 2.2.3
BuildPreReq: libcairo-devel >= 1.2.0
# Automatically added by buildreq on Tue Sep 26 2006
BuildRequires: libjpeg-devel libtiff-devel libungif-devel libexif-devel

%description
An Open Source implementation of the GDI+ API

%prep
%setup -q
%patch -p1

%build
%remove_optflags -Wall
%__aclocal
%__autoconf
%__automake
%configure %{subst_with_param cairo}  %{subst_enable static}
%make_build

%install
%makeinstall

%files
%_libdir/libgdiplus.so
%_libdir/libgdiplus.so.0
%_libdir/libgdiplus.so.0.0.0  
%_libdir/pkgconfig/*

%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