$ git diff --patch-with-stat --summary ce33125e81e2b40992ff2bbdc32b8336ea9019ce..325165a8a9dafa9a61b54d73f6c9e0f5a9f2361f
.abf.yml | 3 +--
check-update.sh | 3 +++
mat2.spec | 19 +++++++------------
3 files changed, 11 insertions(+), 14 deletions(-)
create mode 100755 check-update.sh
diff --git a/.abf.yml b/.abf.yml
index 6af15d7..cf5b083 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,3 +1,2 @@
sources:
- mat2-0.12.3.tar.bz2: 87df9e0f17848998e8ead573b83fc471731992e0
-
+ mat2-0.13.1.tar.bz2: 648dc2e32f441eb3a65840da9c26b86bff296d88
diff --git a/check-update.sh b/check-update.sh
new file mode 100755
index 0000000..e82a539
--- /dev/null
+++ b/check-update.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+curl -s "https://0xacab.org/jvoisin/mat2/-/tags" |grep "tags/" |sed -e 's,.*tags/,,;s,\".*,,;' |grep -E '^[0-9.]+$' |grep -v '[0-9][0-9][0-9][0-9]\.[0-9][0-9]\.[0-9][0-9]' |sort -V |tail -n1
+
diff --git a/mat2.spec b/mat2.spec
index 21d696d..033d8c2 100644
--- a/mat2.spec
+++ b/mat2.spec
@@ -1,6 +1,6 @@
Summary: Metadata Anonymisation Toolkit
Name: mat2
-Version: 0.12.3
+Version: 0.13.1
Release: 1
License: LGPLv3+
Group: File tools
@@ -9,8 +9,12 @@ Source0: https://0xacab.org/jvoisin/%{name}/-/archive/%{version}/%{name}-%{versi
#Source1: https://0xacab.org/jvoisin/%{name}/uploads/289306e110d1425db0d3ce017065f73b/%{name}-%{version}.tar.gz.asc
BuildArch: noarch
-BuildRequires: pkgconfig(python3)
+BuildRequires: bubblewrap
+BuildRequires: ffmpeg-devel
+BuildRequires: imagemagick
+BuildRequires: librsvg
BuildRequires: perl(Image::ExifTool)
+BuildRequires: pkgconfig(python3)
BuildRequires: python3dist(mutagen)
BuildRequires: python3dist(pycairo)
BuildRequires: python3dist(setuptools)
@@ -18,10 +22,6 @@ BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(librsvg-2.0)
BuildRequires: pkgconfig(poppler-glib)
BuildRequires: %{_lib}rsvg-gir2.0
-BuildRequires: ffmpeg-devel
-BuildRequires: bubblewrap
-BuildRequires: imagemagick
-BuildRequires: librsvg
Requires: bubblewrap
Requires: perl-Image-ExifTool
@@ -57,7 +57,6 @@ Nautilus, the default file manager of GNOME.
%{_iconsdir}/hicolor/*/apps/%{name}.{png,svg}
%{_datadir}/pixmaps/%{name}.xpm
%{_datadir}/kservices5/ServiceMenus/%{name}.desktop
-%{_datadir}/nautilus-python/extensions/%{name}.py
%{_mandir}/man1/%{name}.1.*
#----------------------------------------------------------------------------
@@ -91,9 +90,6 @@ install -pm 0644 data/%{name}.svg %{buildroot}%{_iconsdir}/hicolor/scalable/apps
# dolphin
install -dm 0755 %{buildroot}%{_datadir}/kservices5/ServiceMenus/
install -pm 0755 dolphin/mat2.desktop %{buildroot}%{_datadir}/kservices5/ServiceMenus/
-# nautilus
-install -dm 0755 %{buildroot}%{_datadir}/nautilus-python/extensions/
-install -pm 0755 nautilus/mat2.py %{buildroot}%{_datadir}/nautilus-python/extensions/
# manual
install -dm 0755 %{buildroot}%{_mandir}/man1/
@@ -101,5 +97,4 @@ install -pm 0644 doc/%{name}.1 %{buildroot}%{_mandir}/man1/
%check
# run tests
-PYTHONPATH=%{buildroot}%{py_sitedir} %python -m unittest discover -v || :
-
+PYTHONPATH=%{buildroot}%{py_sitedir} python -m unittest discover -v || :