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
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