You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.4 KiB

Name: dunst
Version: 1.5.0
Release: 1%{?dist}
Summary: Simple and configurable notification-daemon
Group: User Interface/X
License: BSD and MIT
URL: https://dunst-project.org
Source0: https://github.com/dunst-project/dunst/archive/v%{version}.tar.gz
Requires: dbus
# keep this sorted please
BuildRequires: cairo-devel
BuildRequires: dbus-devel
BuildRequires: gdk-pixbuf2-devel
BuildRequires: glib2-devel
BuildRequires: gtk2-devel
BuildRequires: libnotify-devel
BuildRequires: libpng-devel
BuildRequires: libxdg-basedir-devel
BuildRequires: libXft-devel
BuildRequires: libXinerama-devel
BuildRequires: libXScrnSaver-devel
BuildRequires: libX11-devel
BuildRequires: pango-devel
BuildRequires: systemd
BuildRequires: /usr/bin/pod2man
Provides: desktop-notification-daemon
%description
Dunst is a highly configurable and lightweight notification daemon with the
similar look and feel to dmenu.
%prep
%setup -q
%build
make %{?_smp_mflags} VERSION=%{version} PREFIX=%{_prefix} SYSTEMD=1 EXTRACFLAGS="%{optflags}"
%install
make install DESTDIR=%{buildroot} PREFIX=%{_prefix}
%files
%doc AUTHORS CHANGELOG.md LICENSE README.md RELEASE_NOTES
%{_bindir}/%{name}
%{_bindir}/dunstctl
%{_bindir}/dunstify
%{_datadir}/dbus-1/services/org.knopwob.%{name}.service
%{_userunitdir}/%{name}.service
%{_datadir}/%{name}
%{_datadir}/man/man1/%{name}.1.gz
%{_datadir}/man/man1/dunstctl.1.gz
%changelog