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