From 3a7664289bf3977578706969331a29e7f1b82cbd Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 00:16:44 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.17-1mamba;Tue Nov 05 2019] --- README.md | 2 ++ jbig2dec.spec | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 jbig2dec.spec diff --git a/README.md b/README.md index f6a1789..caedab5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # jbig2dec +jbig2dec is a decoder implementation of the JBIG2 image compression format. + diff --git a/jbig2dec.spec b/jbig2dec.spec new file mode 100644 index 0000000..de79e99 --- /dev/null +++ b/jbig2dec.spec @@ -0,0 +1,80 @@ +Name: jbig2dec +Version: 0.17 +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/ghostpdl-downloads/releases/download/gs950/jbig2dec-%{version}.tar.gz +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 + +%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 +* Tue Nov 05 2019 Silvan Calarco 0.17-1mamba +- package created using the webbuild interface