File xteddy.spec of Package xteddy

#
# spec file for package xteddy (Version 2.2)
#
# Copyright (c) 2010 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 http://bugs.opensuse.org/
#

# norootforbuild


Name:           xteddy
BuildRequires:  giflib-devel imlib2-devel libpng-devel libtiff-devel pkgconfig xorg-x11 xorg-x11-devel
License:        GPLv2+
Group:          Amusements/Toys/Graphics
Provides:       xteddy10
AutoReqProv:    on
Summary:        A cuddly teddy bear for your X Window desktop
Version:        2.2
Release:        1
Source:         xteddy_2.2.orig.tar.bz2
Patch:          teddy-2.2-as-needed.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Normally, xteddy just sits around doing nothing. After all, that's what
teddy bears are for. Look at him, talk to him, place heavy windows on
top of him, zap him around until he becomes dizzy, do what you like; he
will always be your true (albeit virtual) friend.

You can move xteddy with the mouse by pointing at him and dragging him
around. When clicked upon, he will pop up on top of all other windows.
If you type "q" on him, he will die (or, as I like to think of it, be
tucked away in the file system until you need him next time).

That's it. But he's cute.



Authors:
--------
    Stefan Gustavson <stefang@isy.liu.se>

%prep
%setup -q
%patch

%build
autoreconf --force --install
%configure 
%{__make} %{?jobs:-j%jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install
#cd $RPM_BUILD_ROOT/usr/X11R6/bin/ && ln xteddy xpenguin

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc	html/*.html
%doc	html/images
	%{_bindir}/*
	%{_mandir}/man6/*
	%{_datadir}/%{name}
#

%changelog
openSUSE Build Service is sponsored by