Name: jhead Version: 3.08 Release: 1%{?dist} Summary: Tool for displaying EXIF data embedded in JPEG images License: Public Domain Vendor: TeLLie URL: http://www.sentex.net/~mwandel/jhead/ %if !0%{?os2_version} Source0: https://codeload.github.com/Matthias-Wandel/jhead/tar.gz/refs/tags/%{version}#/jhead-%{version}.tar.gz %else %scm_source github http://github.com/TeLLie/%{name}-os2 %{version}-os2 %endif %if 0%{?rhel} == 6 || 0%{?os2_version} Requires: libjpeg-turbo %else Requires: libjpeg-turbo-utils %endif BuildRequires: gcc BuildRequires: make %description Jhead displays and manipulates the non-image portions of EXIF formatted JPEG images, such as the images produced by most digital cameras. %prep %if !0%{?os2_version} %setup -q %else %scm_setup rm -r make.bat %endif %build export EXEEXT='.exe' export LDFLAGS=" -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" export LIBS="-lcx" make -f makefile.os2 %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" %install %{__mkdir_p} ${RPM_BUILD_ROOT}/%{_bindir} %if !0%{?os2_version} cp -p jhead ${RPM_BUILD_ROOT}/%{_bindir} %else cp -p jhead.exe ${RPM_BUILD_ROOT}/%{_bindir} %endif %{__mkdir_p} ${RPM_BUILD_ROOT}/%{_mandir}/man1/ cp -p jhead.1 ${RPM_BUILD_ROOT}/%{_mandir}/man1/ %files %doc readme.txt usage.html changes.txt %if !0%{?os2_version} %attr(0755,root,root) %{_bindir}/* %else %attr(0755,root,root) %{_bindir}/*.exe %endif %{_mandir}/man?/* %changelog * Fri Aug 04 2023 Elbert Pol - 3.08-1 - Updated to latest version * Fri Feb 18 2022 Elbert Pol - 3.06.01-1 - Updated source to latest version * Tue Nov 26 2019 Elbert Pol - 3.04-1 - Updated to latest source * Sun Jan 01 2019 Elbert Pol - 3.02-1 - Updated to latest source * Wed Dec 12 2018 Elbert Pol - 3.02-1 - Updated to latest source * Thu Jan 17 2017 Elbert Pol - 3.00-1 - Initial package for version 3.00