代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/glib 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: glib
Epoch: 1
Version: 1.2.10
Release: 57
License: LGPLv2+
Summary: GLib is the core library that forms the basis for projects
URL: http://www.gtk.org/
Source: https://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz
BuildRequires: coreutils libtool make
Patch0001: glib-1.2.10-isowarning.patch
Patch0002: glib-1.2.10-gcc34.patch
Patch0003: glib-1.2.10-underquoted.patch
Patch0004: glib-1.2.10-no_undefined.patch
Patch0005: glib-1.2.10-multilib.patch
Patch0006: glib-1.2.10-unused-dep.patch
Patch0007: glib-1.2.10-autotools.patch
Patch0008: glib-1.2.10-format.patch
Patch0009: glib-1.2.10-gcc5.patch
%description
GLib is the low-level core library that forms the basis for projects such
as GTK and GNOME. It provides data structure handling for C, portability
wrappers, and interfaces for such runtime functionality as an event loop,
threads, dynamic loading, and an object system.
%package devel
Summary: Glib development files
Requires: glib = %{epoch}:%{version}-%{release}
Requires: pkgconfig
%description devel
Libraries and header files for glib development.
%package help
Summary: Help document for the glib package
Buildarch: noarch
%description help
Help document for the glib package.
%prep
%autosetup -n %{name}-%{version} -p1
install -p -m 0644 /usr/lib/rpm/%{_vendor}/config.guess config.guess
install -p -m 0644 /usr/lib/rpm/%{_vendor}/config.sub config.sub
%build
%configure LIBTOOL=%{_bindir}/libtool
%make_build LIBTOOL=%{_bindir}/libtool
%install
%make_install LIBTOOL=%{_bindir}/libtool
chmod -c a+x %{buildroot}%{_libdir}/lib*.so*
%delete_la_and_a
%check
make check LIBTOOL=%{_bindir}/libtool
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc AUTHORS ChangeLog NEWS README COPYING
%{_libdir}/lib*.so.*
%files devel
%{_bindir}/glib-config
%{_libdir}/lib*.so
%{_libdir}/glib/
%{_libdir}/pkgconfig/*
%{_includedir}/*
%{_datadir}/aclocal/*
%files help
%{_mandir}/man1/*
%exclude %{_infodir}
%changelog
* Thu Dec 22 2022 wanglin <wangl29@chinatelecom.cn> - 1:1.2.10-57
- Fix openEuler hard code problem
* Wed Jan 05 2022 xu_ping <xuping33@huawei.com> - 1:1.2.10-56
- fix config.guess and config.sub path error
* Wed Nov 27 2019 Ling Yang <lingyang2@huawei.com> - 1:1.2.10-54
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。