7852339
f596f8a
%global beta RC2
f596f8a
bff6f24
Summary: Exif and Iptc metadata manipulation library
b326000
Name:    exiv2
f596f8a
Version: 0.27.2
043bbfb
%global internal_ver %{version}.2
c289750
Release: 0.2.%{beta}%{?dist}
7852339
4719126
License: GPLv2+
b326000
URL:     http://www.exiv2.org/
f596f8a
%if 0%{?beta:1}
f596f8a
Source0: https://github.com/Exiv2/%{name}/archive/v%{version}-%{beta}.tar.gz
f596f8a
%else
a124f15
Source0: http://exiv2.org/builds/%{name}-%{version}-Source.tar.gz
f596f8a
%endif
a124f15
a124f15
## upstream patches
0a59d55
0a59d55
## upstreamable patches
ca95549
Rex Dieter 2a35bc8
BuildRequires: cmake
475e5cf
BuildRequires: expat-devel
bc67673
BuildRequires: gcc-c++
850824a
BuildRequires: gettext
e4d8944
BuildRequires: pkgconfig
Rex Dieter b57554d
BuildRequires: pkgconfig(libcurl)
Rex Dieter b57554d
BuildRequires: pkgconfig(libssh)
475e5cf
BuildRequires: zlib-devel
850824a
# docs
65d2377
BuildRequires: doxygen graphviz libxslt
cfa1197
59ed217
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
18a2ffa
7852339
%description
aa53ba6
A command line utility to access image metadata, allowing one to:
7852339
* print the Exif metadata of Jpeg images as summary info, interpreted values,
7852339
  or the plain data for each tag
