File lxshortcut.spec of Package lxshortcut

# spec file for package lxshortcut
# 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

# norootforbuild

Name:           lxshortcut
Version:        0.1.1
Release:        9.<RELEASE2>
License:        GPL
Source0:        %{name}-%{version}.tar.bz2
Patch0:         lxshortcut-0.1.1-fix-missing-intltool-init.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gtk2-devel pkg-config python python-xml
BuildRequires:  autoconf automake fdupes intltool
Group:          System/GUI/LXDE
Summary:        Creat shortcuts for lxde

LXShortcut is a small program used to edit application shortcuts
created with Desktop Entry spec

%setup -q
%patch0 -p1

autoreconf -fi
%__make %{?jobs:-j%{jobs}}

%__rm -rf %{buildroot}/%{_datadir}/locale/ur_PK
%fdupes %{buildroot}/%{_datadir}
%find_lang %name

rm -rf "$RPM_BUILD_ROOT"

%files -f %{name}.lang
%dir %_datadir/lxshortcut

openSUSE Build Service is sponsored by