%bcond_without tests Name: dunst Version: 1.8.0 Release: 1%{?dist} Summary: Lightweight and customizable notification-daemon License: BSD and MIT URL: https://dunst-project.org Source0: https://github.com/dunst-project/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Requires: dbus # Required for dunstctl Requires: /usr/bin/dbus-send # xdg-open is the default 'browser' for opening URLs Recommends: /usr/bin/xdg-open # keep this sorted please BuildRequires: /usr/bin/pod2man BuildRequires: gcc BuildRequires: make BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(glib-2.0) >= 2.44 BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(pangocairo) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-cursor) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xinerama) BuildRequires: pkgconfig(xrandr) >= 1.5 BuildRequires: pkgconfig(xscrnsaver) %if %{with tests} # tests require DBus BuildRequires: dbus-daemon # SVG pixbuf loader BuildRequires: librsvg2 %endif Provides: desktop-notification-daemon %description Dunst is a lightweight replacement for the notification daemons provided by most desktop environments. It’s very customizable, isn’t dependent on any toolkits, and therefore fits into those window manager centric setups we all love to customize to perfection. %prep %autosetup -p1 %build %global make_options %{shrink: PREFIX=%{_prefix} SYSCONFDIR=%{_sysconfdir} SYSTEMD=1 VERSION=%{version} } %set_build_flags %make_build %{make_options} %install %make_install %{make_options} %if %{with tests} %check %make_build test %{make_options} %endif %post %systemd_user_post %{name}.service %preun %systemd_user_preun %{name}.service %files %doc AUTHORS CHANGELOG.md README.md RELEASE_NOTES %license LICENSE %dir %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/dunstrc %{_bindir}/%{name} %{_bindir}/dunstctl %{_bindir}/dunstify %{_datadir}/dbus-1/services/org.knopwob.%{name}.service %{_userunitdir}/%{name}.service %{_mandir}/man1/%{name}*.1* %{_mandir}/man5/%{name}.5* %changelog * Sat Feb 26 2022 Marcin Skarbek - 1.8.0-1 - Update to 1.8.0 * Thu Jan 20 2022 Fedora Release Engineering - 1.7.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Jan 03 2022 Aleksei Bavshin - 1.7.3-2 - Add /usr/bin/dbus-send dependency (#2035681) * Wed Dec 08 2021 Aleksei Bavshin - 1.7.3-1 - Update to 1.7.3 * Tue Nov 30 2021 Aleksei Bavshin - 1.7.2-1 - Update to 1.7.2 * Mon Nov 01 2021 Aleksei Bavshin - 1.7.1-1 - Update to 1.7.1 * Tue Oct 19 2021 Aleksei Bavshin - 1.7.0-1 - Update to 1.7.0 - Enable tests - Add systemd scriptlets - Require systemd-rpm-macros instead of the full systemd-devel package * Wed Jul 21 2021 Fedora Release Engineering - 1.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Feb 27 2021 Aleksei Bavshin - 1.6.1-1 - Add a patch for XWayland fallback on unsupported wayland compositors * Sun Feb 21 2021 Aleksei Bavshin - 1.6.1-1 - Update to 1.6.1 - Change BR: to use pkgconfig() and sync with upstream dependencies - Update spec to follow current guidelines and use recommended macros * Tue Jan 26 2021 Fedora Release Engineering - 1.4.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.4.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Feb 15 2020 Xaver Hellauer - 1.4.1-3 - Build including dunstify * Tue Jan 28 2020 Fedora Release Engineering - 1.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Aug 29 2019 Lukas Zapletal - 1.4.1-1 - new version * Wed Jul 24 2019 Fedora Release Engineering - 1.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Jun 25 2019 Lukas Zapletal - 1.4.0-1 - Upstream release 1.4.0 * Thu Jan 31 2019 Fedora Release Engineering - 1.3.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jul 23 2018 Lukas Zapletal 1.3.2-2 - Upstream tarball is now bz2 compressed * Mon Jul 23 2018 Lukas Zapletal 1.3.2-1 - New version 1.3.2 - Added gcc build dependency * Thu Jul 12 2018 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Sep 23 2017 Lukas Zapletal - 1.2.0-1 - New version 1.2.0 * Wed Aug 02 2017 Fedora Release Engineering - 1.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 1.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jan 07 2015 Lukas Zapletal 1.1.0-2 - Removed unnecessary numlock patch from 1.0.0 * Wed Jan 07 2015 Lukas Zapletal 1.1.0-1 - Bumped to version 1.1.0 * Sat Aug 16 2014 Fedora Release Engineering - 1.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Jun 03 2014 Lukas Zapletal 1.0.0-3 - Backported numlock fix (RHBZ 1103216) * Sat Aug 03 2013 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat May 11 2013 Lukas Zapletal - 1.0.0-1 - bump to stable version 1.0.0 * Mon Jan 28 2013 Lukas Zapletal - 0.5.0-1 - version bump - inih library is no longer required * Mon Sep 03 2012 Lukas Zapletal - 0.3.1-3 - package review * Wed Aug 29 2012 Lukas Zapletal - 0.3.1-2 - package review * Mon Aug 27 2012 Lukas Zapletal - 0.3.1-1 - initial version