db487dd
%global uuid org.gabmus.%{name}
96266a5
96266a5
Name:           hydrapaper
2cec301
Version:        3.2.0
6f7282a
Release:        2%{?dist}
c1edc97
Epoch:          1
96266a5
Summary:        Set two different backgrounds for each monitor on GNOME
96266a5
96266a5
License:        GPLv3+
96266a5
URL:            https://gitlab.com/gabmus/HydraPaper
088455c
Source0:        %{url}/-/archive/%{version}/HydraPaper-%{version}.tar.gz
96266a5
BuildArch:      noarch
96266a5
96266a5
BuildRequires:  desktop-file-utils
96266a5
BuildRequires:  intltool
96266a5
BuildRequires:  libappstream-glib
8a28b34
BuildRequires:  libhandy-devel >= 0.90.0
2cec301
BuildRequires:  meson >= 0.58.0
db487dd
BuildRequires:  pandoc
e5536a1
BuildRequires:  python3-devel
db487dd
BuildRequires:  systemd-rpm-macros
c55f46f
96266a5
BuildRequires:  pkgconfig(gobject-introspection-1.0)
8f8abf2
BuildRequires:  pkgconfig(gtk4) >= 4.3.1
2cec301
BuildRequires:  pkgconfig(libadwaita-1) >= 1.0.0-0.5.alpha.3
9e9a199
96266a5
Requires:       dbus-common
a18f34c
Requires:       glib2
96266a5
Requires:       hicolor-icon-theme
2cec301
Requires:       libadwaita >= 1.0.0-0.5.alpha.3
8a28b34
Requires:       libhandy >= 0.90.0
5d03792
Requires:       python3-dbus
a18f34c
Requires:       python3-pillow
96266a5
6f7282a
Patch0:         hydrapaper-fix-dbus-path.patch
6f7282a
96266a5
%description
9e9a199
GTK utility to set two different backgrounds for each monitor on GNOME (which
9e9a199
lacks this feature).
96266a5
a18f34c
96266a5
%prep
088455c
%autosetup -n HydraPaper-%{version} -p1
96266a5
a18f34c
96266a5
%build
dddb3e6
%meson \
dddb3e6
%if 0%{?flatpak}
dddb3e6
  -Denabledaemon=false
dddb3e6
%endif
dddb3e6
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
dddb3e6
%if !0%{?flatpak}
db487dd
%post
8f8abf2
%systemd_user_post %{uuid}d.service
db487dd
db487dd
%preun
8f8abf2
%systemd_user_preun %{uuid}d.service
db487dd
db487dd
%postun
8f8abf2
%systemd_user_postun_with_restart %{uuid}d.service
dddb3e6
%endif
db487dd
db487dd
4fa6acc
%files -f %{name}.lang
96266a5
%license COPYING 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
dddb3e6
%if !0%{?flatpak}
db487dd
%{_libexecdir}/%{name}d
dddb3e6
%endif
db487dd
%{_mandir}/man1/*.1*
e5536a1
%{_metainfodir}/*.xml
dddb3e6
%if !0%{?flatpak}
db487dd
%{_userunitdir}/*.service
dddb3e6
%endif
088455c
%{python3_sitelib}/%{name}/
96266a5
a18f34c
96266a5
%changelog
6f7282a
* Thu Apr 07 2021 Tomas Popela <tpopela@redhat.com> - 1:3.2.0-2
6f7282a
- Fix the dbus path for Flatpak builds
6f7282a
2cec301
* Mon Nov 15 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 1:3.2.0-1
2cec301
- chore(update): 3.2.0
2cec301
5d03792
* Fri Oct 15 2021 Kalev Lember <klember@redhat.com> - 1:3.1.0-2
5d03792
- Add missing python3-dbus requires
8a28b34
- Require libhandy instead of libhandy1
5d03792
8f8abf2
* Mon Sep 20 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 1:3.1.0-1
8f8abf2
- build(update): 3.1.0
8f8abf2
6f3b479
* Sun Aug 15 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 1:3.0.0-2
6f3b479
- fix: Bump for rebuild 3.0.0
6f3b479
db487dd
* Sun Aug 15 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 1:3.0.0-1
db487dd
- build(update): 3.0.0
db487dd
3427945
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.0.3-5
3427945
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
3427945
8b8fcbc
* Thu Jun 24 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 1:2.0.3-4
c1edc97
- build(downgrade): 2.0.3 | rh#1975639
c1edc97
c55f46f
* Fri Jun 11 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 3.0.0-1
c55f46f
- build(update): 3.0.0
c55f46f
f3d0021
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.0.3-3
f3d0021
- Rebuilt for Python 3.10
f3d0021
48bcbd6
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-2
48bcbd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
48bcbd6
6f10690
* Wed Nov 11 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 2.0.3-1
6f10690
- build(update): 2.0.3
6f10690
a8dbd77
* Thu Oct 15 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 2.0.2-1
a8dbd77
- build(update): 2.0.2
a8dbd77
80a7b93
* Wed Sep 23 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 2.0.1-1
80a7b93
- Update to 2.0.1
80a7b93
d5f922a
* Tue Sep  1 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 2.0-1
d5f922a
- Update to 2.0
d5f922a
d876c2e
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-2
d876c2e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
d876c2e
1f33105
* Mon Jul 20 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 1.12-1
1f33105
- Update to 1.12
1f33105
- Migrate to 'libhandy1'
1f33105
b1e7bc2
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.11-2
b1e7bc2
- Rebuilt for Python 3.9
b1e7bc2
bafac27
* Wed May 20 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 1.11-1
bafac27
- Update to 1.11
bafac27
3adc0ec
* Sat Apr 11 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 1.10-1
3adc0ec
- Update to 1.10
3adc0ec
f51371e
* Sat Mar 21 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 1.9.9-2
f51371e
- Remove 'libwnck3'
f51371e
9e9a199
* Sat Mar 21 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 1.9.9-1
9e9a199
- Update to 1.9.9
9e9a199
e053643
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.8-3
e053643
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
e053643
dabd703
* Sun Dec 08 2019 Kalev Lember <klember@redhat.com> - 1.9.8-2
dabd703
- Add missing libhandy requires
dabd703
088455c
* Tue Dec 03 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 1.9.8-1
088455c
- Update to 1.9.8
088455c
- Minor spec file fixes
088455c
a18f34c
* Mon Sep 16 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 1.9.4-1
a18f34c
- Update to 1.9.4
a18f34c
e5536a1
* Wed Sep 04 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 1.9.2-1
e5536a1
- Update to 1.9.2
e5536a1
e9b1288
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.9-2
e9b1288
- Rebuilt for Python 3.8
e9b1288
96266a5
* Thu Aug 01 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 1.9-1
96266a5
- Update to 1.9
96266a5
96266a5
* Wed Jul 31 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 1.7.3-1
96266a5
- Initial package