Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37730536
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
# Enable in patch libgdiplus-alt.patch
#%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}}}}}
#%%def_with_param cairo installed

Name: libgdiplus
Version: 1.9
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/

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

BuildPreReq: glib2-devel >= 2.2.3
BuildPreReq: libcairo-devel >= 1.2.0
BuildPreReq: libexif-devel libjpeg-devel libtiff-devel libungif-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 = %version-%release
                                       
%description devel
Libraries and header files for developing against libgdiplus.

%prep
%setup -q

%build
#%%remove_optflags -Wall
%configure  %{subst_enable static} --with-cairo=system
%make_build

%install
%make_install DESTDIR=%buildroot install

%post
%post_ldconfig

%postun
%postun_ldconfig

%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