!6 [sync] PR-5: Init Package for xfce 4.14

From: @openeuler-sync-bot
Reviewed-by: @dwl301
Signed-off-by: @dwl301
This commit is contained in:
openeuler-ci-bot 2021-12-10 03:48:04 +00:00 committed by Gitee
commit d3b1b0bdda
3 changed files with 14 additions and 23 deletions

BIN
xfdashboard-0.7.7.tar.bz2 Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,15 +1,13 @@
%global minorversion 0.9
%global libversion 0.900.3
Name: xfdashboard Name: xfdashboard
Version: 0.9.3 Version: 0.7.7
Release: 1 Release: 1
Summary: GNOME shell like dashboard for Xfce Summary: GNOME shell like dashboard for Xfce
License: GPLv2+ License: GPLv2+
#Group: Development/Libraries
URL: http://goodies.xfce.org/projects/applications/%{name}/start URL: http://goodies.xfce.org/projects/applications/%{name}/start
Source0: http://archive.xfce.org/src/apps/xfdashboard/%{minorversion}/%{name}-%{version}.tar.bz2 Source0: http://archive.xfce.org/src/apps/xfdashboard/0.7/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildArch: noarch
BuildRequires: clutter-devel BuildRequires: clutter-devel
BuildRequires: garcon-devel BuildRequires: garcon-devel
BuildRequires: libICE-devel BuildRequires: libICE-devel
@ -22,7 +20,6 @@ BuildRequires: xfce4-dev-tools
BuildRequires: xfconf-devel BuildRequires: xfconf-devel
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: libtool BuildRequires: libtool
BuildRequires: libappstream-glib
%description %description
Xfdashboard provides a GNOME shell dashboard like interface for use with Xfce Xfdashboard provides a GNOME shell dashboard like interface for use with Xfce
@ -63,31 +60,29 @@ export CFLAGS="%{optflags}"
find %{buildroot} -name '*.la' -exec rm -f {} ';' find %{buildroot} -name '*.la' -exec rm -f {} ';'
%check %check
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*%{name}*metainfo.xml desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
desktop-file-validate %{buildroot}%{_datadir}/applications/org.xfce*%{name}.desktop desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-settings.desktop
desktop-file-validate %{buildroot}%{_datadir}/applications/org.xfce*%{name}-settings.desktop desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/%{name}-autostart.desktop
desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/org.xfce*%{name}-autostart.desktop
%ldconfig_scriptlets %ldconfig_scriptlets
%files -f %{name}.lang %files -f %{name}.lang
%license COPYING %license COPYING
%doc AUTHORS %doc AUTHORS README
%{_bindir}/%{name} %{_bindir}/%{name}
%{_bindir}/%{name}-settings %{_bindir}/%{name}-settings
%{_datadir}/%{name}/bindings.xml %{_datadir}/%{name}/bindings.xml
%{_datadir}/%{name}/preferences.ui %{_datadir}/%{name}/preferences.ui
%{_metainfodir}/*%{name}*metainfo.xml %{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/applications/org.xfce*%{name}.desktop %{_datadir}/applications/%{name}.desktop
%{_datadir}/applications/org.xfce*%{name}-settings.desktop %{_datadir}/applications/%{name}-settings.desktop
%{_sysconfdir}/xdg/autostart/org.xfce*%{name}-autostart.desktop %{_sysconfdir}/xdg/autostart/%{name}-autostart.desktop
%{_datadir}/icons/hicolor/*/*/org.xfce.%{name}.* %{_datadir}/icons/hicolor/*/*/%{name}.png
%{_datadir}/themes/%{name}/* %{_datadir}/themes/%{name}/*
%{_libdir}/lib%{name}.so.0 %{_libdir}/lib%{name}.so.0
%{_libdir}/lib%{name}.so.%{libversion} %{_libdir}/lib%{name}.so.0.700.7
%{_libdir}/%{name}/plugins/clock-view.so %{_libdir}/%{name}/plugins/clock-view.so
%{_libdir}/%{name}/plugins/gnome-shell-search-provider.so %{_libdir}/%{name}/plugins/gnome-shell-search-provider.so
%{_libdir}/%{name}/plugins/recently-used-search-provider.so
%{_libdir}/%{name}/plugins/hot-corner.so %{_libdir}/%{name}/plugins/hot-corner.so
%{_libdir}/%{name}/plugins/middle-click-window-close.so %{_libdir}/%{name}/plugins/middle-click-window-close.so
@ -100,9 +95,5 @@ desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/org.xfce*%{name}-
%{_libdir}/lib%{name}.so %{_libdir}/lib%{name}.so
%changelog %changelog
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 0.9.3-1
- Update to 0.9.3
* Mon Jul 27 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.7.7-1 * Mon Jul 27 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.7.7-1
- Init package - Init package