Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP5:Update
jhead.18188
jhead.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jhead.spec of Package jhead.18188
# # spec file for package jhead # # Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: jhead Version: 3.06.0.1 Release: 0 Summary: Tool to Manipulate the Nonimage Part of EXIF Compliant JPEG Files License: SUSE-Public-Domain Group: Productivity/Graphics/Other URL: http://www.sentex.net/~mwandel/jhead/ Source0: https://github.com/Matthias-Wandel/jhead/archive/refs/tags/%{version}.tar.gz Source1: %{name}.changes # PATCH FIX UPSTREAM arbitrary OS commands by placing them in a JPEG filename # https://github.com/Matthias-Wandel/jhead/pull/57 Patch0: jhead-CVE-2022-41751-1.patch # PATCH FIX UPSTREAM arbitrary OS commands by placing them in a JPEG filename # https://github.com/Matthias-Wandel/jhead/commit/ec67262b8e5a4b05d8ad6898a09f1dc3fc032062 Patch1: jhead-CVE-2022-41751-2.patch # PATCH FIX UPSTREAM heap-buffer-overflow of exif.c in function Put16u # https://github.com/Matthias-Wandel/jhead/commit/f0a884210cc46830b176f71fd61569adc8f230a7 Patch2: jhead-CVE-2021-34055.patch # [bsc#1207150], https://github.com/Matthias-Wandel/jhead/commit/2a237d866581b3774ebe63d6c312e76459bd0866 Patch3: jhead-CVE-2022-41751-3.patch Requires: %{_bindir}/jpegtran Requires: %{_bindir}/mogrify BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Jhead is a command line utility for extracting digital camera settings from the EXIF format files used by many digital cameras. It handles the various confusing ways these can be expressed and displays them as F-stop, shutter speed, and more. It is also able to reduce the size of digital camera JPEG files without loss of information by deleting thumbnails that digital cameras put into the EXIF header. %prep %setup -q %autopatch -p1 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE1}")" DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" TIME="\"$(date -d "${modified}" "+%%R")\"" %build make %{?_smp_mflags} CC="cc %{optflags} -D__DATE__=$DATE" %install install -d -m 755 %{buildroot}%{_bindir} install -d -m 755 %{buildroot}%{_mandir}/man1 install -m 755 jhead %{buildroot}%{_bindir} install -m 644 jhead.1 %{buildroot}%{_mandir}/man1 %files %defattr(-,root,root) %doc changes.txt readme.txt usage.html %{_bindir}/* %{_mandir}/man1/*.* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor