source: spec/trunk/SPECS/jhead.spec@ 1805

Last change on this file since 1805 was 1795, checked in by tellie, 4 years ago

spec: jhead: Release version 3.06.0.1-1.

File size: 1.9 KB
Line 
1Name: jhead
2Version: 3.06.0.1
3Release: 1%{?dist}
4Summary: Tool for displaying EXIF data embedded in JPEG images
5License: Public Domain
6Vendor: TeLLie
7URL: http://www.sentex.net/~mwandel/jhead/
8%if !0%{?os2_version}
9Source0: https://codeload.github.com/Matthias-Wandel/jhead/tar.gz/refs/tags/%{version}#/jhead-%{version}.tar.gz
10%else
11%scm_source github http://github.com/TeLLie/%{name}-os2 %{version}-os2
12%endif
13
14%if 0%{?rhel} == 6 || 0%{?os2_version}
15Requires: libjpeg-turbo
16%else
17Requires: libjpeg-turbo-utils
18%endif
19BuildRequires: gcc
20BuildRequires: make
21
22%description
23Jhead displays and manipulates the non-image portions of EXIF formatted
24JPEG images, such as the images produced by most digital cameras.
25
26%prep
27%if !0%{?os2_version}
28%setup -q
29%else
30%scm_setup
31rm -r make.bat
32%endif
33
34%build
35export EXEEXT='.exe'
36export LDFLAGS=" -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
37export LIBS="-lcx"
38make -f makefile.os2 %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
39
40%install
41%{__mkdir_p} ${RPM_BUILD_ROOT}/%{_bindir}
42%if !0%{?os2_version}
43cp -p jhead ${RPM_BUILD_ROOT}/%{_bindir}
44%else
45cp -p jhead.exe ${RPM_BUILD_ROOT}/%{_bindir}
46%endif
47%{__mkdir_p} ${RPM_BUILD_ROOT}/%{_mandir}/man1/
48cp -p jhead.1 ${RPM_BUILD_ROOT}/%{_mandir}/man1/
49
50%files
51%doc readme.txt usage.html changes.txt
52%if !0%{?os2_version}
53%attr(0755,root,root) %{_bindir}/*
54%else
55%attr(0755,root,root) %{_bindir}/*.exe
56%endif
57%{_mandir}/man?/*
58
59%changelog
60* Fri Feb 18 2022 Elbert Pol <elbert.pol@gmail.com> - 3.06.01-1
61- Updated source to latest version
62
63* Tue Nov 26 2019 Elbert Pol <elbert.pol@gmail.com> - 3.04-1
64- Updated to latest source
65
66* Sun Jan 01 2019 Elbert Pol <elbert.pol@gmail.com> - 3.02-1
67- Updated to latest source
68
69* Wed Dec 12 2018 Elbert Pol <elbert.pol@gmail.com> - 3.02-1
70- Updated to latest source
71
72* Thu Jan 17 2017 Elbert Pol <elbert.pol@gmail.com> - 3.00-1
73- Initial package for version 3.00
Note: See TracBrowser for help on using the repository browser.