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.1
Release: 11.<RELEASE2>
License: GPLv3
Source0: %{name}-%{version}.tar.bz2
Patch0: %name-0.2.1-no-return.patch
Patch1: %name-0.2.1-menu-cache-changes.patch
Patch2: %name-0.2.1-fix-segfault.patch
Patch3: %{name}-0.2.1-fix-missing-intltool-init.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 and LXDE project and it's
based on menu-cache library
%prep
%setup -q
%patch0 -p2
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
autoreconf -fi
%configure
%__make %{?jobs:-j%{jobs}}
%install
%makeinstall
%__rm -rf %{buildroot}/%{_datadir}/locale/ur_PK
%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