1 |
wally |
203011 |
%define url_ver %(echo %{version} | cut -d. -f1,2) |
2 |
ahmad |
52997 |
|
3 |
wally |
294581 |
%define subrel 2 |
4 |
wally |
291163 |
|
5 |
ahmad |
52997 |
Summary: Configuration settings manager for Xfce |
6 |
|
|
Name: xfce4-settings |
7 |
wally |
248464 |
Version: 4.10.0 |
8 |
|
|
Release: %mkrel 1 |
9 |
ahmad |
52997 |
License: GPLv2+ |
10 |
|
|
Group: Graphical desktop/Xfce |
11 |
|
|
Url: http://www.xfce.org |
12 |
ahmad |
105577 |
Source0: http://archive.xfce.org/src/xfce/xfce4-settings/%{url_ver}/%{name}-%{version}.tar.bz2 |
13 |
wally |
291163 |
# From upstream git: |
14 |
|
|
# https://bugzilla.xfce.org/show_bug.cgi?id=9272 |
15 |
|
|
Patch10: xfce4-settings-4.10.0-fix-gtk3-theme-detection.patch |
16 |
|
|
# https://bugzilla.xfce.org/show_bug.cgi?id=9273 |
17 |
|
|
Patch11: xfce4-settings-4.10.0-check-service-name-of-NameOwnerChanged.patch |
18 |
wally |
208459 |
BuildRequires: desktop-file-utils |
19 |
wally |
203011 |
BuildRequires: intltool |
20 |
wally |
208453 |
BuildRequires: pkgconfig(exo-1) >= 0.7.1 |
21 |
wally |
208451 |
BuildRequires: pkgconfig(garcon-1) |
22 |
wally |
203011 |
BuildRequires: pkgconfig(libxfce4ui-1) >= 4.9.0 |
23 |
|
|
BuildRequires: pkgconfig(libnotify) |
24 |
|
|
BuildRequires: pkgconfig(libxklavier) |
25 |
wally |
248464 |
Requires: xscreensaver |
26 |
wally |
294581 |
# for smooth install when updates media is enabled as garcon libs were renamed |
27 |
|
|
Requires: %{_lib}garcon1_0 >= 0.2.0 |
28 |
ahmad |
52997 |
|
29 |
|
|
%description |
30 |
|
|
Configuration settings manager for Xfce desktop environment. |
31 |
|
|
|
32 |
|
|
%prep |
33 |
|
|
%setup -q |
34 |
wally |
215065 |
%apply_patches |
35 |
ahmad |
52997 |
|
36 |
|
|
%build |
37 |
|
|
%configure2_5x \ |
38 |
|
|
--enable-sound-settings \ |
39 |
|
|
--enable-libnotify \ |
40 |
|
|
--enable-xrandr \ |
41 |
|
|
--enable-xcursor \ |
42 |
|
|
--enable-libxklavier \ |
43 |
|
|
--enable-pluggable-dialogs \ |
44 |
|
|
--with-pnp-ids-path=%{_datadir}/misc/pnp.ids |
45 |
|
|
|
46 |
|
|
%make |
47 |
|
|
|
48 |
|
|
%install |
49 |
|
|
%makeinstall_std |
50 |
|
|
|
51 |
wally |
248464 |
# (tpg) this file is in %{_real_vendor}-xfce-config package |
52 |
ahmad |
52997 |
rm -rf %{buildroot}%{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml |
53 |
|
|
|
54 |
|
|
%find_lang %{name} |
55 |
|
|
|
56 |
|
|
%files -f %{name}.lang |
57 |
|
|
%doc AUTHORS ChangeLog NEWS TODO |
58 |
wally |
248464 |
%dir %{_sysconfdir}/xdg/xfce4/xfconf/ |
59 |
|
|
%dir %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/ |
60 |
wally |
203011 |
%{_sysconfdir}/xdg/autostart/xfsettingsd.desktop |
61 |
wally |
208451 |
%{_sysconfdir}/xdg/menus/xfce-settings-manager.menu |
62 |
wally |
203011 |
%{_libexecdir}/xfce4/settings/appearance-install-theme |
63 |
ahmad |
52997 |
%{_bindir}/xfsettingsd |
64 |
wally |
203011 |
%{_bindir}/xfce4* |
65 |
|
|
%{_datadir}/applications/xfce*.desktop |