Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37711808
en ru br
ALT Linux repositórios
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 :: Sistema/Bibliotecas
RPM: libgdiplus

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: libgdiplus
Version: 1.1.8
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 included
%if_with_param cairo installed
%def_enable glitz
%else
%def_disable glitz
%endif
%def_disable static

Source0: http://www.go-mono.com/sources/%name-%version.tar.gz
%if_with_param cairo installed
Source1: Makefile.dummy
Patch0: libgdiplus-1.1.8-alt.patch
%endif

# Automatically added by buildreq on Thu Sep 23 2004

BuildRequires: XFree86-devel XFree86-libs fontconfig-devel freetype2-devel glib2-devel glibc-devel-static hostinfo libcairo-devel libglitz-devel libjpeg-devel libpixman-devel libpng-devel libtiff-devel libungif-devel pkgconfig zlib-devel

%description
An Open Source implementation of the GDI+ API

%prep
%setup -q
%if_with_param cairo installed
%patch -p1
%endif

%build
%remove_optflags -Wall
%if_with_param cairo installed
%__cp %SOURCE1 libpixman/Makefile
%__cp %SOURCE1 cairo/Makefile
%endif
%configure %{subst_with_param cairo} %{subst_enable glitz}  %{subst_enable static}
%make_build

%install
%makeinstall

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

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009