File tint2.spec of Package tint2

#
# spec file for package remind (Version 03.01.07)
#
# 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.

%define mayor 0.7
%define minor 2

Summary: Simple panel/taskbar for modern x window managers
Name: tint2
Version: %{mayor}.%{minor}
Release: 1
Source0: %{name}-%{mayor}_beta%{minor}.tar.bz2
Vendor: %{vendor}
URL: http://code.google.com/p/tint2/
License: GPLv2
Group: Productivity/Other
BuildRequires:	cairo-devel pango-devel glib2-devel imlib2-devel
BuildRequires:	xorg-x11-libX11-devel >= 7.4
BuildRoot: %{_builddir}/%{name}-%{version}-build


%description
tint2 is a simple and good looking panel/taskbar
intentionally made for openbox3, but should also
work with another window managers. It's based on
ttm code:  http://code.google.com/p/ttm/

The goal is to keep tint2 unintrusive and light,
by consuming lower memory and cpu yet keeping it
very aestetic. 

Following freedesktop specifications, it is
intended to get virtual desktop and multi-monitor
easier to use.


%prep
%setup -q -n %{name}-%{mayor}_beta%{minor}


%build
if [ -x ./configure ]; then
  CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \
	--libdir=%{_prefix}/%_lib \
	--sysconfdir=%{_sysconfdir} \
	--docdir=%{_docdir}/%{name} \
	--disable-dependancy-tracking \
	--disable-static

else
  CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{_prefix}
fi
%{__make}
%debug_package


%install
%{__make} DESTDIR=$RPM_BUILD_ROOT install 


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%attr(0755,root,root)%{_bindir}/%{name}
%{_sysconfdir}/xdg/%{name}
%config(noreplace)%verify(not md5 mtime size)%attr(0644,root,root)%{_sysconfdir}/xdg/%{name}/%{name}rc
%dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/*
%{_mandir}/man1/%{name}.1.gz
%exclude %{_docdir}/%{name}/NEWS


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