2 %bcond_with gtk3 # build GTK+3 disables GTK+2
3 %bcond_without gtk2 # build with GTK+2
14 Group: X11/Applications
15 Source0: http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.xz
16 # Source0-md5: 8a21590c085ad82f4f50e4affb7ad0ab
17 URL: http://wiki.lxde.org/en/LXLauncher
18 BuildRequires: gettext-tools
19 %{?with_gtk2:BuildRequires: gtk+2-devel >= 2:2.12.0}
20 %{?with_gtk3:BuildRequires: gtk+3-devel}
21 BuildRequires: intltool >= 0.40.0
22 BuildRequires: menu-cache-devel
23 BuildRequires: pkgconfig
24 BuildRequires: startup-notification-devel
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 LXLauncher is an open source clone of Asus launcher for EeePC. It
29 outperformes the original launcher developed by Xandros.
36 %{?with_gtk3:--enable-gtk3}
41 rm -rf $RPM_BUILD_ROOT
44 DESTDIR=$RPM_BUILD_ROOT
46 # there is no frp locale so drop frp
47 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/{frp,ur_PK}
48 mv $RPM_BUILD_ROOT%{_datadir}/locale/tt{_RU,}
53 rm -rf $RPM_BUILD_ROOT
55 %files -f %{name}.lang
56 %defattr(644,root,root,755)
57 %doc AUTHORS README NEWS
58 %{_sysconfdir}/xdg/lxlauncher
59 %{_sysconfdir}/xdg/menus/lxlauncher-applications.menu
60 %attr(755,root,root) %{_bindir}/lxlauncher
61 %{_datadir}/desktop-directories/*directory