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
18 # Patches from native Fedora package:
24 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
27 BuildRequires: mingw32-filesystem >= 35
28 BuildRequires: mingw32-gcc
29 BuildRequires: mingw32-binutils
30 # Any additional BuildRequires.
47 rm -rf $RPM_BUILD_ROOT
48 make DESTDIR=$RPM_BUILD_ROOT install
50 # Remove static libraries but DON'T remove *.dll.a files.
51 rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libfoo.a
55 rm -rf $RPM_BUILD_ROOT
60 %{_mingw32_bindir}/foo.dll
61 %{_mingw32_libdir}/foo.dll.a
66 * Thu Nov 13 2008 Your Name <you@example.com> - 1.2.3-1
67 - Initial RPM release.