e2432ecc47ff8d524940ee2fa84eba9276367c9a
[fedora-mingw.git] / runtime / mingw-runtime.spec
1 Name:           mingw-runtime
2 Version:        3.14
3 Release:        1%{?dist}
4 Summary:        MinGW Windows cross-compiler runtime and root filesystem
5
6 License:        Public Domain
7 Group:          Development/Libraries
8 URL:            http://www.mingw.org/
9 Source0:        http://dl.sourceforge.net/sourceforge/mingw/%{name}-%{version}-src.tar.gz
10 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11
12 BuildArch:      noarch
13
14 BuildRequires:  mingw-binutils
15 BuildRequires:  mingw-gcc
16
17 # Once this is installed, mingw-bootstrap (binary bootstrapper) is no
18 # longer needed.
19 Obsoletes:      mingw-bootstrap
20
21 #%define _use_internal_dependency_generator 0
22 #%define __debug_install_post %{nil}
23
24
25 %description
26 MinGW Windows cross-compiler runtime, base libraries and root filesystem.
27
28
29 %prep
30 %setup -q
31
32 %build
33 ./configure \
34   --build=%_build \
35   --host=i686-pc-mingw32
36
37 make
38
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 make DESTDIR=$RPM_BUILD_ROOT install
44
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49
50 %files
51 %defattr(-,root,root)
52 %{_prefix}/i686-pc-mingw32/lib/libiberty.a
53 %{_libdir}/gcc/i686-pc-mingw32
54 %{_libexecdir}/gcc/i686-pc-mingw32
55 %{_bindir}/i686-pc-mingw32-*
56 %{_mandir}/man1/i686-pc-mingw32-*
57
58
59 %changelog
60 * Mon Jul  7 2008 Richard W.M. Jones <rjones@redhat.com> - 4.3.1-1
61 - Initial RPM release, largely based on earlier work from several sources.