1 |
%define url_ver %(echo %{version} | cut -d. -f1,2) |
2 |
|
3 |
Summary: Configuration settings manager for Xfce |
4 |
Name: xfce4-settings |
5 |
Version: 4.9.2 |
6 |
Release: %mkrel 2 |
7 |
License: GPLv2+ |
8 |
Group: Graphical desktop/Xfce |
9 |
Url: http://www.xfce.org |
10 |
Source0: http://archive.xfce.org/src/xfce/xfce4-settings/%{url_ver}/%{name}-%{version}.tar.bz2 |
11 |
# from upstream GIT: |
12 |
# see: https://bugzilla.xfce.org/show_bug.cgi?id=8437 |
13 |
Patch0: xfce4-settings-4.9.2-xrdb-dpi-fix.patch |
14 |
BuildRequires: desktop-file-utils |
15 |
BuildRequires: intltool |
16 |
BuildRequires: pkgconfig(exo-1) >= 0.7.1 |
17 |
BuildRequires: pkgconfig(garcon-1) |
18 |
BuildRequires: pkgconfig(libxfce4ui-1) >= 4.9.0 |
19 |
BuildRequires: pkgconfig(libnotify) |
20 |
BuildRequires: pkgconfig(libxklavier) |
21 |
|
22 |
%description |
23 |
Configuration settings manager for Xfce desktop environment. |
24 |
|
25 |
%prep |
26 |
%setup -q |
27 |
%apply_patches |
28 |
|
29 |
%build |
30 |
%configure2_5x \ |
31 |
--enable-sound-settings \ |
32 |
--enable-libnotify \ |
33 |
--enable-xrandr \ |
34 |
--enable-xcursor \ |
35 |
--enable-libxklavier \ |
36 |
--enable-pluggable-dialogs \ |
37 |
--with-pnp-ids-path=%{_datadir}/misc/pnp.ids |
38 |
|
39 |
%make |
40 |
|
41 |
%install |
42 |
rm -rf %{buildroot} |
43 |
%makeinstall_std |
44 |
|
45 |
# (tpg) this file is in mandriva-xfce-config package |
46 |
rm -rf %{buildroot}%{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml |
47 |
|
48 |
desktop-file-install \ |
49 |
--remove-category="XFCE" \ |
50 |
--dir %{buildroot}%{_datadir}/applications/ \ |
51 |
%{buildroot}%{_datadir}/applications/*.desktop |
52 |
|
53 |
%find_lang %{name} |
54 |
|
55 |
%clean |
56 |
rm -rf %{buildroot} |
57 |
|
58 |
%files -f %{name}.lang |
59 |
%defattr(-,root,root) |
60 |
%doc AUTHORS ChangeLog NEWS TODO |
61 |
%{_sysconfdir}/xdg/autostart/xfsettingsd.desktop |
62 |
%{_sysconfdir}/xdg/menus/xfce-settings-manager.menu |
63 |
%{_libexecdir}/xfce4/settings/appearance-install-theme |
64 |
%{_bindir}/xfsettingsd |
65 |
%{_bindir}/xfce4* |
66 |
%{_datadir}/applications/xfce*.desktop |