代码拉取完成,页面将自动刷新
同步操作将从 OpenCloudOS Stream/glib2 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Summary: A low-level core library forms the basis for projects such as GTK and GNOME.
Name: glib2
Version: 2.77.1
Release: 1%{?dist}
License: LGPLv2+
URL: https://docs.gtk.org/glib/
%define maj_ver %(echo %{version} | cut -d. -f1)
%define min_ver %(echo %{version} | cut -d. -f2)
Source0: https://download.gnome.org/sources/glib/%{maj_ver}.%{min_ver}/glib-%{version}.tar.xz
Source1: glib-run-installed-tests
BuildRequires: gcc, gcc-c++, meson, perl-interpreter
BuildRequires: gettext, xsltproc, docbook-xsl, gtk-doc
BuildRequires: glibc-devel, libattr-devel, libselinux-devel, systemtap-sdt-devel, python3-devel
BuildRequires: pkgconfig(libelf), pkgconfig(libffi), pkgconfig(libpcre2-8)
BuildRequires: pkgconfig(mount), pkgconfig(sysprof-capture-4), pkgconfig(zlib)
BuildRequires: /usr/bin/marshalparser
%description
GLib is a general-purpose, portable utility library, which
provides many useful data types, macros, type conversions,
string utilities, file utilities, a mainloop abstraction,
and so on.
%package devel
Summary: A library of handy utility functions
Requires: %{name} = %{version}-%{release}
%description devel
This package provides header files of the GLib library for developers.
%package static
Summary: glib static
Requires: %{name}-devel = %{version}-%{release}
Requires: pcre2-static
Requires: sysprof-capture-static
%description static
This package provides static libraries of GLib.
%package doc
Summary: A library of handy utility functions
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description doc
The glib2-doc package includes documentation for the GLib library.
%package tests
Summary: Tests for the glib2 package
Requires: %{name} = %{version}-%{release}
%description tests
This package provides some tests which can be used to check the
installed glib2 package.
%prep
%autosetup -n glib-%{version} -p1
%build
#rm -rf glib/pcre
#rm -rf subprojects
%meson -Dman=true -Ddtrace=true -Dsystemtap=true -Dsysprof=enabled -Dglib_debug=disabled -Dgtk_doc=true \
-Dinstalled_tests=true --default-library=both
%meson_build
%install
%meson_install
touch -r gio/gdbus-2.0/codegen/config.py.in %{buildroot}%{_datadir}/glib-2.0/codegen/*.py
%global py_reproducible_pyc_path %{buildroot}%{_datadir}
%py_byte_compile %{python3} %{buildroot}%{_datadir}
mkdir -p %{buildroot}%{_libdir}/gio/modules
install -Dp -m755 %{SOURCE1} %{buildroot}%{_libexecdir}/installed-tests/
%find_lang glib20
%transfiletriggerin -- %{_libdir}/gio/modules
gio-querymodules %{_libdir}/gio/modules &> /dev/null || :
%transfiletriggerpostun -- %{_libdir}/gio/modules
gio-querymodules %{_libdir}/gio/modules &> /dev/null || :
%transfiletriggerin -- %{_datadir}/glib-2.0/schemas
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%transfiletriggerpostun -- %{_datadir}/glib-2.0/schemas
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%files -f glib20.lang
%license COPYING
%doc NEWS README.md
%{_libdir}/libglib-2.0.so.*
%{_libdir}/libgthread-2.0.so.*
%{_libdir}/libgmodule-2.0.so.*
%{_libdir}/libgobject-2.0.so.*
%{_libdir}/libgio-2.0.so.*
%dir %{_libdir}/gio
%{_libdir}/gio/modules
%ghost %{_libdir}/gio/modules/giomodule.cache
%dir %{_datadir}/bash-completion
%dir %{_datadir}/bash-completion/completions
%{_datadir}/bash-completion/completions/gapplication
%{_datadir}/bash-completion/completions/gdbus
%{_datadir}/bash-completion/completions/gio
%{_datadir}/bash-completion/completions/gsettings
%dir %{_datadir}/glib-2.0
%dir %{_datadir}/glib-2.0/schemas
%{_bindir}/gio
%{_bindir}/gio-querymodules
%{_libexecdir}/gio-launch-desktop
%{_bindir}/glib-compile-schemas
%{_bindir}/gsettings
%{_bindir}/gdbus
%{_bindir}/gapplication
%{_mandir}/man1/gio.1*
%{_mandir}/man1/gio-querymodules.1*
%{_mandir}/man1/glib-compile-schemas.1*
%{_mandir}/man1/gsettings.1*
%{_mandir}/man1/gdbus.1*
%{_mandir}/man1/gapplication.1*
%files devel
%{_libdir}/lib*.so
%{_libdir}/glib-2.0
%{_libdir}/pkgconfig/*
%{_includedir}/*
%{_datadir}/aclocal/*
%{_datadir}/glib-2.0/gdb
%{_datadir}/glib-2.0/gettext
%{_datadir}/glib-2.0/schemas/gschema.dtd
%{_datadir}/glib-2.0/valgrind/glib.supp
%{_datadir}/bash-completion/completions/gresource
%{_datadir}/glib-2.0/codegen
%{_datadir}/gdb/
%{_datadir}/gettext/
%{_datadir}/systemtap/
%{_bindir}/glib-genmarshal
%{_bindir}/glib-gettextize
%{_bindir}/glib-mkenums
%{_bindir}/gobject-query
%{_bindir}/gtester
%{_bindir}/gdbus-codegen
%{_bindir}/glib-compile-resources
%{_bindir}/gresource
%attr (0755, root, root) %{_bindir}/gtester-report
%{_mandir}/man1/glib-genmarshal.1*
%{_mandir}/man1/glib-gettextize.1*
%{_mandir}/man1/glib-mkenums.1*
%{_mandir}/man1/gobject-query.1*
%{_mandir}/man1/gtester-report.1*
%{_mandir}/man1/gtester.1*
%{_mandir}/man1/gdbus-codegen.1*
%{_mandir}/man1/glib-compile-resources.1*
%{_mandir}/man1/gresource.1*
%files static
%{_libdir}/libgio-2.0.a
%{_libdir}/libglib-2.0.a
%{_libdir}/libgmodule-2.0.a
%{_libdir}/libgobject-2.0.a
%{_libdir}/libgthread-2.0.a
%files doc
%{_datadir}/gtk-doc/
%files tests
%{_libexecdir}/installed-tests
%{_datadir}/installed-tests
%changelog
* Wed Aug 9 2023 Wang Guodong <gordonwwang@tencent.com> - 2.77.1-1
- Upgrade to 2.77.1
* Tue Jul 25 2023 kianli <kianli@tencent.com> - 2.77.0-1
- Upgrade to 2.77.0
* Fri Apr 28 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.72.1-5
- Rebuilt for OpenCloudOS Stream 23.05
* Fri Mar 31 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.72.1-4
- Rebuilt for OpenCloudOS Stream 23
* Wed Nov 30 2022 cunshunxia <cunshunxia@tencent.com> - 2.72.1-3
- fix anaconda install error
* Thu Nov 17 2022 Zhao Zhen <jeremiazhao@tencent.com> - 2.72.1-2
- recovered document subpackage
* Tue May 17 2022 cunshunxia <cunshunxia@tencent.com> - 2.72.1-1
- initial build
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。