1 Star 0 Fork 12

starlet_dx/glib

forked from src-openEuler/glib 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
glib.spec 2.23 KB
一键复制 编辑 原始数据 按行查看 历史
xu_ping 提交于 2022-01-05 20:50 +08:00 . fix config path error
Name: glib
Epoch: 1
Version: 1.2.10
Release: 56
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/openEuler/config.guess config.guess
install -p -m 0644 /usr/lib/rpm/openEuler/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
* 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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/starlet-dx/glib.git
git@gitee.com:starlet-dx/glib.git
starlet-dx
glib
glib
master

搜索帮助