X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=example%2Fmingw32-example.spec;h=e17205ea8167b241603c235ce3216a40c1d37da2;hb=f14b156e1c5b757863dbfd4b79dee28c1866dfba;hp=e3302f000edf85a773e477ad3e23de62db5c0b16;hpb=f410a4a16663217aac8d1de70497425a538aec23;p=fedora-mingw.git diff --git a/example/mingw32-example.spec b/example/mingw32-example.spec index e3302f0..e17205e 100644 --- a/example/mingw32-example.spec +++ b/example/mingw32-example.spec @@ -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 >= 26 +BuildRequires: mingw32-filesystem >= 35 BuildRequires: mingw32-gcc BuildRequires: mingw32-binutils # Any additional BuildRequires. @@ -33,7 +40,7 @@ BuildRequires: mingw32-binutils %build %{_mingw32_configure} -make +make %{?_smp_mflags} %install @@ -41,7 +48,7 @@ rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install # Remove static libraries but DON'T remove *.dll.a files. -rm $RPM_BUILD_ROOT%{mingw32_libdir}/libfoo.a +rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libfoo.a %clean @@ -56,5 +63,5 @@ rm -rf $RPM_BUILD_ROOT %changelog -* Wed Sep 24 2008 Your Name - 1.2.3-1 +* Thu Nov 13 2008 Your Name - 1.2.3-1 - Initial RPM release.