db487dd
%global uuid org.gabmus.%{name}
96266a5
96266a5
Name:           hydrapaper
0dbbd64
Version:        3.3.2
82c8866
Release:        %autorelease
c1edc97
Epoch:          1
96266a5
Summary:        Set two different backgrounds for each monitor on GNOME
96266a5
6ea61fc
License:        GPL-3.0-or-later
96266a5
URL:            https://gitlab.com/gabmus/HydraPaper
088455c
Source0:        %{url}/-/archive/%{version}/HydraPaper-%{version}.tar.gz
96266a5
BuildArch:      noarch
96266a5
ee7dffc
# blueprint-compiler does not work on s390x:
ee7dffc
# https://gitlab.gnome.org/jwestman/blueprint-compiler/-/issues/96
ee7dffc
ExcludeArch:    s390x
ee7dffc
96266a5
BuildRequires:  desktop-file-utils
96266a5
BuildRequires:  intltool
96266a5
BuildRequires:  libappstream-glib
2cec301
BuildRequires:  meson >= 0.58.0
db487dd
BuildRequires:  pandoc
e5536a1
BuildRequires:  python3-devel
db487dd
BuildRequires:  systemd-rpm-macros
c55f46f
0305d62
BuildRequires:  pkgconfig(blueprint-compiler)
67cee11
BuildRequires:  pkgconfig(dbus-1)
96266a5
BuildRequires:  pkgconfig(gobject-introspection-1.0)
8f8abf2
BuildRequires:  pkgconfig(gtk4) >= 4.3.1
0305d62
BuildRequires:  pkgconfig(libadwaita-1) >= 1.0.0
9e9a199
96266a5
Requires:       dbus-common
a18f34c
Requires:       glib2
0305d62
Requires:       gtk4 >= 4.3.1
96266a5
Requires:       hicolor-icon-theme
0305d62
Requires:       libadwaita >= 1.0.0
5d03792
Requires:       python3-dbus
a18f34c
Requires:       python3-pillow
96266a5
96266a5
%description
9e9a199
GTK utility to set two different backgrounds for each monitor on GNOME (which
9e9a199
lacks this feature).
96266a5
0305d62
Wallpaper manager with multimonitor support.
0305d62
0305d62
HydraPaper officially supports the following desktop environments:
0305d62
0305d62
  - GNOME 3
0305d62
  - MATE
0305d62
  - Cinnamon
0305d62
  - Budgie
0305d62
0305d62
Experimental support for the sway window manager/Wayland compositor is also
0305d62
present.
0305d62
a18f34c
96266a5
%prep
088455c
%autosetup -n HydraPaper-%{version} -p1
96266a5
a18f34c
96266a5
%build
0dbbd64
%meson
96266a5
%meson_build
96266a5
a18f34c
96266a5
%install
96266a5
%meson_install
4fa6acc
%find_lang %{name}
96266a5
a18f34c
96266a5
%check
d5f922a
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml
088455c
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
a18f34c
96266a5
4fa6acc
%files -f %{name}.lang
0dbbd64
%license LICENSE
96266a5
%doc README.md
96266a5
%{_bindir}/%{name}
9e9a199
%{_datadir}/%{name}/
088455c
%{_datadir}/applications/*.desktop
088455c
%{_datadir}/dbus-1/services/*.service
088455c
%{_datadir}/glib-2.0/schemas/*.gschema.xml
088455c
%{_datadir}/icons/hicolor/*/*/*.svg
db487dd
%{_mandir}/man1/*.1*
e5536a1
%{_metainfodir}/*.xml
088455c
%{python3_sitelib}/%{name}/
96266a5
a18f34c
96266a5
%changelog
82c8866
%autochangelog