Packages moved to Fedora.
[fedora-mingw.git] / example / mingw32-example.spec
index f000fa6..168466b 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,8 +39,8 @@ BuildRequires:  mingw32-binutils
 
 
 %build
-%{_mingw32_configure}
-make
+%{_mingw32_configure} --disable-static
+make %{?_smp_mflags}
 
 
 %install
@@ -50,11 +57,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
+%doc LICENSE
 %{_mingw32_bindir}/foo.dll
 %{_mingw32_libdir}/foo.dll.a
 # etc.
 
 
 %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.