File mono-basic.spec of Package mono-basic
#
# spec file for package mono-basic
#
# 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: mono-basic
BuildRequires: mono-devel mono-winforms unzip
License: LGPL-2.1
Group: Development/Languages/Mono
Summary: Mono's VB Runtime
Url: http://go-mono.org/
Version: 2.10
Release: 1
Source0: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
The Mono Project is an open development initiative that is working to
develop an open source, Unix version of the .NET development platform.
Its objective is to enable Unix developers to build and deploy
cross-platform .NET applications. The project will implement various
technologies that have been submitted to the ECMA for standardization.
Mono's VB runtime.
%files
%defattr(-, root, root)
%_mandir/man1/vbnc.1*
%_prefix/bin/vbnc*
%_prefix/lib/mono/*/Microsoft.VisualBasic.dll
%_prefix/lib/mono/*/Mono.Cecil.VB*.dll
%_prefix/lib/mono/4.0/vbnc*
%_prefix/lib/mono/gac/Microsoft.VisualBasic
%_prefix/lib/mono/gac/Mono.Cecil.VB*
%prep
%setup -q
%build
./configure --prefix=%{_prefix}
make
%install
make install DESTDIR=%{buildroot}
rm -f %{buildroot}%{_prefix}/lib/mono/2.0/extract-source.exe*
rm -f %{buildroot}%{_prefix}/lib/mono/2.0/rt-console.exe*
rm -f %{buildroot}%{_prefix}/lib/mono/2.0/rt-execute.exe*
rm -f %{buildroot}%{_prefix}/lib/mono/2.0/rt.exe*
%clean
rm -rf %{buildroot}
%changelog