1 %include /usr/lib/rpm/mingw-defs
6 Summary: MinGW Windows Jasper library
9 URL: http://www.ece.uvic.ca/~mdadams/jasper/
10 Source0: http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-%{version}.zip
11 Patch1: jasper-%{version}-sleep.patch
12 Patch2: jasper-%{version}-mingw.patch
13 Group: Development/Libraries
14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
18 BuildRequires: mingw-filesystem >= 19
19 BuildRequires: mingw-gcc
20 BuildRequires: mingw-binutils
21 BuildRequires: mingw-libjpeg
24 MinGW Windows Jasper library.
28 %setup -q -n jasper-%{version}
33 %{_mingw_configure} --disable-opengl --enable-libjpeg
38 rm -rf $RPM_BUILD_ROOT
40 make DESTDIR=$RPM_BUILD_ROOT install mandir=%{_mingw_mandir}
43 rm -rf $RPM_BUILD_ROOT
49 %{_mingw_bindir}/i686-pc-mingw32-imgcmp.exe
50 %{_mingw_bindir}/i686-pc-mingw32-imginfo.exe
51 %{_mingw_bindir}/i686-pc-mingw32-jasper.exe
52 %{_mingw_bindir}/i686-pc-mingw32-tmrdemo.exe
53 %{_mingw_includedir}/jasper/
54 %{_mingw_libdir}/libjasper.a
55 %{_mingw_libdir}/libjasper.la
56 %{_mingw_mandir}/man1/i686-pc-mingw32-imgcmp.1*
57 %{_mingw_mandir}/man1/i686-pc-mingw32-imginfo.1*
58 %{_mingw_mandir}/man1/i686-pc-mingw32-jasper.1*
59 %{_mingw_mandir}/man1/i686-pc-mingw32-jiv.1*
62 * Tue Sep 9 2008 Daniel P. Berrange <berrange@redhat.com> - 2.18.0-1