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