2018-05-07 16:02:43 +00:00
|
|
|
|
#
|
2018-06-28 10:33:14 +00:00
|
|
|
|
# spec file for package python-exiv2
|
2018-05-07 16:02:43 +00:00
|
|
|
|
#
|
2022-10-14 06:42:17 +00:00
|
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2018-05-07 16:02:43 +00:00
|
|
|
|
#
|
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
2019-01-29 11:22:53 +00:00
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-06-28 10:33:14 +00:00
|
|
|
|
#
|
2018-05-07 16:02:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
|
|
# This is a python3 only package
|
|
|
|
|
|
%define skip_python2 1
|
2021-07-08 17:20:39 +00:00
|
|
|
|
|
2018-05-07 16:02:43 +00:00
|
|
|
|
Name: python-exiv2
|
2022-10-14 06:42:17 +00:00
|
|
|
|
Version: 0.11.0
|
2018-05-07 16:02:43 +00:00
|
|
|
|
Release: 0
|
|
|
|
|
|
Summary: Python3 bindings for the exiv2 library
|
2018-06-28 10:33:14 +00:00
|
|
|
|
License: GPL-3.0-only
|
2018-05-07 16:02:43 +00:00
|
|
|
|
Group: Development/Languages/Python
|
2019-01-29 11:22:53 +00:00
|
|
|
|
URL: https://launchpad.net/py3exiv2
|
2020-10-20 06:54:42 +00:00
|
|
|
|
#
|
|
|
|
|
|
Source0: https://files.pythonhosted.org/packages/source/p/py3exiv2/py3exiv2-%{version}.tar.gz
|
|
|
|
|
|
#
|
|
|
|
|
|
Patch0: py3exiv2-link-boost.patch
|
|
|
|
|
|
#
|
2018-05-07 16:02:43 +00:00
|
|
|
|
BuildRequires: %{python_module devel}
|
|
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
|
|
BuildRequires: fdupes
|
2018-06-28 10:33:14 +00:00
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
|
BuildRequires: libboost_python3-devel
|
2019-01-29 11:22:53 +00:00
|
|
|
|
BuildRequires: pkgconfig
|
2018-06-28 10:33:14 +00:00
|
|
|
|
BuildRequires: python-rpm-macros
|
2019-01-29 11:22:53 +00:00
|
|
|
|
BuildRequires: pkgconfig(exiv2)
|
2018-05-07 16:02:43 +00:00
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
|
python3-exiv2 is a Python 3 binding to exiv2, the C++ library for manipulation
|
|
|
|
|
|
of EXIF, IPTC and XMP image metadata. It is a python 3 module that allows your
|
|
|
|
|
|
scripts to read and write metadata (EXIF, IPTC, XMP, thumbnails) embedded in
|
|
|
|
|
|
image files (JPEG, TIFF, ...).
|
|
|
|
|
|
|
|
|
|
|
|
It is designed as a high-level interface to the functionalities offered by
|
|
|
|
|
|
libexiv2. Using python’s built-in data types and standard modules, it provides
|
|
|
|
|
|
easy manipulation of image metadata.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2020-10-20 06:54:42 +00:00
|
|
|
|
%autosetup -p1 -n py3exiv2-%{version}
|
2018-05-07 16:02:43 +00:00
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
%python_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
|
%python_install
|
|
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
|
|
%{python_sitearch}/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|