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}
13 Group: Development/Libraries
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
20 BuildRequires: mingw32-filesystem >= 26
21 BuildRequires: mingw32-gcc
22 BuildRequires: mingw32-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%{mingw32_libdir}/libfoo.a
48 rm -rf $RPM_BUILD_ROOT
53 %{_mingw32_bindir}/foo.dll
54 %{_mingw32_libdir}/foo.dll.a
59 * Wed Sep 24 2008 Your Name <you@example.com> - 1.2.3-1
60 - Initial RPM release.