1 Summary: Decoder implementation of the JBIG2 image compression format
2 Summary(pl): Implementacja dekodera formatu kompresji obrazu JBIG2
6 License: GPL with clause allowing linking to AFPL Ghostscript
8 Source0: http://dl.sourceforge.net/jbig2dec/%{name}-%{version}.tar.gz
9 # Source0-md5: e4bff86825ccde304c19bd7ec122fda4
10 Patch0: %{name}-shared.patch
11 URL: http://jbig2dec.sourceforge.net/
12 BuildRequires: autoconf >= 2.53
13 BuildRequires: automake >= 1:1.7
14 BuildRequires: libpng-devel
15 BuildRequires: libtool
16 BuildRequires: zlib-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 jbig2dec is a decoder implementation of the JBIG2 image compression
21 format. JBIG2 is designed for lossy or lossless encoding of 'bilevel'
22 (1-bit monochrome) images at moderately high resolution, and in
23 particular scanned paper documents. In this domain it is very
24 efficient, offering compression ratios on the order of 100:1.
26 This is a decoder only implementation, and currently is in the alpha
27 stage, meaning it doesn't completely work yet. However, we are
28 maintaining parity with available encoders, so it is useful for real
31 The specificication has been published as ISO IEC 14492 and ITU T.88.
32 These documents completely describe the format and they'll be required
33 if you want to understand the code and contribute. We prefer the ISO
34 version, but haven't discovered significant differences between the
37 JBIG2 also includes the CCITT T.4 and T.6 (group 3 and group 4) fax
38 encodings, which are documented separately. Their specifications and
39 T.88 can be obtained from the ITU. The ISO version of JBIG2 can be
40 obtained through the ISO website.
43 jbig2dec to implementacja dekodera formatu kompresji obrazu JBIG2.
44 JBIG2 zosta³ zaprojektowany dla stratnego i bezstratnego kodowania
45 dwupoziomowych (monochromatycznych, 1-bitowych) obrazów o do¶æ du¿ej
46 rozdzielczo¶ci, w szczególno¶ci skanowanych dokumentów papierowych. W
47 tej dziedzinie jest bardzo wydajny, oferuj±c wspó³czynniki kompresji
50 Jest to implementacja wy³±cznie dekodera, aktualnie w stanie alpha, co
51 oznacza, ¿e jeszcze nie do koñca dzia³a. Jednak autorzy utrzymuj± j± w
52 parze z dostêpnymi koderami, wiêc jest u¿yteczna w praktycznych
55 Specyfikacja zosta³a opublikowana jako ISO IEC 14492 oraz ITU T.88. Te
56 dokumenty ca³kowicie opisuj± format i s± wymagane do zrozumienia oraz
57 rozwijania kodu. Autorzy jbig2dec preferuj± wersjê ISO, ale nie
58 odkryli znacz±cych ró¿nic miêdzy nimi.
60 JBIG2 obejmuje tak¿e kodowania faksowe CCITT T.4 i T.6 (grupa 3 i
61 grupa 4), które s± udokumentowane oddzielnie. Ich specyfikacje oraz
62 T.88 mo¿na zdobyæ z ITU. Wersjê ISO JBIG2 mo¿na zdobyæ ze strony WWW
66 Summary: Development files for jbig2dec library
67 Summary(pl): Pliki nag³ówkowe dla biblioteki jbig2dec
68 Group: Development/Libraries
69 Requires: %{name} = %{version}-%{release}
72 Development files for jbig2dec library.
74 %description devel -l pl
75 Pliki nag³ówkowe dla biblioteki jbig2dec.
78 Summary: Static version of jbig2dec library
79 Summary(pl): Statyczna wersja biblioteki jbig2dec
80 Group: Development/Libraries
81 Requires: %{name}-devel = %{version}-%{release}
84 Static version of jbig2dec library.
86 %description static -l pl
87 Statyczna wersja biblioteki jbig2dec.
105 rm -rf $RPM_BUILD_ROOT
108 DESTDIR=$RPM_BUILD_ROOT
111 rm -rf $RPM_BUILD_ROOT
113 %post -p /sbin/ldconfig
114 %postun -p /sbin/ldconfig
117 %defattr(644,root,root,755)
118 %doc CHANGES LICENSE README
119 %attr(755,root,root) %{_bindir}/jbig2dec
120 %attr(755,root,root) %{_libdir}/libjbig2dec.so.*.*.*
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_libdir}/libjbig2dec.so
125 %{_libdir}/libjbig2dec.la
126 %{_includedir}/jbig2.h
129 %defattr(644,root,root,755)
130 %{_libdir}/libjbig2dec.a