1 Star 1 Fork 0

ZKEASOFT/libgdiplus

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
libgdiplus0.spec.in 1.53 KB
一键复制 编辑 原始数据 按行查看 历史
%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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/seriawei/libgdiplus.git
git@gitee.com:seriawei/libgdiplus.git
seriawei
libgdiplus
libgdiplus
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385