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 1 |
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 |
BuildRequires: intltool |
12 |
BuildRequires: pkgconfig(exo-1) |
13 |
BuildRequires: pkgconfig(garcon-1) |
14 |
BuildRequires: pkgconfig(libxfce4ui-1) >= 4.9.0 |
15 |
BuildRequires: pkgconfig(libnotify) |
16 |
BuildRequires: pkgconfig(libxklavier) |
17 |
|
18 |
%description |
19 |
Configuration settings manager for Xfce desktop environment. |
20 |
|
21 |
%prep |
22 |
%setup -q |
23 |
|
24 |
%build |
25 |
%configure2_5x \ |
26 |
--enable-sound-settings \ |
27 |
--enable-libnotify \ |
28 |
--enable-xrandr \ |
29 |
--enable-xcursor \ |
30 |
--enable-libxklavier \ |
31 |
--enable-pluggable-dialogs \ |
32 |
--with-pnp-ids-path=%{_datadir}/misc/pnp.ids |
33 |
|
34 |
%make |
35 |
|
36 |
%install |
37 |
rm -rf %{buildroot} |
38 |
|
39 |
%makeinstall_std |
40 |
|
41 |
# (tpg) this file is in mandriva-xfce-config package |
42 |
rm -rf %{buildroot}%{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml |
43 |
|
44 |
%find_lang %{name} |
45 |
|
46 |
%clean |
47 |
rm -rf %{buildroot} |
48 |
|
49 |
%files -f %{name}.lang |
50 |
%defattr(-,root,root) |
51 |
%doc AUTHORS ChangeLog NEWS TODO |
52 |
%{_sysconfdir}/xdg/autostart/xfsettingsd.desktop |
53 |
%{_sysconfdir}/xdg/menus/xfce-settings-manager.menu |
54 |
%{_libexecdir}/xfce4/settings/appearance-install-theme |
55 |
%{_bindir}/xfsettingsd |
56 |
%{_bindir}/xfce4* |
57 |
%{_datadir}/applications/xfce*.desktop |