File dunst.spec of Package dunst-nightly

Name:     dunst
Version:  1.2.0
Release:  1%{?dist}
Summary:  Simple and configurable notification-daemon
Group:    User Interface/X
License:  BSD and MIT
URL:      https://dunst-project.org
Source0:  %{name}-%{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
# It actually requrires pod2man, but OBS can't resolve this
#BuildRequires: /usr/bin/pod2man
BuildRequires: perl-podlators
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} EXTRACFLAGS="%{optflags}"

%install
make install DESTDIR=%{buildroot} PREFIX=%{_prefix}

%files

%doc AUTHORS CHANGELOG.md LICENSE README.md RELEASE_NOTES
%{_bindir}/%{name}
%{_datadir}/dbus-1/services/org.knopwob.%{name}.service
%{_userunitdir}/%{name}.service
%{_datadir}/%{name}
%{_datadir}/man/man1/%{name}.1.gz