!3 upgrade to 1.0.13 for xfce 4.16

From: @zhang__3125
Reviewed-by: @dwl301
Signed-off-by: @dwl301
This commit is contained in:
openeuler-ci-bot 2021-06-25 03:55:46 +00:00 committed by Gitee
commit e8690c2f9a
3 changed files with 17 additions and 9 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,11 +1,14 @@
%global minorversion 1.0
%global app_org_name org.xfce.PanelProfiles
Name: xfce4-panel-profiles Name: xfce4-panel-profiles
Version: 1.0.10 Version: 1.0.13
Release: 1 Release: 1
Summary: A simple application to manage Xfce panel layouts Summary: A simple application to manage Xfce panel layouts
License: GPLv3 License: GPLv3
#Group: Development/Libraries
URL: https://git.xfce.org/apps/xfce4-panel-profiles/about/ URL: https://git.xfce.org/apps/xfce4-panel-profiles/about/
Source0: https://archive.xfce.org/src/apps/%{name}/1.0/%{name}-%{version}.tar.bz2 Source0: https://archive.xfce.org/src/apps/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-devel BuildRequires: python3-devel
@ -13,6 +16,7 @@ BuildRequires: gettext
BuildRequires: intltool BuildRequires: intltool
BuildRequires: libappstream-glib BuildRequires: libappstream-glib
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
Requires: xfce4-panel Requires: xfce4-panel
Provides: xfpanel-switch = %{version}-%{release} Provides: xfpanel-switch = %{version}-%{release}
@ -33,26 +37,30 @@ This tool makes it possible to backup, restore, import, and export these panel l
%install %install
%make_install %make_install
rm -f %{buildroot}%{_docdir}/%{name}/COPYING
%find_lang %{name} %find_lang %{name}
chmod -x %{buildroot}%{_datadir}/%{name}/layouts/* chmod -x %{buildroot}%{_datadir}/%{name}/layouts/*
rm -f %{buildroot}/%{_docdir}/%{name}/INSTALL rm -f %{buildroot}/%{_docdir}/%{name}/INSTALL
rm -f %{buildroot}%{_docdir}/%{name}/COPYING
%check %check
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop desktop-file-validate %{buildroot}/%{_datadir}/applications/%{app_org_name}.desktop
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.xfce.PanelProfiles.appdata.xml appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{app_org_name}.appdata.xml
%files -f %{name}.lang %files -f %{name}.lang
%license COPYING %license COPYING
%doc NEWS AUTHORS README %doc NEWS AUTHORS README.md
%{_mandir}/man1/%{name}* %{_mandir}/man1/%{name}*
%{_datadir}/%{name} %{_datadir}/%{name}
%{_bindir}/%{name} %{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{app_org_name}.desktop
%{_datadir}/metainfo/*.appdata.xml %{_datadir}/metainfo/%{app_org_name}.appdata.xml
%{_datadir}/icons/hicolor/*/apps/%{app_org_name}.*
%changelog %changelog
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 1.0.13-1
- Update to 1.0.13
* Fri Jul 17 2020 <dillon.chen@turbolinux.com.cn> - 1.0.10-1 * Fri Jul 17 2020 <dillon.chen@turbolinux.com.cn> - 1.0.10-1
- Init package - Init package