Disable static libraries.
[fedora-mingw.git] / example / mingw32-example.spec
index ac060e4..9361ee9 100644 (file)
@@ -11,13 +11,20 @@ Summary:
 
 License:        LGPLv2+
 Group:          Development/Libraries
+
 URL:            
 Source0:        
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+# Patches from native Fedora package:
+#Patch0: ...
+
+# Patches for MinGW:
+#Patch1000: ...
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
-BuildRequires:  mingw32-filesystem >= 33
+BuildRequires:  mingw32-filesystem >= 35
 BuildRequires:  mingw32-gcc
 BuildRequires:  mingw32-binutils
 # Any additional BuildRequires.
@@ -32,7 +39,7 @@ BuildRequires:  mingw32-binutils
 
 
 %build
-%{_mingw32_configure}
+%{_mingw32_configure} --disable-static
 make %{?_smp_mflags}
 
 
@@ -56,5 +63,5 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
-* Wed Sep 24 2008 Your Name <you@example.com> - 1.2.3-1
+* Fri Jan 23 2009 Your Name <you@example.com> - 1.2.3-1
 - Initial RPM release.