+# Patches from Fedora native package.
+Patch1: jasper-1.701.0-GL.patch
+# Note patch2 appears in native package, but is not applied:
+#Patch2: jasper-1.701.0-GL-ac.patch
+Patch3: patch-libjasper-stepsizes-overflow.diff
+
+# MinGW-specific patches.
+Patch1000: jasper-1.900.1-mingw32.patch
+Patch1001: jasper-1.900.1-sleep.patch
+Patch1002: jasper-1.900.1-enable-shared.patch
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)