Package init

(cherry picked from commit 17eb5943001d35ff3277d471a402b4d9c39967e1)
This commit is contained in:
cherry530 2021-09-09 16:41:57 +08:00 committed by openeuler-sync-bot
parent 94f5fe9956
commit bb0856c8a4
2 changed files with 15 additions and 20 deletions

Binary file not shown.

View File

@ -1,29 +1,30 @@
%global xfceversion 4.16
%global xfceversion 4.14
Name: xfce4-appfinder
Version: 4.16.0
Release: 1
Summary: Appfinder for the Xfce4 Desktop Environment
Version: 4.14.0
Release: 2
Summary: Application finder for the Xfce4 desktop environment
License: GPLv2+
#Group: Development/Libraries
URL: http://www.xfce.org/
Source0: http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2
BuildRequires: make
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildArch: noarch
BuildRequires: gcc-c++
BuildRequires: pkgconfig(dbus-glib-1) >= 0.84
BuildRequires: pkgconfig(garcon-1) >= 0.1.7
BuildRequires: pkgconfig(libxfce4ui-2) >= %{xfceversion}
BuildRequires: pkgconfig(libxfce4ui-1) >= %{xfceversion}
BuildRequires: pkgconfig(libxfconf-0) >= %{xfceversion}
BuildRequires: startup-notification-devel
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: intltool
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
BuildRequires: startup-notification-devel
%description
xfce-appfinder shows system wide installed applications.
xfce-appfinder will search for installed applications on your system. It can also be used
to browse installed applications by category, run them or edit their launchers.
xfce4-appfinder can also be used with a shortcut command to quickly run applications,
and also supports custom prefixes to execute custom commands on provided paramers.
%prep
%setup -q
@ -40,7 +41,6 @@ sed -i 's/gtk-execute/system-run/g' data/xfce4-run.desktop.in
%install
%make_install
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
desktop-file-validate %{buildroot}%{_datadir}/applications/xfce4-run.desktop
@ -48,19 +48,14 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/org.xfce.%{nam
%find_lang %{name}
%files -f %{name}.lang
%license COPYING
%doc TODO ChangeLog AUTHORS
%doc README TODO ChangeLog AUTHORS
%{_bindir}/xfce4-appfinder
%{_bindir}/xfrun4
%{_datadir}/applications/xfce4-*.desktop
%{_datadir}/icons/hicolor/*/apps/org.xfce.appfinder*
%{_metainfodir}/org.xfce.%{name}.appdata.xml
%changelog
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 4.16.0-1
- Update to 4.16.0
* Sun Jul 12 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 4.14.0-1
- Init package