git.annexia.org
/
fedora-mingw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Override ocamlc.opt, ocamlopt.opt in case a compatible native
[fedora-mingw.git]
/
example
/
mingw32-example.spec
diff --git
a/example/mingw32-example.spec
b/example/mingw32-example.spec
index
8b04aa0
..
e17205e
100644
(file)
--- a/
example/mingw32-example.spec
+++ b/
example/mingw32-example.spec
@@
-11,13
+11,20
@@
Summary:
License: LGPLv2+
Group: Development/Libraries
License: LGPLv2+
Group: Development/Libraries
+
URL:
Source0:
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
BuildArch: noarch
-BuildRequires: mingw32-filesystem >=
23
+BuildRequires: mingw32-filesystem >=
35
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
# Any additional BuildRequires.
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
# Any additional BuildRequires.
@@
-33,7
+40,7
@@
BuildRequires: mingw32-binutils
%build
%{_mingw32_configure}
%build
%{_mingw32_configure}
-make
+make
%{?_smp_mflags}
%install
%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.
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
%clean
@@
-56,5
+63,5
@@
rm -rf $RPM_BUILD_ROOT
%changelog
%changelog
-*
Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat
.com> - 1.2.3-1
+*
Thu Nov 13 2008 Your Name <you@example
.com> - 1.2.3-1
- Initial RPM release.
- Initial RPM release.