]>
Commit | Line | Data |
---|---|---|
6425cfe7 PZ |
1 | Summary: Switch GNOME window management and effects |
2 | Name: desktop-effects | |
3 | Version: 0.8.7 | |
36b74123 | 4 | Release: 2 |
6425cfe7 PZ |
5 | License: GPL v2+ |
6 | Group: X11/Applications | |
7 | URL: http://git.fedorahosted.org/git/?p=desktop-effects.git | |
8 | Source0: https://fedorahosted.org/released/desktop-effects/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 1ae7f9ee3d231c4276af48488e47fcc8 | |
10 | BuildRequires: GConf2-devel | |
a1f71265 | 11 | BuildRequires: OpenGL-devel |
6425cfe7 | 12 | BuildRequires: desktop-file-utils |
64f5ba69 | 13 | BuildRequires: gettext-tools |
6425cfe7 PZ |
14 | BuildRequires: gtk+2-devel |
15 | BuildRequires: intltool | |
16 | BuildRequires: libglade2-devel | |
945139cb | 17 | BuildRequires: pkgconfig |
6425cfe7 | 18 | BuildRequires: xorg-lib-libXcomposite-devel |
36b74123 AF |
19 | Requires(post,postun): gtk-update-icon-cache |
20 | Requires(post,postun): hicolor-icon-theme | |
6425cfe7 | 21 | Requires: gnome-session |
6425cfe7 PZ |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
25 | desktop-effects provides a preference dialog to allow switching the | |
26 | GNOME desktop between three different window managers: Metacity (the | |
27 | standard GNOME 2 window manager), Compiz (offering 3D acceleration and | |
28 | special effects), and GNOME Shell, which offers a preview of the GNOME | |
29 | 3 user experience. | |
30 | ||
31 | %prep | |
32 | %setup -q | |
33 | ||
34 | %build | |
35 | %configure | |
d35f7d93 | 36 | %{__make} |
6425cfe7 PZ |
37 | |
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
d35f7d93 ER |
40 | %{__make} install \ |
41 | DESTDIR=$RPM_BUILD_ROOT | |
6425cfe7 PZ |
42 | |
43 | desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/desktop-effects.desktop | |
44 | ||
45 | %find_lang %{name} | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
945139cb | 50 | %post |
51 | %update_icon_cache hicolor | |
52 | ||
53 | %postun | |
54 | %update_icon_cache hicolor | |
55 | ||
6425cfe7 PZ |
56 | %files -f %{name}.lang |
57 | %defattr(644,root,root,755) | |
6425cfe7 PZ |
58 | %attr(755,root,root) %{_bindir}/desktop-effects |
59 | %{_iconsdir}/hicolor/*/apps/desktop-effects.png | |
60 | %{_desktopdir}/desktop-effects.desktop | |
61 | %{_datadir}/desktop-effects/ |