Browse files

Add spec file

  • Loading branch information...
1 parent 234d628 commit 41765a59290205202d8eedcb333e1cc2b0377629 Andrew Jorgensen committed Jan 24, 2011
Showing with 50 additions and 0 deletions.
  1. +1 −0 Makefile
  2. +49 −0
@@ -29,6 +29,7 @@ dist-tarball: dist-pre
dist: dist-tarball
rm -rf $(package)
+ sed -e s,@VERSION@,$(VERSION),g < > mono-basic.spec
# 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
@@ -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
+Version: @VERSION@
+Release: 0
+Source0: %{name}-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildArch: noarch
+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.
+%defattr(-, root, root)
+%setup -q
+./configure --prefix=%{_prefix}
+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*
+rm -rf %{buildroot}

0 comments on commit 41765a5

Please sign in to comment.