upgrade to 42.0

This commit is contained in:
zhang__3125 2022-05-30 17:08:23 +08:00
parent 25f1520f4b
commit 074b46dd6a
3 changed files with 23 additions and 17 deletions

Binary file not shown.

BIN
baobab-42.0.tar.xz Normal file

Binary file not shown.

View File

@ -1,22 +1,26 @@
%global gtk4_version 4.4.0
%global libadwaita_version 1.0.0
Name: baobab Name: baobab
Version: 3.38.0 Version: 42.0
Release: 2 Release: 1
Summary: Graphical directory tree analyzer Summary: Graphical directory tree analyzer
License: GPLv2+ and GFDL-1.1-or-later License: GPLv2+ and GFDL-1.1-or-later
URL: https://wiki.gnome.org/Apps/Baobab URL: https://wiki.gnome.org/Apps/Baobab
Source0: https://download.gnome.org/sources/baobab/3.38/baobab-%{version}.tar.xz Source0: https://download.gnome.org/sources/baobab/42/%{name}-%{version}.tar.xz
BuildRequires: pkgconfig(gtk+-3.0) >= 3.20 libappstream-glib desktop-file-utils BuildRequires: pkgconfig(gtk4) >= %{gtk4_version} pkgconfig(libadwaita-1) >= %{libadwaita_version}
BuildRequires: gettext itstool meson vala BuildRequires: /usr/bin/appstream-util
Requires: gtk3 >= 3.20 BuildRequires: desktop-file-utils gettext itstool meson vala
Obsoletes: gnome-utils < 1:3.3 gnome-utils-devel < 1:3.3 gnome-utils-libs < 1:3.3 Requires: gtk4%{?_isa} >= %{libadwaita_version}
Requires: libadwaita%{?_isa} >= %{libadwaita_version}
%description %description
Baobab can scan specific directories or the entire file system to provide users with a graphical Baobab can scan specific directories or the entire file system to provide users with a graphical
tree representation,including the size or percentage of each directory in a branch.It also auto-detects tree representation,including the size or percentage of each directory in a branch.It also auto-detects
in real-time any change made to your home folder as far as any mounted/unmounted device. in real-time any change made to your home folder as far as any mounted/unmounted device.
%package help %package help
Summary: Documentation for baobab Summary: Documentation for baobab
@ -24,7 +28,7 @@ Summary: Documentation for baobab
This package provides documentation for baobab. This package provides documentation for baobab.
%prep %prep
%autosetup -n baobab-%{version} -p1 %autosetup -n %{name}-%{version} -p1
%build %build
%meson %meson
@ -33,27 +37,30 @@ This package provides documentation for baobab.
%install %install
%meson_install %meson_install
%find_lang baobab --with-gnome %find_lang %{name} --with-gnome
%check %check
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/org.gnome.baobab.appdata.xml appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/org.gnome.baobab.appdata.xml
desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.baobab.desktop desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.baobab.desktop
%files -f %{name}.lang
%files -f baobab.lang %doc AUTHORS NEWS README.md
%doc AUTHORS NEWS README.md COPYING COPYING.docs %license COPYING COPYING.docs
%{_bindir}/baobab %{_bindir}/baobab
%{_datadir}/applications/org.gnome.baobab.desktop %{_datadir}/applications/org.gnome.baobab.desktop
%{_datadir}/dbus-1/services/org.gnome.baobab.service %{_datadir}/dbus-1/services/org.gnome.baobab.service
%{_datadir}/metainfo/org.gnome.baobab.appdata.xml %{_datadir}/icons/hicolor/*/apps/org.gnome.baobab*.svg
%{_datadir}/glib-2.0/schemas/org.gnome.baobab.gschema.xml
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.baobab*.svg
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.baobab-symbolic.svg %{_datadir}/icons/hicolor/symbolic/apps/org.gnome.baobab-symbolic.svg
%{_datadir}/glib-2.0/schemas/org.gnome.baobab.gschema.xml
%{_datadir}/metainfo/org.gnome.baobab.appdata.xml
%files help %files help
%{_mandir}/man1/baobab.1* %{_mandir}/man1/baobab.1*
%changelog %changelog
* Mon May 30 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.0-1
- Update to 42.0
* Mon Apr 18 2022 lizhuang <zhuang.li@turbolinux.com.cn> - 3.38.0-2 * Mon Apr 18 2022 lizhuang <zhuang.li@turbolinux.com.cn> - 3.38.0-2
- Add GFDL Version GFDL-1.1-or-later - Add GFDL Version GFDL-1.1-or-later
- Add baobab.yaml - Add baobab.yaml
@ -64,4 +71,3 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.baobab.des
* Wed Dec 11 2019 fengbing <fengbing7@huawei.com> - 3.30.0-2 * Wed Dec 11 2019 fengbing <fengbing7@huawei.com> - 3.30.0-2
- Package init - Package init