-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathxfwm4.spec.in
79 lines (64 loc) · 2.06 KB
/
xfwm4.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
%global xfceversion %(version=@VERSION@; echo ${version%\.*})
Name: xfwm4
Version: @VERSION@
Release: @REL@%{?dist}
Epoch: 1000
Summary: Next generation window manager for Xfce
License: GPLv2+
URL: http://www.xfce.org/
#VCS git:git://git.xfce.org/xfce/xfwm4
Source0: http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2
Patch0: 0001-Qubes-decoration.patch
Patch1: 0002-Qubes-decoration-custom-colors.patch
Patch2: 0003-Qubes-decoration-black-hack.patch
Patch3: 0004-Don-t-reset-client-struct.patch
Patch4: 0005-Qubes-decoration-handle-guivm-windows-prefix.patch
Patch5: 0006-Qubes-decoration-title-colors.patch
Patch6: 0007-Colors-overhaul.patch
Patch7: 0008-Fail-safe-when-displaying-colors.patch
BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: libxfce4ui-devel >= %{xfceversion}
BuildRequires: libXext-devel
%if 0%{?fedora}
BuildRequires: libXpresent-devel
%endif
BuildRequires: gettext
BuildRequires: intltool
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
Requires: qubes-desktop-linux-common
Provides: firstboot(windowmanager) = xfwm4
%description
xfwm4 is a window manager compatible with GNOME, GNOME2, KDE2, KDE3 and Xfce.
%prep
%autosetup -p1
%build
export export CFLAGS="%{optflags} -DSHOW_POSITION"
%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 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
@CHANGELOG@