Summary: Implementation of the JPEG-2000 standard, Part 1 Name: jasper Group: System Environment/Libraries Version: 1.900.1 Release: 1 License: JasPer License Version 2.0 URL: http://www.ece.uvic.ca/~mdadams/jasper/ Source: jasper-1.900.1.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: libjpeg-devel %description This package contains an implementation of the image compression standard JPEG-2000, Part 1. It consists of tools for conversion to and from the JP2 and JPC formats. %package devel Summary: JPEG-2000 library developer files Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: libjpeg-devel %description devel %{summary}. %prep %setup -q %build export CFLAGS="-O" ./configure --prefix=%{_prefix} --enable-static --enable-shared --disable-opengl make %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT # avoid conflict(s) with tomcat mv $RPM_BUILD_ROOT%{_bindir}/jasper $RPM_BUILD_ROOT%{_bindir}/jaspertool mv $RPM_BUILD_ROOT%{_mandir}/man1/jasper.1 $RPM_BUILD_ROOT%{_mandir}/man1/jaspertool.1 %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYRIGHT LICENSE NEWS README %{_bindir}/* %{_mandir}/* %{_libdir}/lib*.a %files devel %defattr(-,root,root) %doc doc/* %{_includedir}/* %{_libdir}/lib*.la %changelog * Tue Sep 25 2007 Michael Perzl - 1.900.1-1 - first version for AIX V5.1 and higher