xfdashboard/xfdashboard.spec

109 lines
3.1 KiB
RPMSpec
Raw Normal View History

2021-06-25 16:12:35 +08:00
%global minorversion 0.9
%global libversion 0.900.3
2020-07-28 15:07:27 +08:00
Name: xfdashboard
2021-06-25 16:12:35 +08:00
Version: 0.9.3
2020-07-28 15:07:27 +08:00
Release: 1
Summary: GNOME shell like dashboard for Xfce
License: GPLv2+
URL: http://goodies.xfce.org/projects/applications/%{name}/start
2021-06-25 16:12:35 +08:00
Source0: http://archive.xfce.org/src/apps/xfdashboard/%{minorversion}/%{name}-%{version}.tar.bz2
2020-07-28 15:07:27 +08:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: clutter-devel
BuildRequires: garcon-devel
BuildRequires: libICE-devel
BuildRequires: libwnck3-devel
BuildRequires: libXcomposite-devel
BuildRequires: libXdamage-devel
BuildRequires: libXinerama-devel
BuildRequires: libxfce4util-devel
BuildRequires: xfce4-dev-tools
BuildRequires: xfconf-devel
BuildRequires: desktop-file-utils
BuildRequires: libtool
2021-06-25 16:12:35 +08:00
BuildRequires: libappstream-glib
2020-07-28 15:07:27 +08:00
%description
Xfdashboard provides a GNOME shell dashboard like interface for use with Xfce
desktop. It can be configured to run to any keyboard shortcut and when executed
provides an overview of applications currently open enabling the user to switch
between different applications. The search feature works like Xfce's app finder
which makes it convenient to search for and start applications.
%package themes
Summary: Themes for xfdashboard
Requires: %{name}
%description themes
Additional themes for use with xfdashboard
%package devel
Summary: Devel files for xfdashboard
Requires: %{name} = %{version}-%{release}
%description devel
Development related files for xfdashboard
%prep
%setup -q
%build
export CFLAGS="%{optflags}"
%configure
%make_build
%install
%make_install
%find_lang %{name}
# remove .la files
find %{buildroot} -name '*.la' -exec rm -f {} ';'
%check
2021-06-25 16:12:35 +08:00
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*%{name}*metainfo.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/org.xfce*%{name}.desktop
desktop-file-validate %{buildroot}%{_datadir}/applications/org.xfce*%{name}-settings.desktop
desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/org.xfce*%{name}-autostart.desktop
2020-07-28 15:07:27 +08:00
%ldconfig_scriptlets
%files -f %{name}.lang
%license COPYING
2021-06-25 16:12:35 +08:00
%doc AUTHORS
2020-07-28 15:07:27 +08:00
%{_bindir}/%{name}
%{_bindir}/%{name}-settings
%{_datadir}/%{name}/bindings.xml
%{_datadir}/%{name}/preferences.ui
2021-06-25 16:12:35 +08:00
%{_metainfodir}/*%{name}*metainfo.xml
%{_datadir}/applications/org.xfce*%{name}.desktop
%{_datadir}/applications/org.xfce*%{name}-settings.desktop
%{_sysconfdir}/xdg/autostart/org.xfce*%{name}-autostart.desktop
%{_datadir}/icons/hicolor/*/*/org.xfce.%{name}.*
2020-07-28 15:07:27 +08:00
%{_datadir}/themes/%{name}/*
%{_libdir}/lib%{name}.so.0
2021-06-25 16:12:35 +08:00
%{_libdir}/lib%{name}.so.%{libversion}
2020-07-28 15:07:27 +08:00
%{_libdir}/%{name}/plugins/clock-view.so
%{_libdir}/%{name}/plugins/gnome-shell-search-provider.so
2021-06-25 16:12:35 +08:00
%{_libdir}/%{name}/plugins/recently-used-search-provider.so
2020-07-28 15:07:27 +08:00
%{_libdir}/%{name}/plugins/hot-corner.so
%{_libdir}/%{name}/plugins/middle-click-window-close.so
%files themes
%{_datadir}/themes/%{name}-*
%files devel
%{_includedir}/%{name}/*
%{_libdir}/pkgconfig/lib%{name}.pc
%{_libdir}/lib%{name}.so
%changelog
2021-06-25 16:12:35 +08:00
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 0.9.3-1
- Update to 0.9.3
2020-07-28 15:07:27 +08:00
* Mon Jul 27 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.7.7-1
- Init package
2021-06-25 16:12:35 +08:00