File hsetroot.spec of Package hsetroot

#
# 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.

Summary: A tool to compose wallpapers, root pixmaps, for X
Name: hsetroot
Version: 1.0.2
Release: 1
Source0: %{name}-%{version}.tar.bz2
#Source1: http://thegraveyard.org/files/hsetroot-1.0.2.tar.gz
#Patch0: %{name}-%{version}-doc.patch
Vendor: %{vendor}
URL: http://thegraveyard.org/hsetroot.php
License: GPLv2
Group: Productivity/Other
Requires: imlib2-loaders >= 1.4
Requires: imlib2-filters >= 1.4
#BuildRequires:	imlib2-devel >= 1.4
BuildRequires: xorg-x11-libX11-devel
BuildRequires: imlib2-devel >= 1.4
BuildRequires: libjpeg-devel >= 1.4
BuildRoot: %{_builddir}/%{name}-%{version}-build

%description
hsetroot is a tool which allows you to compose
wallpapers ("root pixmaps") for X. It has a lot
of options like rendering gradients, solids,
images but it also allows you to perform
manipulations on those things, or chain them
together.

You could use one standard background image for
instance, and using tint to make it fit your
current theme.  It is compatible with semi
translucent applications like aterm and xchat.


%prep
%setup -q

%build
if [ -x ./configure ]; then
  CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \
	--libdir=%{_prefix}/%_lib \
	--sysconfdir=%{_sysconfdir} \
	--mandir=%{_mandir} \
	--disable-dependancy-tracking \
	--disable-static
else
  CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{_prefix}
fi
%{__make} %{?jobs:-j%jobs}

%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}


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