Latest mingw64 packages.
[fedora-mingw.git] / mingw64-headers / mingw64-headers.spec
1 # SVN repo: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64
2 # svn co https://....
3 # tar zcf mingw-w64-headers-%{svn_revision}.tar.gz \
4 #   mingw-w64/trunk/mingw-w64-headers
5 %define svn_revision 607
6
7 Name:           mingw64-headers
8 Version:        0.1
9 Release:        0.svn%{svn_revision}.6%{?dist}
10 Summary:        Win32 header files and stubs
11
12 License:        Public Domain and LGPLv2+
13 Group:          Development/Libraries
14
15 URL:            http://mingw-w64.sourceforge.net/
16 Source0:        mingw-w64-headers-%{svn_revision}.tar.gz
17
18 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
19
20 BuildArch:      noarch
21
22 BuildRequires:  mingw64-filesystem >= 6
23
24 Requires:       mingw64-filesystem >= 6
25
26
27 %description
28 MinGW Windows cross-compiler Win64 header files.
29
30
31 %prep
32 %setup -q -n mingw-w64
33
34 find -name .svn | xargs rm -r
35 find -name ChangeLog -delete
36
37 # There are a few other odd *.c and *.dlg files amongst the
38 # headers.  Should we delete them?  (XXX)
39
40
41 %build
42 # nothing
43
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 mkdir -p $RPM_BUILD_ROOT%{_mingw64_includedir}
49
50 cp -a trunk/mingw-w64-headers/include/* $RPM_BUILD_ROOT%{_mingw64_includedir}/
51 cp -a trunk/mingw-w64-headers/direct-x/include/* $RPM_BUILD_ROOT%{_mingw64_includedir}/
52
53 # XXX We don't know why this is required, but gcc/cc1 fails
54 # to find the header files without it.
55 pushd $RPM_BUILD_ROOT%{_mingw64_exec_prefix}
56 ln -s include include64
57 popd
58
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63
64 %files
65 %defattr(-,root,root)
66 %{_mingw64_includedir}/*
67 %{_mingw64_exec_prefix}/include64
68
69
70 %changelog
71 * Wed Feb 11 2009 Richard W.M. Jones <rjones@redhat.com> - 0.1-0.svn607.6
72 - Started mingw64 development.
73
74 * Mon Dec 15 2008 Richard W.M. Jones <rjones@redhat.com> - 3.13-1
75 - New upstream version 3.13.
76
77 * Tue Dec  9 2008 Richard W.M. Jones <rjones@redhat.com> - 3.12-8
78 - Force rebuild to get rid of the binary bootstrap package and replace
79   with package built from source.
80
81 * Wed Nov 26 2008 Richard W.M. Jones <rjones@redhat.com> - 3.12-7
82 - No runtime dependency on binutils or gcc.
83
84 * Mon Nov 24 2008 Richard W.M. Jones <rjones@redhat.com> - 3.12-6
85 - Rebuild against latest filesystem package.
86 - Rewrite the summary for accuracy and brevity.
87
88 * Fri Nov 21 2008 Richard W.M. Jones <rjones@redhat.com> - 3.12-4
89 - Remove obsoletes for a long dead package.
90 - Enable _mingw32_configure (Levente Farkas).
91
92 * Wed Nov 19 2008 Richard W.M. Jones <rjones@redhat.com> - 3.12-3
93 - Rebuild against mingw32-filesystem 37
94
95 * Wed Nov 19 2008 Richard W.M. Jones <rjones@redhat.com> - 3.12-2
96 - Rebuild against mingw32-filesystem 36
97
98 * Thu Oct 16 2008 Richard W.M. Jones <rjones@redhat.com> - 3.12-1
99 - New upstream version 3.12.
100
101 * Wed Sep 24 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11-7
102 - Rename mingw -> mingw32.
103
104 * Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11-6
105 - Moved ole provides to mingw-filesystem package.
106
107 * Thu Sep  4 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11-3
108 - Use the RPM macros from mingw-filesystem.
109
110 * Mon Jul  7 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11-2
111 - Initial RPM release, largely based on earlier work from several sources.