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 http://bugs.opensuse.org/
#

# 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

%description
LXShortcut is a small program used to edit application shortcuts
created with freedesktop.org Desktop Entry spec

%prep
%setup -q
%patch0 -p1

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

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

%clean
rm -rf "$RPM_BUILD_ROOT"

%files -f %{name}.lang
%defattr(-,root,root)
%doc README ChangeLog COPYING
%_bindir/%name
%dir %_datadir/lxshortcut
%_datadir/lxshortcut/*

%changelog
openSUSE Build Service is sponsored by