!3 [sync] PR-2: 升级master工程的metadata-extractor2到2.11.0版本

From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2022-10-19 09:33:45 +00:00 committed by Gitee
commit 85197d86fa
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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