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 Name: xfce4-appfinder
Version: 4.16.0 Version: 4.14.0
Release: 1 Release: 2
Summary: Appfinder for the Xfce4 Desktop Environment Summary: Application finder for the Xfce4 desktop environment
License: GPLv2+ License: GPLv2+
#Group: Development/Libraries
URL: http://www.xfce.org/ URL: http://www.xfce.org/
Source0: http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2 Source0: http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: make #BuildArch: noarch
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: pkgconfig(dbus-glib-1) >= 0.84 BuildRequires: pkgconfig(dbus-glib-1) >= 0.84
BuildRequires: pkgconfig(garcon-1) >= 0.1.7 BuildRequires: pkgconfig(garcon-1) >= 0.1.7
BuildRequires: pkgconfig(libxfce4ui-2) >= %{xfceversion} BuildRequires: pkgconfig(libxfce4ui-1) >= %{xfceversion}
BuildRequires: pkgconfig(libxfconf-0) >= %{xfceversion} BuildRequires: pkgconfig(libxfconf-0) >= %{xfceversion}
BuildRequires: startup-notification-devel BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
BuildRequires: intltool BuildRequires: intltool
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib BuildRequires: libappstream-glib
BuildRequires: startup-notification-devel
%description %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 %prep
%setup -q %setup -q
@ -40,7 +41,6 @@ sed -i 's/gtk-execute/system-run/g' data/xfce4-run.desktop.in
%install %install
%make_install %make_install
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
desktop-file-validate %{buildroot}%{_datadir}/applications/xfce4-run.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} %find_lang %{name}
%files -f %{name}.lang %files -f %{name}.lang
%license COPYING %license COPYING
%doc TODO ChangeLog AUTHORS %doc README TODO ChangeLog AUTHORS
%{_bindir}/xfce4-appfinder %{_bindir}/xfce4-appfinder
%{_bindir}/xfrun4 %{_bindir}/xfrun4
%{_datadir}/applications/xfce4-*.desktop %{_datadir}/applications/xfce4-*.desktop
%{_datadir}/icons/hicolor/*/apps/org.xfce.appfinder*
%{_metainfodir}/org.xfce.%{name}.appdata.xml %{_metainfodir}/org.xfce.%{name}.appdata.xml
%changelog %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 * Sun Jul 12 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 4.14.0-1
- Init package - Init package