- Remove obsoletes for a long dead package.
[fedora-mingw.git] / w32api / mingw32-w32api.spec
1 %define __strip %{_mingw32_strip}
2 %define __objdump %{_mingw32_objdump}
3 %define _use_internal_dependency_generator 0
4 %define __find_requires %{_mingw32_findrequires}
5 %define __find_provides %{_mingw32_findprovides}
6
7 Name:           mingw32-w32api
8 Version:        3.12
9 Release:        4%{?dist}
10 Summary:        MinGW Windows cross-compiler Win32 header files
11
12 License:        Public Domain
13 Group:          Development/Libraries
14 URL:            http://www.mingw.org/
15 Source0:        http://dl.sourceforge.net/sourceforge/mingw/w32api-%{version}-mingw32-src.tar.gz
16 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17
18 BuildArch:      noarch
19
20 BuildRequires:  mingw32-filesystem >= 37
21 BuildRequires:  mingw32-binutils
22 BuildRequires:  mingw32-gcc
23 BuildRequires:  mingw32-runtime
24
25 Requires:       mingw32-binutils
26 Requires:       mingw32-gcc
27 Requires:       mingw32-runtime
28
29 # Once this is installed, mingw32-bootstrap (binary bootstrapper) is no
30 # longer needed.
31 Obsoletes:      mingw32-w32api-bootstrap
32
33
34 %description
35 MinGW Windows cross-compiler Win32 header files.
36
37
38 %prep
39 %setup -q -n w32api-%{version}-mingw32
40
41 %build
42 %{_mingw32_configure}
43 make
44
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{_mingw32_makeinstall}
50
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55
56 %files
57 %defattr(-,root,root)
58 %{_mingw32_includedir}/*
59 %{_mingw32_libdir}/*.a
60
61
62 %changelog
63 * Fri Nov 21 2008 Richard W.M. Jones <rjones@redhat.com> - 3.12-4
64 - Remove obsoletes for a long dead package.
65 - Enable _mingw32_configure (Levente Farkas).
66
67 * Wed Nov 19 2008 Richard W.M. Jones <rjones@redhat.com> - 3.12-3
68 - Rebuild against mingw32-filesystem 37
69
70 * Wed Nov 19 2008 Richard W.M. Jones <rjones@redhat.com> - 3.12-2
71 - Rebuild against mingw32-filesystem 36
72
73 * Thu Oct 16 2008 Richard W.M. Jones <rjones@redhat.com> - 3.12-1
74 - New upstream version 3.12.
75
76 * Wed Sep 24 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11-7
77 - Rename mingw -> mingw32.
78
79 * Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11-6
80 - Moved ole provides to mingw-filesystem package.
81
82 * Thu Sep  4 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11-3
83 - Use the RPM macros from mingw-filesystem.
84
85 * Mon Jul  7 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11-2
86 - Initial RPM release, largely based on earlier work from several sources.