Name: jbig2dec Version: 0.18 Release: 1mamba Summary: A decoder implementation of the JBIG2 image compression format. Group: Applications/Graphics Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://jbig2dec.com/ Source: https://github.com/ArtifexSoftware/jbig2dec.git/%{version}/jbig2dec-%{version}.tar.bz2 License: Affero GNU Public License ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libpng-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description jbig2dec is a decoder implementation of the JBIG2 image compression format. %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} %description -n lib%{name} This package contains shared libraries for %{name}. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: pkg-config %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q ./autogen.sh %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/jbig2dec %{_mandir}/man1/jbig2dec.1* %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libjbig2dec.so.* %doc COPYING LICENSE %files -n lib%{name}-devel %defattr(-,root,root) %{_includedir}/jbig2.h %{_libdir}/libjbig2dec.a %{_libdir}/libjbig2dec.la %{_libdir}/libjbig2dec.so %{_libdir}/pkgconfig/jbig2dec.pc %doc CHANGES README %changelog * Sat Apr 18 2020 Silvan Calarco 0.18-1mamba - update to 0.18 * Tue Nov 05 2019 Silvan Calarco 0.17-1mamba - package created using the webbuild interface