代码拉取完成,页面将自动刷新
%define real_name libgdiplus
Name: libgdiplus0
Version: @VERSION@
Release: 0
License: LGPL v2.1 only ; MPL ; MIT License (or similar)
Url: http://go-mono.org/
Source0: %{real_name}-%{version}.tar.bz2
Summary: Open Source Implementation of the GDI+ API
Group: Development/Libraries/Other
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Obsoletes: libgdiplus-devel
Provides: libgdiplus-devel
Obsoletes: libgdiplus
Provides: libgdiplus
BuildRequires: cairo-devel >= 1.6.4
BuildRequires: fontconfig-devel
BuildRequires: giflib-devel
BuildRequires: glib2-devel
BuildRequires: libexif-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
%if 0%{?suse_version}
BuildRequires: freetype2-devel
%else
BuildRequires: freetype-devel
%endif
%description
This is part of the Mono project. It is required when using
Windows.Forms.
%files
%defattr(-, root, root)
%_libdir/libgdiplus.so*
%_libdir/pkgconfig/libgdiplus.pc
%doc AUTHORS COPYING ChangeLog* NEWS README.md
%prep
%setup -q -n %{real_name}-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
%configure
make
%install
make install DESTDIR=%{buildroot}
# Unwanted files:
rm -f %{buildroot}%{_libdir}/libgdiplus.a
rm -f %{buildroot}%{_libdir}/libgdiplus.la
# Remove generic non-usefull INSTALL file... (appeases
# suse rpmlint checks, saves 3kb)
find . -name INSTALL | xargs rm -f
%clean
rm -rf "$RPM_BUILD_ROOT"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%changelog
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。