xteddy/xteddy.spec

100 lines
2.9 KiB
RPMSpec

#
# spec file for package xteddy (Version 2.0.1)
#
# Copyright (c) 2009 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 imlib-devel libpng-devel libtiff-devel xorg-x11 xorg-x11-devel
License: GPL v2 or later
Group: Amusements/Toys/Graphics
Provides: xteddy10
AutoReqProv: on
Summary: A cuddly teddy bear for your X Window desktop
Version: 2.0.1
Release: 221
Source: xteddy-2.0.1.tar.gz
Patch: xteddy-configure.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
%patch
%build
autoreconf --force --install
CFLAGS="$RPM_OPT_FLAGS `imlib-config --cflags`" \
./configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir}
make
%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}/man1/*
%{_datadir}/%{name}
%changelog
* Tue Dec 05 2006 ma@suse.de
- don't install below /usr/X11R6.
* Fri Jun 16 2006 schwab@suse.de
- Set mandir.
- Use RPM_OPT_FLAGS.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Oct 28 2004 ma@suse.de
- new version 2.0.1
* Mon May 10 2004 hmacht@suse.de
- added # norootforbuild in specfile
* Mon May 26 2003 coolo@suse.de
- use BuildRoot
* Wed Sep 18 2002 ro@suse.de
- removed bogus self-provides
* Tue Oct 31 2000 ma@suse.de
- removed group unsorted
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Mon Oct 20 1997 ma@suse.de
- new version 1.0.3