63 lines
1.7 KiB
RPMSpec
63 lines
1.7 KiB
RPMSpec
%global xfceversion 4.14
|
|
Name: xfwm4
|
|
Version: 4.14.2
|
|
Release: 2
|
|
Summary: Window 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: libXext-devel
|
|
BuildRequires: libXcomposite-devel
|
|
BuildRequires: libXdamage-devel
|
|
BuildRequires: startup-notification-devel >= 0.5
|
|
BuildRequires: libwnck3-devel >= 3.14
|
|
BuildRequires: xfconf-devel >= %{xfceversion}
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: gettext
|
|
BuildRequires: intltool
|
|
Provides: firstboot(windowmanager) = xfwm4
|
|
|
|
%description
|
|
The window manager is responsible for the placement of windows on the screen,
|
|
provides the window decorations and allows them to be moved, resized or closed.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%configure --disable-static
|
|
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%find_lang %{name}
|
|
|
|
for file in %{buildroot}/%{_datadir}/applications/*.desktop; do
|
|
desktop-file-validate $file
|
|
done
|
|
|
|
%files -f %{name}.lang
|
|
%license COPYING
|
|
%doc example.gtkrc-2.0 README TODO AUTHORS COMPOSITOR
|
|
%{_bindir}/xfwm4
|
|
%{_bindir}/xfwm4-settings
|
|
%{_bindir}/xfwm4-tweaks-settings
|
|
%{_bindir}/xfwm4-workspace-settings
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/icons/hicolor/*/*/*
|
|
%{_datadir}/xfwm4
|
|
%{_datadir}/themes/*
|
|
%dir %{_libdir}/xfce4/xfwm4/
|
|
%{_libdir}/xfce4/xfwm4/helper-dialog
|
|
|
|
%changelog
|
|
* Sun Jul 12 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 4.14.2-1
|
|
- Init package
|