File vmx-manager.spec of Package vmx-manager

#
# spec file for package vmx-manager
#
# 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:           vmx-manager
BuildRequires:  glade-sharp2 glib-sharp2 gnome-sharp2 gtk-sharp2 intltool mono-devel ndesk-dbus-glib-devel pkgconfig translation-update-upstream update-desktop-files
Url:            http://www.novell.com
License:        GPL v2 or later
Group:          Productivity/Other
AutoReqProv:    on
Version:        0.2.8
Release:        244
Summary:        Create, configure, and manage VMware virtual machines
Source:         %{name}-%{version}.tar.bz2
Patch:          %{name}-%{version}.dif
Patch1:         vmx-manager-fix-lib-version.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       mono-core glade-sharp2 gtk-sharp2 gnome-sharp2
Recommends:     %name-lang
BuildArch:      noarch

%description
vmx-manager allows you to create, configure, and manage VMware virtual
machines.



Authors:
--------
    James Willcox  <snorp@novell.com>

%lang_package
%prep
%setup -q
translation-update-upstream
%patch
%patch1 -p0

%build
%configure\
	--libdir=%{_prefix}/lib
make

%install
make install DESTDIR=$RPM_BUILD_ROOT
%suse_update_desktop_file vmx-manager
%find_lang %name

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS NEWS README COPYING
%{_bindir}/vmx-manager
%dir %{_prefix}/lib/vmx-manager
%{_prefix}/lib/vmx-manager/*.dll*
%{_prefix}/lib/vmx-manager/*.exe*
%{_datadir}/applications/vmx-manager.desktop
%{_datadir}/icons/hicolor/*/apps/vmx-manager.*

%files lang -f %name.lang

%post

%postun

%changelog
openSUSE Build Service is sponsored by