File xdg-menu.spec of Package xdg-menu

#
# spec file for package xdg-menu (Version 0.2)
#
# Copyright (c) 2009 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:           xdg-menu
Version:        0.2
Release:        194
Summary:        XDG Menus for WindowMaker and other Window Managers
License:        GPL v2 or later
Group:          System/GUI/Other
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
AutoReqProv:    on
Requires:       perl-XML-Parser desktop-data xterm
Source:         %name.tar.bz2
Patch:          %name-xfce4.patch
Patch1:         %name-box.patch
Patch2:         %name-twm.patch
Patch3:         %name-xfce4-icon.patch
Patch4:         %name-gnome-path.patch
Patch5:         %name-icewm.patch
Patch6:         %name-pekwm.patch
Patch7:         %name-translation-bnc463972.patch
Patch8:         %name-accept-defaultlayout-bnc529057.patch
Requires:       perl(Locale::gettext)

%description
This package contains a Perl script which converts XDG menus to formats
used by WindowMaker and other window managers.



Authors:
--------
    Vladimir Nadvornik <nadvornik@suse.cz>

%prep 
%setup -n xdg-menu
%patch
%patch1 -p1
%patch2
%patch3
%patch4
%patch5
%patch6
%patch7
%patch8

%build

%install
mkdir -p $RPM_BUILD_ROOT/usr/bin
install -m 755 * $RPM_BUILD_ROOT/usr/bin

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
/usr/bin/xdg_menu
/usr/bin/xdg_menu_su

%changelog
openSUSE Build Service is sponsored by