Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
741d1b3a00
!7 Update package to version 1.6.0
From: @wubijie123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2023-02-09 09:38:52 +00:00
wubijie
be0b69658f Update package to version 1.6.0 2023-02-08 16:45:54 +08:00
openeuler-ci-bot
0721f88746
!6 update package to 1.4.0
From: @wenzhiwei11 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-12-19 12:24:11 +00:00
wenzhiwei11
8dfec325df update to 1.4.0 2022-12-16 15:10:36 +08:00
openeuler-ci-bot
2db7bb8a03
!5 Update package
From: @liqiuyu123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2022-10-28 02:53:36 +00:00
liqiuyu123
e5b768e500 update package 2022-10-27 15:04:01 +08:00
openeuler-ci-bot
9f81134954
!4 【轻量级 PR】:add python-exif.yaml.
From: @liqiuyu123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2022-07-13 07:35:32 +00:00
liqiuyu
dda441c919
add python-exif.yaml.
#I55Z11
2022-05-06 01:55:25 +00:00
openeuler-ci-bot
51df8024ce !3 Package Init
Merge pull request !3 from liqiuyu/master
2021-12-14 11:48:24 +00:00
liqiuyu
4866fe756a package init 2021-12-14 14:20:23 +08:00
3 changed files with 88 additions and 0 deletions

BIN
exif-1.6.0.tar.gz Normal file

Binary file not shown.

84
python-exif.spec Normal file
View File

@ -0,0 +1,84 @@
%global _empty_manifest_terminate_build 0
Name: python-exif
Version: 1.6.0
Release: 1
Summary: Read and modify image EXIF metadata using Python.
License: MIT
URL: https://gitlab.com/TNThieding/exif
Source0: https://files.pythonhosted.org/packages/69/fc/226f502d3533e7d09876e5c0f9b8a61f84a88944d7815ad3bb9e43895785/exif-1.6.0.tar.gz
BuildArch: noarch
Requires: python3-plum-py
%description
Read and modify image EXIF metadata using Python without any third-party software
dependencies. For example, batch process image metadata using a Python script.
%package -n python3-exif
Summary: Read and modify image EXIF metadata using Python.
Provides: python-exif
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description -n python3-exif
Read and modify image EXIF metadata using Python without any third-party software
dependencies. For example, batch process image metadata using a Python script.
%package help
Summary: Development documents and examples for exif
Provides: python3-exif-doc
%description help
Read and modify image EXIF metadata using Python without any third-party software
dependencies. For example, batch process image metadata using a Python script.
%prep
%autosetup -n exif-%{version}
%build
%py3_build
%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-exif -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Wed Feb 8 2023 wubijie <wubijie@kylinos.cn> - 1.6.0-1
- Update package to version 1.6.0
* Fri Dec 16 2022 wenzhiwei <wenzhiwei@kylinos.cn> - 1.4.0-1
- Upgrade package to version 1.4.0
* Thu Oct 27 2022 liqiuyu <liqiuyu@kylinos.cn> - 1.3.5-1
- Upgrade package to version 1.3.5
* Tue Dec 14 2021 Python_Bot <Python_Bot@openeuler.org> - 1.3.4-1
- Package Init

4
python-exif.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: pypi
src_repo: exif
tag_prefix: ^v
separator: "."