1 Summary: A general purpose messaging and notification program
6 Group: X11/Applications
7 Source0: %{name}-%{version}.tar.gz
8 # Source0-md5: 5978620c2124c8a8ad52d7f17ce94fd7
9 Patch0: %{name}-config.patch
10 Patch1: %{name}-verbose.patch
11 URL: https://sites.google.com/site/gotmor/dzen/
12 BuildRequires: xorg-lib-libX11-devel
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Dzen is a general purpose messaging, notification and menuing program
17 for X11. It was designed to be scriptable in any language and
18 integrate well with window managers like dwm, wmii and xmonad, though
19 it will work with any windowmanger.
29 OPTFLAGS="%{rpmcflags}" \
30 PLD_LDFLAGS="%{rpmldflags}" \
34 %{__make} -C gadgets \
36 OPTFLAGS="%{rpmcflags}" \
37 PLD_LDFLAGS="%{rpmldflags}" \
41 rm -rf $RPM_BUILD_ROOT
44 DESTDIR=$RPM_BUILD_ROOT \
47 %{__make} -C gadgets install \
48 DESTDIR=$RPM_BUILD_ROOT \
51 # append dzen2- prefix to binaries
52 for gadget in dbar gcpubar gdbar textwidth
54 mv $RPM_BUILD_ROOT%{_bindir}/{,dzen2-}"${gadget}"
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
62 %doc CREDITS README README.dzen gadgets/README.*
63 %attr(755,root,root) %{_bindir}/dzen2
64 %attr(755,root,root) %{_bindir}/dzen2-dbar
65 %attr(755,root,root) %{_bindir}/dzen2-gcpubar
66 %attr(755,root,root) %{_bindir}/dzen2-gdbar
67 %attr(755,root,root) %{_bindir}/dzen2-textwidth