Update to 0.14.1

Enable tests. Use SPDX for license field. Make python subpackage noarch.
This commit is contained in:
David King 2023-05-09 14:16:58 +01:00
parent 992bdd29e7
commit 4b6f87996a
3 changed files with 16 additions and 12 deletions

1
.gitignore vendored
View File

@ -25,3 +25,4 @@ libgexiv2-0.1.90.tar.gz
/gexiv2-0.12.2.tar.xz
/gexiv2-0.13.0.tar.xz
/gexiv2-0.14.0.tar.xz
/gexiv2-0.14.1.tar.xz

View File

@ -1,13 +1,13 @@
Name: libgexiv2
Version: 0.14.0
Release: 5%{?dist}
Version: 0.14.1
Release: 1%{?dist}
Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library
License: GPLv2+
License: GPL-2.0-or-later
URL: https://wiki.gnome.org/Projects/gexiv2
Source0: https://download.gnome.org/sources/gexiv2/0.14/gexiv2-%{version}.tar.xz
BuildRequires: exiv2-devel
BuildRequires: pkgconfig(exiv2)
BuildRequires: gcc-c++
BuildRequires: gtk-doc
BuildRequires: gobject-introspection-devel
@ -30,19 +30,20 @@ developing applications that use %{name}.
%package -n python3-gexiv2
Summary: Python3 bindings for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: python3-gobject-base%{?_isa}
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
Requires: python3-gobject-base-noarch
%description -n python3-gexiv2
This package contains the python3 bindings for %{name}
%prep
%setup -q -n gexiv2-%{version}
%autosetup -p1 -n gexiv2-%{version}
%build
%meson \
-Dgtk_doc=true \
-Dpython3_girdir=%{python3_sitearch}/gi/overrides \
-Dtests=true \
%{nil}
%meson_build
@ -54,7 +55,7 @@ This package contains the python3 bindings for %{name}
%files
%license COPYING
%doc AUTHORS THANKS README
%doc AUTHORS NEWS README THANKS
%{_libdir}/libgexiv2.so.2*
%dir %{_libdir}/girepository-1.0
%{_libdir}/girepository-1.0/GExiv2-0.10.typelib
@ -74,10 +75,12 @@ This package contains the python3 bindings for %{name}
%{_datadir}/vala/vapi/gexiv2.vapi
%files -n python3-gexiv2
%{python3_sitearch}/gi/overrides/GExiv2.py
%{python3_sitearch}/gi/overrides/__pycache__/GExiv2*
%pycached %{python3_sitelib}/gi/overrides/GExiv2.py
%changelog
* Tue May 09 2023 David King <amigadave@amigadave.com> - 0.14.1-1
- Update to 0.14.1
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (gexiv2-0.14.0.tar.xz) = d745ae2d8ddcf0c8a2a7980eaa489f9b520af54242c5e4ddded9c3ae4a579c824c8cb659bd7e985ffa09f9fe37bdf73d6d9181d456711e0953b73023eb0f9f50
SHA512 (gexiv2-0.14.1.tar.xz) = f510e49c0b2633bcc370ca21af0822032f04f5d5b57c7f76807797601b0a98b7749fdf68df37a405c9d90734adf75282a3dad59c24830874f64f7bd33152052d