jbig2dec/jbig2dec.spec

84 lines
2.3 KiB
RPMSpec
Raw Normal View History

Name: jbig2dec
2023-09-14 21:40:50 +00:00
Version: 0.20
Release: %autorelease
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
Requires: %{name}-libs = %{version}-%{release}
BuildRequires: libtool
BuildRequires: libpng-devel
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.
%package libs
Summary: A decoder implementation of the JBIG2 image compression format
2011-01-14 11:41:54 +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.
%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
%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
%autosetup
2011-01-14 11:41:54 +00:00
%build
autoreconf -fi
%configure --disable-static
%make_build
2011-01-14 11:41:54 +00:00
%install
%make_install
2011-01-14 11:41:54 +00:00
rm -f %{buildroot}%{_libdir}/*.la
%ldconfig_scriptlets libs
2011-01-14 11:41:54 +00:00
%files
%doc CHANGES COPYING LICENSE README
%{_bindir}/jbig2dec
%{_mandir}/man?/jbig2dec.1*
2011-01-14 11:41:54 +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
%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
%autochangelog