xfdesktop/xfdesktop.spec
2020-11-27 13:44:37 +08:00

65 lines
1.7 KiB
RPMSpec

%global xfceversion 4.14
Name: xfdesktop
Version: 4.14.2
Release: 2
Summary: Desktop manager for the Xfce Desktop Environment
#Group: Development/Libraries
License: GPLv2+
URL: http://www.xfce.org/
Source0: http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildArch: noarch
BuildRequires: gcc-c++
BuildRequires: libxfce4ui-devel >= %{xfceversion}
BuildRequires: gettext
BuildRequires: exo-devel >= 0.12.0
BuildRequires: libgudev1-devel >= 145
BuildRequires: Thunar-devel >= 1.8.0
BuildRequires: dbus-glib-devel >= 0.84
BuildRequires: garcon-devel >= 0.1.2
BuildRequires: libwnck3-devel >= 3.14
BuildRequires: libnotify-devel >= 0.4.0
BuildRequires: xfconf-devel >= %{xfceversion}
BuildRequires: intltool
BuildRequires: desktop-file-utils
BuildRequires: libSM-devel
BuildRequires: libICE-devel
Requires: xfwm4 >= %{xfceversion}
Requires: xfce4-panel >= %{xfceversion}
%description
This package includes a desktop manager for the Xfce Desktop Environment.
%prep
%setup -q
%build
%configure
%make_build
%install
%make_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
desktop-file-validate \
$RPM_BUILD_ROOT/%{_datadir}/applications/xfce-backdrop-settings.desktop
%find_lang %{name}
%files -f %{name}.lang
%license COPYING
%doc README TODO ChangeLog NEWS AUTHORS
%{_bindir}/*
%{_datadir}/applications/*
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/pixmaps/*
%{_datadir}/backgrounds/xfce
%{_mandir}/man1/*
%changelog
* Tun Jul 12 2020 Dillon Chen <dillon.chen@turboliux.com.cn> - 4.14.2-1
- Init package