File lxlauncher.spec of Package lxlauncher

#
# spec file for package lxlauncher
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           lxlauncher
Version:        0.2.2
Release:        17
License:        GPLv3
Url:            http://www.lxde.org
Source0:        %{name}-%{version}.tar.bz2
Patch0:         %name-0.2.2-fix-build-on-older-gtk2.patch
Patch1:         %name-0.2.2-fix-empty-launcher.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gnome-menus-devel gtk2-devel startup-notification-devel
BuildRequires:  autoconf automake fdupes intltool menu-cache-devel pkgconfig
Group:          System/GUI/LXDE
Summary:        Open source clone of Asus launcher for Netbooks

%description
LXLauncher is an open source clone of Asus launcher for
EeePC or Netbooks anyway. It's an LXDE project and it's
based on menu-cache library.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
%configure
%__make %{?_smp_mflags} V=1

%install
%makeinstall
%find_lang %{name}
%fdupes -s %buildroot

%clean
rm -rf "$RPM_BUILD_ROOT"

%files -f %{name}.lang
%defattr(-,root,root)
%doc NEWS README AUTHORS COPYING
%{_bindir}/%name
%dir %{_datadir}/desktop-directories
%{_datadir}/desktop-directories/*
%dir /etc/xdg/lxlauncher/
%config /etc/xdg/lxlauncher/gtkrc
%config /etc/xdg/lxlauncher/settings.conf
/etc/xdg/menus/lxlauncher-applications.menu

%changelog
openSUSE Build Service is sponsored by