File dzen2.spec of Package dzen2

#
# spec file for package dzen2 (Version 0.8.5)
#
# Copyright 2008 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.

Summary: General purpose messaging, notification and menuing program
Name: dzen2
Version: 0.8.5
Release: 2
Source0: %{name}-latest.tar.bz2
#Source1: http://gotmor.googlepages.com/%{name}-latest.tar.gz
Patch0: %{name}-latest-defs.patch
Patch1: %{name}-latest-defs64.patch
Vendor: %{vendor}
URL: http://gotmor.googlepages.com/dzen
License: X11/MIT
Group: System/GUI/Other
Requires: xorg-x11 >= 7.4
Requires: terminus-font >= 4.20-1.124
Requires: xorg-x11-libX11 >= 7.4
Requires: xorg-x11-libXpm >= 7.4
BuildRequires: xorg-x11-devel >= 7.4
BuildRequires: xorg-x11-fonts-devel >= 7.4
BuildRequires: xorg-x11-libX11-devel >= 7.4
BuildRequires: xorg-x11-libXpm-devel >= 7.4

BuildRoot: %{_builddir}/%{name}-%{version}-build

%description
Dzen 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 decent windowmanger.

%prep
%setup -q
if [ "`arch`" = "x86_64" ]
then
%patch1 -p1
else
%patch0 -p1
fi

%build

%install
%{__make} DESTDIR=$RPM_BUILD_ROOT clean install 

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%attr(0755,root,root)%{_bindir}/%{name}


%changelog
* Thu Jun 18 2009 Mario GarcĂ­a H. <code933k@gmail.com> - 0.8.5
- Initial package.
openSUSE Build Service is sponsored by