Projects
openEuler:24.03:SP1:Everything
jbigkit
_service:tar_scm:jbigkit.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:jbigkit.spec of Package jbigkit
Name: jbigkit Version: 2.1 Release: 22 Summary: Lossless image compression library License: GPLv2+ URL: https://www.cl.cam.ac.uk/~mgk25/jbigkit/ Source0: https://www.cl.cam.ac.uk/~mgk25/jbigkit/download/%{name}-%{version}.tar.gz # these patches come from fedora Patch0: jbigkit-2.1-shlib.patch Patch1: jbigkit-2.0-warnings.patch Patch2: jbigkit-ldflags.patch Patch6000: backport-CVE-2017-9937.patch Patch6001: support-specify-cc.patch BuildRequires: gcc Requires: %{name}-libs = %{version}-%{release} %description JBIG-KIT provides a portable library of compression and decompression functions with a documented interface that you can include very easily into your image or document processing software. In addition, JBIG-KIT provides ready-to-use compression and decompression programs with a simple command line interface. %package libs Summary: Libraries for %{name} %description libs Libraries for %{name}. %package devel Summary: Files for %{name} development Requires: %{name}-libs = %{version}-%{release} %description devel files for %{name} development. %package_help %prep %autosetup -n %{name}-%{version} -p1 %build export CFLAGS="${CFLAGS:-%optflags}" export CXXFLAGS="${CXXFLAGS:-%optflags}" export FFLAGS="${FFLAGS:-%optflags}" make %install pushd libjbig install -Dm 0644 -t %{buildroot}%{_includedir} *.h install -Dm 0755 -t %{buildroot}%{_libdir} *.so* popd ln -sf libjbig.so.%{version} $RPM_BUILD_ROOT/%{_libdir}/libjbig.so ln -sf libjbig85.so.%{version} $RPM_BUILD_ROOT/%{_libdir}/libjbig85.so pushd pbmtools install -Dm 0755 -t %{buildroot}%{_bindir} ???to??? ???to???85 install -Dm 0644 -t %{buildroot}%{_mandir}/man1/ *.1 popd %check make test %ldconfig_scriptlets libs %files %defattr(-,root,root) %license COPYING %{_bindir}/* %files libs %{_libdir}/*.so.* %files devel %defattr(-,root,root) %{_includedir}/*.h %{_libdir}/*.so %files help %defattr(-,root,root) %doc ANNOUNCE CHANGES TODO %{_mandir}/man1/* %changelog * Sun Apr 16 2023 jammyjellyfish <jammyjellyfish255@outlook.com> - 2.1-22 - Support specify CC * Fri Jan 13 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 2.1-21 - fix build fail * Tue Oct 25 2022 wangkerong <wangkerong@h-partners.com> - 2.1-20 - rebuild for next release * Sun Apr 24 2022 yangcheng <yangcheng87@h-partners.com> - 2.1-19 - add CFLAGS in build * Mon Apr 11 2022 xingxing <xingxing9@h-partners.com> - 2.1-18 - Type:CVE - CVE:CVE-2017-9937 - SUG:NA - DESC:fix CVE-2017-9937 * Mon Feb 17 2020 hexiujun <hexiujun1@huawei.com> - 2.1-17 - Type:enhancement - ID:NA - SUG:NA - DESC:unpack libs subpackage * Thu Sep 5 2019 openEuler Builteam <buildteam@openeuler.org> - 2.1-16 - Type:enhancement - ID:NA - SUG:NA - DESC:add requires * Tue Aug 20 2019 openEuler Builteam <buildteam@openeuler.org> -2.1-15 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2