[packages/exiv2] - updated to 0.28.0 (new soname)
qboosh
qboosh at pld-linux.org
Tue Jul 25 21:40:35 CEST 2023
commit 4b50535470d7a4e175de5b8ffbc454ea89195aad
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Jul 25 21:29:17 2023 +0200
- updated to 0.28.0 (new soname)
exiv2-no-xmpsdk-install.patch | 10 ++++++++++
exiv2.spec | 8 +++++---
2 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/exiv2.spec b/exiv2.spec
index 883702d..1233716 100644
--- a/exiv2.spec
+++ b/exiv2.spec
@@ -7,13 +7,13 @@
Summary: EXIF and IPTC metadata manipulation tools
Summary(pl.UTF-8): Narzędzia do obróbki metadanych EXIF i IPTC
Name: exiv2
-Version: 0.27.6
+Version: 0.28.0
Release: 1
License: GPL v2+
Group: Applications/Graphics
#Source0Download: https://exiv2.org/download.html
Source0: https://github.com/Exiv2/exiv2/releases/download/v%{version}/%{name}-%{version}-Source.tar.gz
-# Source0-md5: 837a469b0957df8b657151ffb9449771
+# Source0-md5: 7b53f59708efc7f9840e34503eacb41f
Patch0: %{name}-no-xmpsdk-install.patch
URL: https://exiv2.org/
BuildRequires: cmake >= 3.3.2
@@ -21,6 +21,7 @@ BuildRequires: cmake >= 3.3.2
%{?with_apidocs:BuildRequires: doxygen}
BuildRequires: expat-devel
BuildRequires: gettext-tools
+BuildRequires: inih-c++-devel
%{?with_libssh:BuildRequires: libssh-devel}
BuildRequires: libstdc++-devel
BuildRequires: rpm-build >= 4.6
@@ -53,6 +54,7 @@ Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
%{?with_curl:Requires: curl-devel}
Requires: expat-devel
+Requires: inih-c++-devel
%{?with_libssh:Requires: libssh-devel}
Requires: libstdc++-devel
Requires: zlib-devel
@@ -125,7 +127,7 @@ rm -rf $RPM_BUILD_ROOT
%files libs
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libexiv2.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libexiv2.so.27
+%attr(755,root,root) %ghost %{_libdir}/libexiv2.so.28
%files devel
%defattr(644,root,root,755)
diff --git a/exiv2-no-xmpsdk-install.patch b/exiv2-no-xmpsdk-install.patch
index 459c68f..67c64f4 100644
--- a/exiv2-no-xmpsdk-install.patch
+++ b/exiv2-no-xmpsdk-install.patch
@@ -12,3 +12,13 @@ We package shared, not static libexiv2 library, so libexiv2-xmp.a is useless.
- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
-)
+--- exiv2-0.28.0-Source/src/CMakeLists.txt.orig 2023-05-08 18:01:13.000000000 +0200
++++ exiv2-0.28.0-Source/src/CMakeLists.txt 2023-07-25 21:19:24.740194972 +0200
+@@ -189,7 +189,6 @@ endif()
+
+ if (EXIV2_ENABLE_XMP)
+ target_link_libraries(exiv2lib PRIVATE exiv2-xmp)
+- list(APPEND libs_private_list "exiv2-xmp")
+ elseif(EXIV2_ENABLE_EXTERNAL_XMP)
+ target_link_libraries(exiv2lib PUBLIC ${XMPSDK_LIBRARY})
+ target_include_directories(exiv2lib PUBLIC ${XMPSDK_INCLUDE_DIR})
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/exiv2.git/commitdiff/4b50535470d7a4e175de5b8ffbc454ea89195aad
More information about the pld-cvs-commit
mailing list