1 %define __strip %{_mingw_strip}
2 %define __objdump %{_mingw_objdump}
3 %define _use_internal_dependency_generator 0
4 %define __find_requires %{_mingw_findrequires}
5 %define __find_provides %{_mingw_findprovides}
10 Summary: MinGW Windows Jasper library
13 URL: http://www.ece.uvic.ca/~mdadams/jasper/
14 Source0: http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-%{version}.zip
15 Patch1: jasper-1.900.1-sleep.patch
16 Patch2: jasper-1.900.1-mingw.patch
17 Patch3: jasper-1.900.1-enable-shared.patch
18 Group: Development/Libraries
19 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
23 BuildRequires: mingw-filesystem >= 23
24 BuildRequires: mingw-gcc
25 BuildRequires: mingw-binutils
26 BuildRequires: mingw-libjpeg
27 BuildRequires: autoconf automake libtool
30 MinGW Windows Jasper library.
34 %setup -q -n jasper-%{version}
42 %{_mingw_configure} --disable-opengl --enable-libjpeg
47 rm -rf $RPM_BUILD_ROOT
49 make DESTDIR=$RPM_BUILD_ROOT install mandir=%{_mingw_mandir}
51 rm $RPM_BUILD_ROOT%{_mingw_libdir}/libjasper.a
54 rm -rf $RPM_BUILD_ROOT
60 %{_mingw_bindir}/i686-pc-mingw32-imgcmp.exe
61 %{_mingw_bindir}/i686-pc-mingw32-imginfo.exe
62 %{_mingw_bindir}/i686-pc-mingw32-jasper.exe
63 %{_mingw_bindir}/i686-pc-mingw32-tmrdemo.exe
64 %{_mingw_bindir}/libjasper-1.dll
65 %{_mingw_libdir}/libjasper.dll.a
66 %{_mingw_libdir}/libjasper.la
67 %{_mingw_includedir}/jasper/
68 %{_mingw_mandir}/man1/i686-pc-mingw32-imgcmp.1*
69 %{_mingw_mandir}/man1/i686-pc-mingw32-imginfo.1*
70 %{_mingw_mandir}/man1/i686-pc-mingw32-jasper.1*
71 %{_mingw_mandir}/man1/i686-pc-mingw32-jiv.1*
74 * Thu Sep 11 2008 Daniel P. Berrange <berrange@redhat.com> - 1.900.1-3
75 - Run autoreconf after changing configure.ac script and add BRs for autotools
77 * Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 1.900.1-2
79 - Remove static libraries.
81 * Tue Sep 9 2008 Daniel P. Berrange <berrange@redhat.com> - 1.900.1-1