7852339
* print the Iptc metadata of Jpeg images
7852339
* print the Jpeg comment of Jpeg images
7852339
* set, add and delete Exif and Iptc metadata of Jpeg images
7852339
* adjust the Exif timestamp (that's how it all started...)
7852339
* rename Exif image files according to the Exif timestamp
7852339
* extract, insert and delete Exif metadata (including thumbnails),
7852339
  Iptc metadata and Jpeg comments
7852339
7852339
%package devel
7852339
Summary: Header files, libraries and development documentation for %{name}
59ed217
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
d9f0bdd
# FIXME/TODO: probably overlinking --rex
d9f0bdd
# exiv2/exiv2Config.cmake:  INTERFACE_LINK_LIBRARIES "/usr/lib64/libexpat.so"
d9f0bdd
Requires: expat-devel%{?_isa} 
7852339
%description devel
7852339
%{summary}.
7852339
aa53ba6
%package libs
aa53ba6
Summary: Exif and Iptc metadata manipulation library
Rex Dieter b57554d
# not strictly required, but convenient and expected
Igor Gnatenko fd72e1f
%if 0%{?rhel} && 0%{?rhel} <= 7
5416538
Requires: %{name} = %{version}-%{release}
Igor Gnatenko fd72e1f
%else
Igor Gnatenko fd72e1f
Recommends: %{name} = %{version}-%{release}
5416538
%endif
aa53ba6
%description libs
aa53ba6
A C++ library to access image metadata, supporting full read and write access
b326000
to the Exif and Iptc metadata, Exif MakerNote support, extract and delete
aa53ba6
methods for Exif thumbnails, classes to access Ifd and so on.
aa53ba6
Rex Dieter 2a35bc8
%package doc
Rex Dieter 2a35bc8
Summary: Api documentation for %{name}
Rex Dieter 2a35bc8
BuildArch: noarch
Rex Dieter 2a35bc8
%description doc
Rex Dieter 2a35bc8
%{summary}.
Rex Dieter 2a35bc8
7852339
7852339
%prep
f596f8a
%autosetup -n %{name}-%{version}-%{?beta}%{!?beta:Source} -p1
Rex Dieter 2a35bc8
7852339
7852339
%build
Rex Dieter f5acb41
a124f15
%{cmake} . \
a124f15
  -DCMAKE_INSTALL_DOCDIR="%{_pkgdocdir}" \
a124f15
  -DEXIV2_BUILD_DOC:BOOL=ON \
a124f15
  -DEXIV2_BUILD_PO:BOOL=ON \
a124f15
  -DEXIV2_BUILD_SAMPLES:BOOL=OFF
a124f15
a124f15
%make_build
a124f15
%make_build doc
479d2bb
7852339
7852339
%install
Rex Dieter b57554d
make install/fast DESTDIR=%{buildroot}
Rex Dieter 2a35bc8
Rex Dieter b57554d
%find_lang exiv2 --with-man
Rex Dieter 2a35bc8
Rex Dieter 2a35bc8
## unpackaged files
Rex Dieter 2a35bc8
rm -fv %{buildroot}%{_libdir}/libexiv2.la
a124f15
#rm -fv %{buildroot}%{_libdir}/pkgconfig/exiv2.lsm
a124f15
18a2ffa
a763e9a
%check
85c5dfb
export PKG_CONFIG_PATH="%{buildroot}%{_libdir}/pkgconfig${PKG_CONFIG_PATH:+:}${PKG_CONFIG_PATH}"
043bbfb
test "$(pkg-config --modversion exiv2)" = "%{internal_ver}"
865d9e7
test "$(pkg-config --variable=libdir exiv2)" = "%{_libdir}"
65d2377
test -x %{buildroot}%{_libdir}/libexiv2.so
a763e9a
a763e9a
Rex Dieter b57554d
%files -f exiv2.lang
Rex Dieter b57554d
%license COPYING
Rex Dieter b57554d
%doc doc/ChangeLog
Rex Dieter b57554d
# README is mostly installation instructions
a124f15
#doc README.md
7852339
%{_bindir}/exiv2
Rex Dieter b57554d
%{_mandir}/man1/exiv2*.1*
7852339
94ec541
%ldconfig_scriptlets libs
63c47b6
Rex Dieter b57554d
%files libs
a124f15
%{_libdir}/libexiv2.so.27*
043bbfb
%{_libdir}/libexiv2.so.%{internal_ver}
aa53ba6
7852339
%files devel
7852339
%{_includedir}/exiv2/
7852339
%{_libdir}/libexiv2.so
a108d9b
%{_libdir}/pkgconfig/exiv2.pc
a124f15
%{_libdir}/cmake/exiv2/
a124f15
# todo: -static subpkg?  -- rex
a124f15
%{_libdir}/libexiv2-xmp.a
7852339
Rex Dieter 2a35bc8
%files doc
a124f15
%{_pkgdocdir}/
Rex Dieter 2a35bc8
7852339
7852339
%changelog
c289750
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.27.2-0.2.RC2
c289750
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c289750
f596f8a
* Tue Jul 16 2019 Rex Dieter <rdieter@fedoraproject.org> - 0.27.2-0.1.RC2
f596f8a
- 0.27.2-RC2 (#1720353)
f596f8a
0a59d55
* Fri Apr 26 2019 Rex Dieter <rdieter@fedoraproject.org> - 0.27.1-1
0a59d55
- exiv-0.27.1 (#1696117)
0a59d55
d9f0bdd
* Thu Jan 31 2019 Rex Dieter <rdieter@fedoraproject.org> - 0.27.0-3
d9f0bdd
- -devel: Requires: expat-devel
d9f0bdd
85c5dfb
* Wed Jan 30 2019 Rex Dieter <rdieter@fedoraproject.org> - 0.27.0-2
85c5dfb
- pull in upstream fix for pkgconfig exiv2.pc
85c5dfb
a124f15
* Thu Jan 10 2019 Rex Dieter <rdieter@fedoraproject.org> - 0.27.0-1
a124f15
- exiv2-0.27.0 (#1665246)
a124f15
ca95549
* Thu Jan 10 2019 Rex Dieter <rdieter@fedoraproject.org> - 0.26-13
ca95549
- backport pentax DNG crasher (#1585514, exiv2#201)
ca95549
b326000
* Tue Jul 24 2018 Jan Grulich <jgrulich@redhat.com> - 0.26-12
b326000
- Security fix for CVE-2017-17723, CVE-2017-17725, CVE-2018-10958, CVE-2018-10998,
b326000
  CVE-2018-11531, CVE-2018-12264, CVE-2018-12265, CVE-2018-14046, CVE-2018-5772,
b326000
  CVE-2018-8976, CVE-2018-8977, CVE-2018-9144
b326000
3370565
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.26-11
3370565
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
3370565
c884a03
* Thu May 03 2018 Germano Massullo <germano.massullo@gmail.com> - 0.26-10
c884a03
- added patches that fix CVE-2017-17723 CVE-2017-17725 CVE-2017-5772
c884a03
- moved 0006-1296-Fix-submitted.patch file from sources to package tree
c884a03
44bf908
* Tue Feb 20 2018 Rex Dieter <rdieter@fedoraproject.org> - 0.26-9
041ff80
- BR: gcc-c++
44bf908
65b6125
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.26-8
65b6125
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
65b6125
94ec541
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.26-7
94ec541
- Switch to %%ldconfig_scriptlets
94ec541
290b717
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.26-6
290b717
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
290b717
e43c408
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.26-5
e43c408
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e43c408
Rex Dieter 520be40
* Sun May 28 2017 Rex Dieter <rdieter@fedoraproject.org> - 0.26-4
Rex Dieter 520be40
- Security fix for CVE-2017-9239 (#1455859,#1455860)
Rex Dieter 520be40
Rex Dieter d4be2a8
* Sat May 20 2017 Rex Dieter <rdieter@fedoraproject.org> - 0.26-3
Rex Dieter d4be2a8
- -libs: use Recommends: instead (#1452938)
Rex Dieter d4be2a8
31227de
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26-2
31227de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
31227de
Rex Dieter b57554d
* Tue May 02 2017 Rex Dieter <rdieter@fedoraproject.org> - 0.26-1
Rex Dieter b57554d
- exiv2-0.26 (#1447129)
Rex Dieter b57554d
dd52350
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-4
dd52350
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
dd52350
Rex Dieter f5acb41
* Mon Feb 22 2016 Rex Dieter <rdieter@fedoraproject.org> 0.25-3
Rex Dieter f5acb41
- embedded copy of exempi should be compiled with BanAllEntityUsage (#888769)
Rex Dieter f5acb41
e8a6024
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-2
e8a6024
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e8a6024
Rex Dieter 08a914e
* Mon Jun 22 2015 Rex Dieter <rdieter@fedoraproject.org> 0.25-1
Rex Dieter 08a914e
- exiv2-0.25 (#1234185)
Rex Dieter 08a914e
7244fe7
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24-7
7244fe7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7244fe7
Rex Dieter ae8cbb1
* Tue Apr 14 2015 Rex Dieter <rdieter@fedoraproject.org> 0.24-6
Rex Dieter ae8cbb1
- rebuild (gcc5)
Rex Dieter ae8cbb1
Rex Dieter 15a96ba
* Thu Feb 19 2015 Rex Dieter <rdieter@fedoraproject.org> 0.24-5
Rex Dieter 15a96ba
- rebuild (gcc5)
Rex Dieter 15a96ba
Rex Dieter b349f4d
* Mon Jan 05 2015 Rex Dieter <rdieter@fedoraproject.org> 0.24-4
Rex Dieter b349f4d
- CVE-2014-9449 exiv2: buffer overflow in RiffVideo::infoTagsHandler (#1178909)
Rex Dieter b349f4d
0e1afd9
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24-3
0e1afd9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0e1afd9
1c7f9c0
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24-2
1c7f9c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1c7f9c0
Rex Dieter 2a35bc8
* Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> - 0.24-1
Rex Dieter 2a35bc8
- exiv2-0.24, abi bump
Rex Dieter 2a35bc8
- -doc subpkg
Rex Dieter 2a35bc8
- ready experimental cmake buildsystem support
Rex Dieter 2a35bc8
5629ba5
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-5
5629ba5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
5629ba5
1951389
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-4
1951389
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1951389
65d2377
* Tue Aug 14 2012 Rex Dieter <rdieter@fedoraproject.org> 0.23-3
65d2377
- empty html doc dir (#848025)
65d2377
f00ce97
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-2
f00ce97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f00ce97
b48784e
* Tue Apr 24 2012 Rex Dieter <rdieter@fedoraproject.org> 0.23-1
b48784e
- exiv2-0.23
b48784e
- abi bump
b48784e
da4d6fd
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-5
da4d6fd
- Rebuilt for c++ ABI breakage
da4d6fd
479d2bb
* Mon Jan 16 2012 Rex Dieter <rdieter@fedoraproject.org> 0.22-4
479d2bb
- better rpath handling
479d2bb
- revert locale change, move back to -libs
479d2bb
3827b2f
* Mon Jan 16 2012 Rex Dieter <rdieter@fedoraproject.org> 0.22-3
3827b2f
- move locale files to main pkg (from -libs)
3827b2f
86ab1fa
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-2
86ab1fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
86ab1fa
63c47b6
* Fri Oct 14 2011 Rex Dieter <rdieter@fedoraproject.org> 0.22-1
63c47b6
- exiv2-0.22
63c47b6
0076c9a
* Tue Sep 27 2011 Rex Dieter <rdieter@fedoraproject.org> 0.21.1-3
0076c9a
- New Tamron 70-300 mm lens improperly recognized (#708403)
0076c9a
adbe03c
* Mon Sep 26 2011 Rex Dieter <rdieter@fedoraproject.org> 0.21.1-2
adbe03c
- gthumb crashes because of bug in exiv2 0.21.1 (#741429)
adbe03c
f77490f
* Sat Feb 26 2011 Rex Dieter <rdieter@fedoraproject.org> 0.21.1-1
f77490f
- exiv2-0.21.1
f77490f
2fad7fb
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-3
2fad7fb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2fad7fb
edba2da
* Wed Jan 26 2011 Rex Dieter <rdieter@fedoraproject.org> 0.21-2
edba2da
- Move ldconfig scriptlet calls to -libs (#672361)
edba2da
f785d91
* Wed Dec 01 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.21-1
f785d91
- exiv2-0.21
f785d91
a763e9a
* Sun May 30 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.20-1
a763e9a
- exiv2-0.20
a763e9a
59ed217
* Wed Dec 30 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.19-1
59ed217
- exiv2-0.19 (#552275)
59ed217
59ed217
* Sun Dec 13 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.18.2-3
59ed217
- -libs unconditional
59ed217
- tighten deps using %%?_isa
59ed217
3e52258
* Fri Aug 07 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.18.2-2
3e52258
- (again) drop -fvisibility-inlines-hidden (#496050)
3e52258
d68bcf0
* Fri Jul 24 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.18.2-1
d68bcf0
- exiv2-0.18.2
d68bcf0
- drop visibility patch
d68bcf0
fd67180
* Fri Apr 17 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.18.1-1
fd67180
- exiv2-0.18.1
fd67180
- drop -fvisibility-inlines-hidden (#496050)
fd67180
3aab9d4
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-2
3aab9d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3aab9d4
3187b11
* Thu Dec 18 2008 Rex Dieter <rdieter@fedoraproject.org> 0.18-1
3187b11
- exiv2-0.18
3187b11
e4d8944
* Fri Dec 12 2008 Rex Dieter <rdieter@fedoraproject.org> 0.17.2-2
e4d8944
- rebuild for pkgconfig deps
e4d8944
9dd907b
* Mon Jun 23 2008 Rex Dieter <rdieter@fedoraproject.org> 0.17.1-1
9dd907b
- exiv2-0.17.1
9dd907b
0b9ac3c
* Mon Feb 11 2008 Rex Dieter <rdieter@fedoraproject.org> 0.16-2
0b9ac3c
- respin (gcc43)
c4b34d3
- gcc43 patch
0b9ac3c
ad15fd2
* Sun Jan 13 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 0.16-1
ad15fd2
- eviv2-0.16
ad15fd2
8847c70
* Mon Dec 17 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.16-0.3.pre1
f7aa4b8
- CVE-2007-6353 (#425924)
8847c70
18a2ffa
* Mon Nov 26 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.16-0.2.pre1
18a2ffa
- -libs subpkg toggle (f8+)
18a2ffa
475e5cf
* Tue Nov 13 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.16-0.1.pre1
475e5cf
- exiv2-0.16-pre1
475e5cf
ef42e7f
* Tue Sep 18 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-4
ef42e7f
- -libs: -Requires: %%name
ef42e7f
aa53ba6
* Tue Aug 21 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-3
18a2ffa
- -libs subpkg to be multilib-friendlier (f8+)
aa53ba6
aa53ba6
* Sat Aug 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-2
4719126
- License: GPLv2+
4719126
0138398
* Thu Jul 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-1
0138398
- exiv2-0.15
0138398
850824a
* Mon Apr 02 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.14-1
850824a
- exiv2-0.14
850824a
7627651
* Tue Nov 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.12-1
7627651
- exiv2-0.12
7627651
3827851
* Wed Oct 04 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.11-3
3827851
- respin
3827851
cfa1197
* Tue Sep 19 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.11-2
cfa1197
- BR: zlib-devel
cfa1197
cff6204
* Tue Sep 19 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.11-1
7627651
- exiv2-0.11
cff6204
d7dd163
* Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.10-2
d7dd163
- fc6 respin
d7dd163
a108d9b
* Sat Jun 03 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.10-1
a108d9b
- 0.10
a108d9b
7852339
* Wed May 17 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.1-3
7852339
- cleanup %%description
7852339
- set eXecute bit on installed lib.
7852339
- no_rpath patch
7852339
- deps patch (items get (re)compiled on *every* call to 'make')
7852339
7852339
* Wed May 17 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.1-2
7852339
- %%post/%%postun: /sbin/ldconfig
7852339
7852339
* Tue May 16 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.1-1
7852339
- first try