Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37039166
en ru br
ALT Linux repos
S:0.19-alt1

Group :: Graphics
RPM: jbig2dec

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name:           jbig2dec
Version:        0.11
Release:        alt0.2.2
Summary:        A decoder implementation of the JBIG2 image compression format
Summary(ru_RU.UTF-8): Декодер формата изображений JBIG2
License:        GPLv2
Group: Graphics
URL:            http://jbig2dec.sourceforge.net/

Packager:       %packager

Source:         %{name}-%{version}.tar.bz2
Patch: jbig2dec-0.11-alt-libpng15.patch

# Automatically added by buildreq on Sun Apr 15 2012

# optimized out: zlib-devel
BuildRequires: libpng-devel

%description
jbig2dec is a decoder implementation of the JBIG2 image compression format.
JBIG2 is designed for lossy or lossless encoding of 'bilevel' (1-bit
monochrome) images at moderately high resolution, and in particular scanned
paper documents. In this domain it is very efficient, offering compression
ratios on the order of 100:1.

%package  -n lib%name
Summary: A decoder implementation of the JBIG2 image compression format
Summary(ru_RU.UTF-8): Библиотека, реализующая декодер формата изображений JBIG2
Group: System/Libraries

%description -n lib%name
jbig2dec is a decoder implementation of the JBIG2 image compression format.
JBIG2 is designed for lossy or lossless encoding of 'bilevel' (1-bit
monochrome) images at moderately high resolution, and in particular scanned
paper documents. In this domain it is very efficient, offering compression
ratios on the order of 100:1.

This package provides the shared jbig2dec library.

%package -n lib%name-devel
Summary:  Static library and header files for development with jbig2dec
Summary(ru_RU.UTF-8): Заголовочные файлы библиотеки, реализующей декодер формата изображений JBIG2
Group:    Development/C
Requires: lib%name = %version-%release

%description -n lib%name-devel
jbig2dec is a decoder implementation of the JBIG2 image compression format.
JBIG2 is designed for lossy or lossless encoding of 'bilevel' (1-bit
monochrome) images at moderately high resolution, and in particular scanned
paper documents. In this domain it is very efficient, offering compression
ratios on the order of 100:1.

This package is only needed if you plan to develop or compile applications
which requires the jbig2dec library.

%prep
%setup -q
%patch -p2

%build
%configure
%make

%install
make DESTDIR=%{buildroot} install
rm -f %{buildroot}%{_libdir}/*.a
rm -f %{buildroot}%{_libdir}/*.la

%files
%doc CHANGES COPYING LICENSE README
%{_bindir}/jbig2dec
%{_mandir}/man?/jbig2dec.1*

%files -n lib%name-devel
%doc CHANGES COPYING LICENSE README
%{_includedir}/jbig2.h
%{_libdir}/libjbig2dec.so

%files -n lib%name
%doc CHANGES COPYING LICENSE README
%{_libdir}/libjbig2dec.so.0
%{_libdir}/libjbig2dec.so.0.0.0

# TODO:

# - update to 0.13 (patch unneeded)
# - consider debian patches

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin