update to 2.11.0

(cherry picked from commit 04a944275b54e78717a59077519891b1a65e352d)
This commit is contained in:
xigaoxinyan 2022-05-30 15:29:54 +08:00 committed by openeuler-sync-bot
parent b22a5acc8f
commit a72849df37
3 changed files with 8 additions and 5 deletions

BIN
2.11.0.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,11 +1,11 @@
%global majorversion 2
Name: metadata-extractor2
Version: 2.10.1
Version: 2.11.0
Release: 1
Summary: Extracts EXIF, IPTC, XMP, ICC and other metadata from image files
License: ASL 2.0
URL: http://drewnoakes.com/code/exif/
Source0: https://github.com/drewnoakes/metadata-extractor/archive/%{version}/metadata-extractor-%{version}.tar.gz
Source0: http://github.com/drewnoakes/metadata-extractor/archive/refs/tags/%{version}.tar.gz
BuildRequires: maven-local mvn(com.adobe.xmp:xmpcore) mvn(junit:junit)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) mvn(org.sonatype.oss:oss-parent:pom:)
Requires: javapackages-tools
@ -49,7 +49,7 @@ for s in Source/com/drew/lang/GeoLocation.java \
Source/com/drew/metadata/icc/IccDescriptor.java;do
native2ascii -encoding UTF8 ${s} ${s}
done
sed -i 's/\r//' LICENSE-2.0.txt README.md Resources/javadoc-stylesheet.css
sed -i 's/\r//' LICENSE README.md Resources/javadoc-stylesheet.css
%mvn_file :metadata-extractor %{name}
%mvn_alias :metadata-extractor "drew:metadata-extractor"
%mvn_compat_version ":metadata-extractor" %{majorversion}
@ -64,11 +64,14 @@ sed -i 's/\r//' LICENSE-2.0.txt README.md Resources/javadoc-stylesheet.css
%files -f .mfiles
%{_bindir}/*
%doc README.md
%license LICENSE-2.0.txt
%license LICENSE
%files javadoc -f .mfiles-javadoc
%license LICENSE-2.0.txt
%license LICENSE
%changelog
* Mon May 30 2022 xigaoxinyan <xigaoxinyan@h-partners.com> - 2.11.0-1
- Update to 2.11.0
* Sat Aug 15 2020 shaoqiang kang <kangshaoqiang1@huawei.com> - 2.10.1-1
- Package init