Compare commits

..

No commits in common. "bf8b27dcee9ce8c22bd23d59375cb51fb7bdc029" and "dd52269c544d19a9abeaf66fdefa7561f02baf16" have entirely different histories.

4 changed files with 20 additions and 28 deletions

BIN
glade-3.22.1.tar.xz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,14 +1,13 @@
Name: glade
Version: 3.40.0
Release: 1
Version: 3.22.1
Release: 5
Summary: User Interface Designer for GTK+
License: GPLv2+ and LGPLv2+
URL: https://glade.gnome.org/
Source0: https://download.gnome.org/sources/glade/3.40/glade-%{version}.tar.xz
Source0: https://ftp.gnome.org/pub/GNOME/sources/glade/3.22/glade-%{version}.tar.xz
BuildRequires: desktop-file-utils docbook-style-xsl gettext gtk3-devel intltool
BuildRequires: chrpath 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}
@ -46,18 +45,26 @@ developing applications that use Glade widget library.
%autosetup -n %{name}-%{version}
%build
%meson -Dgtk_doc=true
%meson_build
export PYTHON=%{__python3}
%configure --disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
%make_build
%install
%meson_install
%make_install
%delete_la
chrpath --delete %{buildroot}%{_bindir}/glade*
chrpath --delete %{buildroot}%{_libdir}/glade/modules/*.so
%find_lang glade --with-gnome
%check
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome.Glade.appdata.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Glade.desktop
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/glade.appdata.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/glade.desktop
%files
%defattr(-,root,root)
@ -65,10 +72,10 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Glade.deskt
%{_bindir}/glade
%{_bindir}/glade-previewer
%{_datadir}/locale/*
%{_datadir}/applications/org.gnome.Glade.desktop
%{_datadir}/applications/glade.desktop
%{_datadir}/help/*
%{_datadir}/icons/*
%{_datadir}/metainfo/org.gnome.Glade.appdata.xml
%{_datadir}/metainfo/glade.appdata.xml
%files libs
%defattr(-,root,root)
@ -86,23 +93,12 @@ 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
%doc AUTHORS NEWS README
%{_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
* Thu Jul 23 2020 hanhui <hanhui15@huawei.com> - 3.36.0-1
- update to 3.36.0
* Fri Nov 8 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.22.1-5
- Type:bugfix
- Id:NA

View File

@ -1,4 +0,0 @@
version_control: gitlab.gnome
src_repo: glade
tag_prefix: GLADE3?_
seperator: "_"