2002-10-03 ville <vi64pa@koti.soon.fi>
[mono.git] / mono.spec.in
1 Summary: The mono CIL runtime, suitable for running .NET code
2 Name: mono
3 Version: @VERSION@
4 Release: 1
5 License: LGPL
6 Group: System Environment/Base
7 # the original file is in .gz format but I want to save a few bytes
8 Source0: http://go-mono.com/archive/mono-0.14.tar.gz
9 URL: http://go-mono.com/
10 BuildRoot: %{_tmppath}/%{name}-root
11 Requires: /sbin/ldconfig
12 BuildRequires: libgc-devel
13 BuildRequires: bison
14 Packager: Miguel de Icaza <miguel@ximian.com>
15 Requires: mono-classes
16
17 %description
18 The Mono runtime implements a JIT engine for the ECMA CLI virtual machine (as
19 well as a byte code interpreter, the class loader, the garbage collector, threading system and
20 metadata access libraries.
21
22 %package devel
23 Summary: Files and programs needed for mono development
24 Group: Development/Tools
25 PreReq: %{name} = %{version}-%{release}
26
27 %description devel
28 Header files, programs and documentation needed to develop programs with
29 the Mono .NET implementation
30
31 %prep
32 %setup -q
33
34 %build
35 ./configure
36 make
37
38 %install
39 rm -rf %{buildroot}
40 %makeinstall
41
42 %clean
43 rm -rf %{buildroot}
44
45 %post -p /sbin/ldconfig
46
47 %postun -p /sbin/ldconfig
48
49 %files
50 %defattr(-, root, root)
51 %doc AUTHORS COPYING.LIB ChangeLog NEWS README
52 %{_bindir}/mono
53 %{_bindir}/mint
54 %{_libdir}/*.so.*
55 %{_mandir}/man1/mono.*
56 %{_mandir}/man1/mint.*
57 %{_mandir}/man5/*
58
59 %files devel
60 %defattr(-, root, root)
61 %{_bindir}/monodis
62 %{_bindir}/monograph
63 %{_libdir}/*.a
64 %{_libdir}/*.la
65 %{_libdir}/*.so
66 %{_libdir}/pkgconfig/*
67 %{_includedir}/*
68 %{_mandir}/man1/monodis.*
69 %{_mandir}/man1/monostyle.*
70 %{_mandir}/man1/monoburg.*
71 %{_mandir}/man1/mcs.*
72 %{_datadir}/%{name}/*
73
74 %changelog
75 * Wed Aug 21 2002 Miguel de Icaza <miguel@ximian.com>
76 Few touches, check into cvs
77
78 * Mon Aug 19 2002 Daniel Resare <noa@resare.com>
79 - Initial RPM release.