Package init

(cherry picked from commit 3f5c3d98d48d1023726eca4b71afa855afe6da9b)
This commit is contained in:
cherry530 2021-09-09 16:42:59 +08:00 committed by openeuler-sync-bot
parent a3847cd43c
commit 5e4f88f7a8
2 changed files with 8 additions and 11 deletions

BIN
xfce4-dict-0.8.3.tar.bz2 Normal file

Binary file not shown.

View File

@ -1,22 +1,21 @@
%global minorversion 0.8
%global xfceversion 4.16
%global xfceversion 4.14
Name: xfce4-dict
Version: 0.8.4
Version: 0.8.3
Release: 1
Summary: A Dictionary Client for the Xfce desktop environment
License: GPLv2+
#Group: Development/Libraries
URL: http://goodies.xfce.org/projects/applications/%{name}
Source0: http://archive.xfce.org/src/apps/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
Source0: http://archive.xfce.org/src/apps/%{name}/0.8/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildArch: noarch
BuildRequires: gcc-c++
BuildRequires: libxfce4ui-devel >= %{xfceversion}
BuildRequires: xfce4-panel-devel >= %{xfceversion}
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: intltool
Requires: enchant, xdg-utils
%description
@ -59,13 +58,14 @@ chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%ldconfig_scriptlets
%files -f %{name}.lang
%license COPYING
%doc AUTHORS ChangeLog README
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/org.xfce.Dictionary.png
%{_datadir}/icons/hicolor/scalable/apps/org.xfce.Dictionary.svg
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_mandir}/man1/%{name}.1.gz
%files plugin
@ -73,8 +73,5 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%{_datadir}/xfce4/panel/plugins/*.desktop
%changelog
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 0.8.4-1
- Update to 0.8.4
* Tue Jul 14 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.8.3-1
- Init package