@@ -2,7 +2,7 @@ Vendor: Microsoft Corporation
22Distribution: Azure Linux
33Name: jbigkit
44Version: 2.1
5- Release: 19 %{?dist }
5+ Release: 20 %{?dist }
66Summary: JBIG1 lossless image compression tools
77
88License: GPLv2+
@@ -17,6 +17,8 @@ Patch3: jbigkit-covscan.patch
1717# gcc is no longer in buildroot by default
1818# gcc needed for libjbig library and several filters - jbigtopbm, pbmtojbig e.g.
1919BuildRequires: gcc
20+ BuildRequires: make
21+ BuildRequires: git-core
2022
2123Requires: jbigkit-libs%{?_isa } = %{version }-%{release }
2224
@@ -51,13 +53,7 @@ formats.
5153
5254
5355%prep
54- %setup -q -n jbigkit-2.1
55- %patch 0 -p1 -b .shlib
56- %patch 1 -p1 -b .warnings
57- # jbigkit: Partial Fedora build flags injection (bug #1548546)
58- %patch 2 -p1 -b .ldflags
59- # covscan issues - backported from upstream
60- %patch 3 -p1 -b .covscan
56+ %autosetup -n jbigkit-2.1 -S git
6157
6258%build
6359# get the correct redhat build flags
@@ -89,8 +85,12 @@ make test
8985%ldconfig_scriptlets libs
9086
9187%files
92- %{_bindir }/??? to*
93- %{_mandir }/man1/*
88+ %{_bindir }/jbgtopbm
89+ %{_bindir }/jbgtopbm85
90+ %{_bindir }/pbmtojbg
91+ %{_bindir }/pbmtojbg85
92+ %{_mandir }/man1/jbgtopbm.1.gz
93+ %{_mandir }/man1/pbmtojbg.1.gz
9494%license COPYING
9595
9696%files libs
@@ -103,6 +103,10 @@ make test
103103%{_includedir }/jbig* .h
104104
105105%changelog
106+ * Tue Mar 04 2025 Jyoti Kanase <v-jykanase@microsoft.com> - 2.1-20
107+ - Updated patch to fix build
108+ - License Verified
109+
106110* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 2.1-19
107111- Initial CBL-Mariner import from Fedora 32 (license: MIT).
108112
0 commit comments