Init package

This commit is contained in:
dillon chen 2020-07-28 15:07:27 +08:00
parent 9a383ea3ca
commit fee2098a3d
2 changed files with 99 additions and 0 deletions

BIN
xfdashboard-0.7.7.tar.bz2 Normal file

Binary file not shown.

99
xfdashboard.spec Normal file
View File

@ -0,0 +1,99 @@
Name: xfdashboard
Version: 0.7.7
Release: 1
Summary: GNOME shell like dashboard for Xfce
License: GPLv2+
#Group: Development/Libraries
URL: http://goodies.xfce.org/projects/applications/%{name}/start
Source0: http://archive.xfce.org/src/apps/xfdashboard/0.7/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildArch: noarch
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
%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
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-settings.desktop
desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/%{name}-autostart.desktop
%ldconfig_scriptlets
%files -f %{name}.lang
%license COPYING
%doc AUTHORS README
%{_bindir}/%{name}
%{_bindir}/%{name}-settings
%{_datadir}/%{name}/bindings.xml
%{_datadir}/%{name}/preferences.ui
%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/applications/%{name}-settings.desktop
%{_sysconfdir}/xdg/autostart/%{name}-autostart.desktop
%{_datadir}/icons/hicolor/*/*/%{name}.png
%{_datadir}/themes/%{name}/*
%{_libdir}/lib%{name}.so.0
%{_libdir}/lib%{name}.so.0.700.7
%{_libdir}/%{name}/plugins/clock-view.so
%{_libdir}/%{name}/plugins/gnome-shell-search-provider.so
%{_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
* Mon Jul 27 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.7.7-1
- Init package