!13 update to 3.40.0

From: @haomi0602 
Reviewed-by: @open-bot 
Signed-off-by: @open-bot
This commit is contained in:
openeuler-ci-bot 2023-12-04 08:34:43 +00:00 committed by Gitee
commit bf8b27dcee
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 13 additions and 15 deletions

Binary file not shown.

BIN
glade-3.40.0.tar.xz Normal file

Binary file not shown.

View File

@ -1,13 +1,14 @@
Name: glade
Version: 3.36.0
Release: 2
Version: 3.40.0
Release: 1
Summary: User Interface Designer for GTK+
License: GPLv2+ and LGPLv2+
URL: https://glade.gnome.org/
Source0: https://ftp.gnome.org/pub/GNOME/sources/glade/3.36/glade-%{version}.tar.xz
Source0: https://download.gnome.org/sources/glade/3.40/glade-%{version}.tar.xz
BuildRequires: chrpath desktop-file-utils docbook-style-xsl gettext gtk3-devel intltool
BuildRequires: desktop-file-utils docbook-style-xsl gettext gtk3-devel intltool
BuildRequires: itstool libxml2-devel pygobject3-devel python3-devel webkit2gtk3-devel
BuildRequires: meson gjs-devel gcc gtk-doc
BuildRequires: /usr/bin/appstream-util /usr/bin/xsltproc
Requires: %{name}-libs = %{version}-%{release}
@ -45,20 +46,12 @@ developing applications that use Glade widget library.
%autosetup -n %{name}-%{version}
%build
export PYTHON=%{__python3}
%configure --disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
%make_build
%meson -Dgtk_doc=true
%meson_build
%install
%make_install
%delete_la
chrpath --delete %{buildroot}%{_bindir}/glade*
chrpath --delete %{buildroot}%{_libdir}/glade/modules/*.so
%meson_install
%find_lang glade --with-gnome
@ -93,12 +86,17 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Glade.deskt
%{_libdir}/libgladeui-2.so
%{_libdir}/pkgconfig/gladeui-2.0.pc
%{_datadir}/gir-1.0/Gladeui-2.0.gir
%{_datadir}/gettext/its/glade-catalog.its
%{_datadir}/gettext/its/glade-catalog.loc
%files help
%doc AUTHORS NEWS
%{_mandir}/man1/*
%changelog
* Wed Aug 02 2023 haomimi <haomimi@uniontech.com> - 3.40.0-1
- update to 3.40.0
* Mon Mar 14 2022 zhanzhimin <zhanzhimin@h-partners.com> - 3.36.0-2
- delete old so file