Summary: JasPer - collection of software for coding and manipulation of images Summary(pl): JasPer - zestaw oprogramowania do obróbki obrazków Name: jasper Version: 1.701.0 Release: 1 License: BSD-like Group: Libraries Source0: http://www.ece.uvic.ca/~mdadams/jasper/software/%{name}-%{version}.zip # Source0-md5: 22a9f74fc880e38dd125c60aa4e4ce97 URL: http://www.ece.uvic.ca/~mdadams/jasper/ BuildRequires: autoconf >= 2.57 BuildRequires: automake BuildRequires: glut-devel >= 3.7-12 BuildRequires: libjpeg-devel BuildRequires: libtool BuildRequires: unzip BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description JasPer is a collection of software (i.e., a library and application programs) for the coding and manipulation of images. This software can handle image data in a variety of formats. One such format supported by JasPer is the JPEG-2000 code stream format defined in ISO/IEC 15444-1:2000 (but JasPer contains only partial implementation). %description -l pl JasPer to zestaw oprogramowania (biblioteka i aplikacje) do kodowania i obróbki obrazków w różnych formatach. Jednym z nich jest JPEG-2000 zdefiniowany w ISO/IEC 15444-1:2000 (JasPer zawiera tylko częściową implementację tego formatu). %package devel Summary: JasPer - header files Summary(pl): JasPer - pliki nagłówkowe Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: libjpeg-devel %description devel Header files needed to compile programs with libjasper. %description devel -l pl Pliki nagłówkowe potrzebne do konsolidacji z libjasper. %package static Summary: JasPer - static library Summary(pl): JasPer - biblioteka statyczna Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} %description static Static version of libjasper. %description static -l pl Statyczna biblioteka libjasper. %package jiv Summary: JasPer Image Viewer Summary(pl): Przeglądarka obrazków JasPer Group: X11/Applications/Graphics Requires: %{name} = %{version}-%{release} %description jiv Simple JasPer Image Viewer. Basic pan and zoom functionality is provided. Components of an image may be viewed individually. Color components may also be viewed together as a composite image. At present, the jiv image viewer has only trivial support for color. It recognizes RGB and YCbCr color spaces, but does not use tone reproduction curves and the like in order to accurately reproduce color. For basic testing purposes, however, the color reproduction should suffice. %description jiv -l pl Prosta przeglądarka obrazków JasPer. Ma podstawową funkcjonalność przewijania i powiększania. Poszczególne składniki obrazka mogą być oglądane oddzielnie. Składowe kolory mogą być oglądane także razem, jako złożony obraz. Aktualnie przeglądarka ma tylko prostą obsługę koloru. Rozpoznaje przestrzenie RGB i YCbCr, ale nie używa krzywych reprodukcji tonalnej i podobnych rzeczy mających za zadanie dokładne odwzorowanie koloru. Do podstawowych celów testowych taka obsługa kolorów powinna jednak wystarczyć. %prep %setup -q %build %{__libtoolize} %{__aclocal} %{__autoconf} %{__autoheader} %{__automake} %configure \ --enable-shared %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc LICENSE NEWS README doc/jasper* %attr(755,root,root) %{_bindir}/img* %attr(755,root,root) %{_bindir}/jasper %attr(755,root,root) %{_libdir}/lib*.so.*.* %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/lib*.so %{_libdir}/lib*.la %{_includedir}/jasper %files static %defattr(644,root,root,755) %{_libdir}/lib*.a %files jiv %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/jiv