SHA256
1
0
forked from pool/xpenguins
xpenguins/xpenguins.spec

113 lines
3.3 KiB
RPMSpec

#
# spec file for package xpenguins (Version 2.2)
#
# 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: xpenguins
BuildRequires: update-desktop-files xorg-x11-devel
Version: 2.2
Release: 820
License: GPL v2 or later
Group: Amusements/Toys/Background
Summary: cute little penguins that walk along the tops of your windows
Url: http://xpenguins.seul.org/
Source: xpenguins-%{version}.tar.bz2
Source1: README.SuSE
Source2: %name.desktop
Source3: %name-stop.desktop
Source4: %name.png
Source5: %name-stop.png
Patch: xpenguins-%{version}-typo.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This program animates a friendly family of penguins on your root
window. They drop in from the top of the screen, walk along the tops of
your windows, up the sides of your windows, up the side of the screen,
and sometimes even levitate with their genetically-modified
go-go-gadget 'copter ability.
Authors:
--------
Robin Hogan <R.J.Hogan@reading.ac.uk>
%prep
%setup
%patch
cp %{S:1} %{S:4} %{S:5} .
%build
%{suse_update_config -f}
aclocal
automake -a
autoconf
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps
cp %name.png %name-stop.png $RPM_BUILD_ROOT/usr/share/pixmaps
%suse_update_desktop_file -i %name Amusement
%suse_update_desktop_file -i %name-stop Amusement
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README* AUTHORS COPYING ChangeLog
%attr(755,root,root) %{_bindir}/xpenguins
%doc %{_mandir}/man1/xpenguins.1*
/usr/share/xpenguins
/usr/share/pixmaps/*.png
/usr/share/applications/*.desktop
%changelog
* Thu Jan 25 2007 meissner@suse.de
- use RPM_OPT_FLAGS
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Mar 30 2004 sbrabec@suse.cz
- Fixed desktop files and added icons (#37252).
* Tue Mar 23 2004 sbrabec@suse.cz
- Added desktop files (#33276).
- Note about kroot in README.SuSE (#33276).
* Thu Feb 19 2004 sbrabec@suse.cz
- Build with -fno-strict-aliasing.
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Tue Mar 12 2002 postadal@suse.cz
- fixed typo
* Mon Nov 26 2001 cihlar@suse.cz
- update to version 2.2:
* The squish option: kill toons with your mouse
* The themes Bill (images from XBill) and Big Penguins
* The ability to run several themes simultaneously
* Redraws erased desktop icons
- added README.SuSE
* Fri Sep 07 2001 ro@suse.de
- added "-a" to automake
* Fri Jun 15 2001 cihlar@suse.cz
- update to version 2.1
* Fri Jan 26 2001 cihlar@suse.cz
- package created