File dzen2.spec of Package dzen2

# spec file for package 
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

%define _name dzen

Name:           dzen2
Version: 1332069163
Release: 0
License:        MIT
Summary:        A general purpose messaging and notification program 
Group:          System/GUI/Other
Source0:        %{_name}-%{version}.tar.bz2

### Manpages extracted from debian package and included here
### URL:
### *.deb Exctract: ar -x dzen2_0.8.5-4_armel.deb
Source1:        %{name}_man.tar.bz2
BuildRequires:  pkgconfig(x11)
BuildRequires:  pkgconfig(xft)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Dezen is a general purpose messaging, notification and menuing program for X11. It was designed to be scriptable in any language and integrate well with window managers like dwm, wmii and xmonad though it will work with any windowmanger.
%setup -q -n %{_name}-%{version}

sed -i '/^CFLAGS/ s/$/ %optflags/'
sed -i 's@strip@true@g' Makefile
make %{?_smp_mflags}

%make_install DESTDIR=%{buildroot} PREFIX=%{_prefix}
mkdir -p %{buildroot}%{_mandir}/man1
%{__tar} -jxf %{SOURCE1} -C %{buildroot}%{_mandir}/man1




openSUSE Build Service is sponsored by