]> git.pld-linux.org Git - packages/jbig2dec.git/blame - jbig2dec.spec
- ghost soname symlink
[packages/jbig2dec.git] / jbig2dec.spec
CommitLineData
f65434b9 1Summary: Decoder implementation of the JBIG2 image compression format
9d34e98a 2Summary(pl.UTF-8): Implementacja dekodera formatu kompresji obrazu JBIG2
f65434b9 3Name: jbig2dec
a698035f 4Version: 0.9
0ab8acdf 5Release: 3
f65434b9 6License: GPL with clause allowing linking to AFPL Ghostscript
7Group: Applications
cd313560 8Source0: http://dl.sourceforge.net/jbig2dec/%{name}-%{version}.tar.gz
a698035f
JB
9# Source0-md5: e4bff86825ccde304c19bd7ec122fda4
10Patch0: %{name}-shared.patch
cd313560 11URL: http://jbig2dec.sourceforge.net/
a698035f
JB
12BuildRequires: autoconf >= 2.53
13BuildRequires: automake >= 1:1.7
14BuildRequires: libpng-devel
15BuildRequires: libtool
16BuildRequires: zlib-devel
f65434b9 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
cd313560
JB
20jbig2dec is a decoder implementation of the JBIG2 image compression
21format. JBIG2 is designed for lossy or lossless encoding of 'bilevel'
22(1-bit monochrome) images at moderately high resolution, and in
23particular scanned paper documents. In this domain it is very
24efficient, offering compression ratios on the order of 100:1.
25
26This is a decoder only implementation, and currently is in the alpha
27stage, meaning it doesn't completely work yet. However, we are
28maintaining parity with available encoders, so it is useful for real
29work.
30
31The specificication has been published as ISO IEC 14492 and ITU T.88.
32These documents completely describe the format and they'll be required
33if you want to understand the code and contribute. We prefer the ISO
34version, but haven't discovered significant differences between the
35two.
36
37JBIG2 also includes the CCITT T.4 and T.6 (group 3 and group 4) fax
38encodings, which are documented separately. Their specifications and
39T.88 can be obtained from the ITU. The ISO version of JBIG2 can be
40obtained through the ISO website.
41
c20cf86d 42%description -l pl.UTF-8
cd313560 43jbig2dec to implementacja dekodera formatu kompresji obrazu JBIG2.
c20cf86d
JR
44JBIG2 został zaprojektowany dla stratnego i bezstratnego kodowania
45dwupoziomowych (monochromatycznych, 1-bitowych) obrazów o dość dużej
46rozdzielczości, w szczególności skanowanych dokumentów papierowych. W
47tej dziedzinie jest bardzo wydajny, oferując współczynniki kompresji
48rzędu 100:1.
49
50Jest to implementacja wyłącznie dekodera, aktualnie w stanie alpha, co
51oznacza, że jeszcze nie do końca działa. Jednak autorzy utrzymują ją w
52parze z dostępnymi koderami, więc jest użyteczna w praktycznych
cd313560
JB
53zastosowaniach.
54
c20cf86d
JR
55Specyfikacja została opublikowana jako ISO IEC 14492 oraz ITU T.88. Te
56dokumenty całkowicie opisują format i są wymagane do zrozumienia oraz
57rozwijania kodu. Autorzy jbig2dec preferują wersję ISO, ale nie
58odkryli znaczących różnic między nimi.
cd313560 59
c20cf86d
JR
60JBIG2 obejmuje także kodowania faksowe CCITT T.4 i T.6 (grupa 3 i
61grupa 4), które są udokumentowane oddzielnie. Ich specyfikacje oraz
62T.88 można zdobyć z ITU. Wersję ISO JBIG2 można zdobyć ze strony WWW
cd313560 63ISO.
f65434b9 64
65%package devel
66Summary: Development files for jbig2dec library
9d34e98a 67Summary(pl.UTF-8): Pliki nagłówkowe dla biblioteki jbig2dec
cd313560
JB
68Group: Development/Libraries
69Requires: %{name} = %{version}-%{release}
f65434b9 70
71%description devel
72Development files for jbig2dec library.
73
c20cf86d
JR
74%description devel -l pl.UTF-8
75Pliki nagłówkowe dla biblioteki jbig2dec.
f65434b9 76
77%package static
78Summary: Static version of jbig2dec library
9d34e98a 79Summary(pl.UTF-8): Statyczna wersja biblioteki jbig2dec
cd313560
JB
80Group: Development/Libraries
81Requires: %{name}-devel = %{version}-%{release}
f65434b9 82
83%description static
84Static version of jbig2dec library.
85
c20cf86d 86%description static -l pl.UTF-8
cd313560 87Statyczna wersja biblioteki jbig2dec.
f65434b9 88
89%prep
90%setup -q
a698035f 91%patch0 -p1
f65434b9 92
93%build
a698035f 94%{__libtoolize}
f65434b9 95%{__aclocal}
96%{__autoconf}
a698035f 97%{__autoheader}
f65434b9 98%{__automake}
99
100%configure
101
102%{__make}
103
104%install
105rm -rf $RPM_BUILD_ROOT
f65434b9 106
107%{__make} install \
108 DESTDIR=$RPM_BUILD_ROOT
109
110%clean
111rm -rf $RPM_BUILD_ROOT
112
cd313560
JB
113%post -p /sbin/ldconfig
114%postun -p /sbin/ldconfig
f65434b9 115
116%files
117%defattr(644,root,root,755)
a698035f
JB
118%doc CHANGES LICENSE README
119%attr(755,root,root) %{_bindir}/jbig2dec
120%attr(755,root,root) %{_libdir}/libjbig2dec.so.*.*.*
0ab8acdf 121%attr(755,root,root) %ghost %{_libdir}/libjbig2dec.so.0
a698035f
JB
122
123%files devel
124%defattr(644,root,root,755)
125%attr(755,root,root) %{_libdir}/libjbig2dec.so
126%{_libdir}/libjbig2dec.la
127%{_includedir}/jbig2.h
128
129%files static
130%defattr(644,root,root,755)
131%{_libdir}/libjbig2dec.a
This page took 0.044407 seconds and 4 git commands to generate.