Compare commits
No commits in common. "741d1b3a00578b4454adfd1b86958ec07fd93348" and "e2c90827b0543126466a63a57f7c9fbda8cf74a7" have entirely different histories.
741d1b3a00
...
e2c90827b0
Binary file not shown.
@ -1,84 +0,0 @@
|
|||||||
%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
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
version_control: pypi
|
|
||||||
src_repo: exif
|
|
||||||
tag_prefix: ^v
|
|
||||||
separator: "."
|
|
||||||
Loading…
x
Reference in New Issue
Block a user