2019-12-14 15:59:48 +00:00
|
|
|
Name: jbig2dec
|
2023-09-14 21:40:50 +00:00
|
|
|
Version: 0.20
|
2024-01-22 08:57:11 +00:00
|
|
|
Release: %autorelease
|
2019-12-14 15:59:48 +00:00
|
|
|
Summary: A decoder implementation of the JBIG2 image compression format
|
2023-02-12 14:14:46 +00:00
|
|
|
License: AGPL-3.0-or-later
|
2023-09-14 21:40:50 +00:00
|
|
|
URL: https://jbig2dec.com
|
|
|
|
Source0: https://github.com/ArtifexSoftware/jbig2dec/releases/download/%{version}/%{name}-%{version}.tar.gz
|
2019-12-14 15:59:48 +00:00
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
BuildRequires: libtool
|
2020-07-08 18:49:31 +00:00
|
|
|
BuildRequires: libpng-devel
|
2020-12-19 01:03:43 +00:00
|
|
|
BuildRequires: make
|
2011-01-14 11:41:54 +00:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2019-12-14 15:59:48 +00:00
|
|
|
%package libs
|
|
|
|
Summary: A decoder implementation of the JBIG2 image compression format
|
2011-01-14 11:41:54 +00:00
|
|
|
|
2019-12-14 15:59:48 +00:00
|
|
|
%description libs
|
2011-01-14 11:41:54 +00:00
|
|
|
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.
|
|
|
|
|
2019-12-14 15:59:48 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Static library and header files for development with jbig2dec
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
2011-01-14 11:41:54 +00:00
|
|
|
|
2019-12-14 15:59:48 +00:00
|
|
|
%description devel
|
2011-01-14 11:41:54 +00:00
|
|
|
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
|
2019-11-09 12:00:29 +00:00
|
|
|
%autosetup
|
2011-01-14 11:41:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2020-12-13 19:13:42 +00:00
|
|
|
autoreconf -fi
|
|
|
|
%configure --disable-static
|
|
|
|
%make_build
|
2011-01-14 11:41:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2020-12-13 19:13:42 +00:00
|
|
|
%make_install
|
2011-01-14 11:41:54 +00:00
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
|
2019-01-22 17:39:21 +00:00
|
|
|
%ldconfig_scriptlets libs
|
2011-01-14 11:41:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc CHANGES COPYING LICENSE README
|
|
|
|
%{_bindir}/jbig2dec
|
2018-09-18 19:18:50 +00:00
|
|
|
%{_mandir}/man?/jbig2dec.1*
|
2011-01-14 11:41:54 +00:00
|
|
|
|
2019-12-14 15:59:48 +00:00
|
|
|
%files devel
|
2011-01-14 11:41:54 +00:00
|
|
|
%doc CHANGES COPYING LICENSE README
|
|
|
|
%{_includedir}/jbig2.h
|
|
|
|
%{_libdir}/libjbig2dec.so
|
2019-11-07 17:32:14 +00:00
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
2011-01-14 11:41:54 +00:00
|
|
|
|
2019-12-14 15:59:48 +00:00
|
|
|
%files libs
|
2011-01-14 11:41:54 +00:00
|
|
|
%doc CHANGES COPYING LICENSE README
|
|
|
|
%{_libdir}/libjbig2dec.so.0
|
|
|
|
%{_libdir}/libjbig2dec.so.0.0.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-01-22 08:57:11 +00:00
|
|
|
%autochangelog
|