1 %define __strip %{_mingw_strip}
2 %define __objdump %{_mingw_objdump}
3 %define _use_internal_dependency_generator 0
4 %define __find_requires %{_mingw_findrequires}
5 %define __find_provides %{_mingw_findprovides}
13 Group: Development/Libraries
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
20 BuildRequires: mingw-filesystem >= 23
21 BuildRequires: mingw-gcc
22 BuildRequires: mingw-binutils
23 # Any additional BuildRequires.
40 rm -rf $RPM_BUILD_ROOT
41 make DESTDIR=$RPM_BUILD_ROOT install
43 # Remove static libraries but DON'T remove *.dll.a files.
44 rm $RPM_BUILD_ROOT%{mingw_libdir}/libfoo.a
48 rm -rf $RPM_BUILD_ROOT
53 %{_mingw_bindir}/foo.dll
54 %{_mingw_libdir}/foo.dll.a
59 * Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 1.2.3-1
60 - Initial RPM release.