Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Add spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Jorgensen committed Jan 24, 2011
1 parent 234d628 commit 41765a5
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ dist-tarball: dist-pre


dist: dist-tarball dist: dist-tarball
rm -rf $(package) rm -rf $(package)
sed -e s,@VERSION@,$(VERSION),g < mono-basic.spec.in > mono-basic.spec


# the egrep -v is kind of a hack (to get rid of the makefrags) # the egrep -v is kind of a hack (to get rid of the makefrags)
# but otherwise we have to make dist then make clean which # but otherwise we have to make dist then make clean which
Expand Down
49 changes: 49 additions & 0 deletions mono-basic.spec.in
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,49 @@
Name: mono-basic
BuildRequires: mono-devel mono-winforms unzip
License: LGPL v2.1 only
Group: Development/Languages/Mono
Summary: Mono's VB Runtime
Url: http://go-mono.org/
Version: @VERSION@
Release: 0
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

0 comments on commit 41765a5

Please sign in to comment.