146 lines
5.2 KiB
RPMSpec
146 lines
5.2 KiB
RPMSpec
Name: xpenguins
|
|
Version: 2.2
|
|
Release: 11%{?dist}
|
|
Summary: Cute little penguins that walk along the tops of your windows
|
|
Summary(sv): Söta små pingviner som vandrar längs överkanterna på dina fönster
|
|
|
|
Group: Amusements/Graphics
|
|
License: GPLv2+
|
|
URL: http://xpenguins.seul.org/
|
|
|
|
Source: http://xpenguins.seul.org/%name-%version.tar.gz
|
|
# Mailed upstreams developer with this patch, but it is unclear if
|
|
# there ever will be a new release. This is a rather inactive
|
|
# project.
|
|
Patch0: xpenguins-2.2-format-security.patch
|
|
# If run on a display without the SHAPE extension, xpenguins will
|
|
# crash. This patch causes it to exit more gracefully. Sent
|
|
# upstreams, in case there ever will be a new release.
|
|
Patch1: xpenguins-2.2-no-SHAPE.patch
|
|
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: ImageMagick
|
|
BuildRequires: libXpm-devel
|
|
BuildRequires: libXext-devel
|
|
BuildRequires: libXt-devel
|
|
|
|
%global desktopdir %_datadir/applications
|
|
%global icontop %_datadir/icons/hicolor
|
|
%global icondir %icontop/48x48/apps
|
|
|
|
%description
|
|
XPenguins animates a friendly family of penguins in your root window.
|
|
They drop in from the top of the screen, walk along the tops of your
|
|
windows, up the side of your windows, levitate, skateboard, and do
|
|
other similarly exciting things. XPenguins is now themeable so if
|
|
you are bored of penguins, try something else. The themes that come
|
|
with this package are "Penguins", "Classic Penguins", "Big Penguins",
|
|
"Turtles" and "Bill".
|
|
|
|
%description -l sv
|
|
XPengiuns animerar en vänlig familj av pingviner i ditt rotfönster.
|
|
De trillar ner från toppen av skärmen, går längs överkanten av dina
|
|
fönster, upp längs sidorna på dina fönster, svävar, åker skateboard,
|
|
och gör andra liknande spännande saker. XPenguins kan nu använda
|
|
teman, så om du har tröttnat på pingviner, pröva något annat. De
|
|
teman som följer med detta paket är "Penguins" (pingviner), "Classic
|
|
Penguins" (klassiska pingviner), "Big Penguins" (stora pingviner),
|
|
"Turtles" (sköldpaddor) och "Bill" (Bill).
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -b .format
|
|
%patch1 -b .shape
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
cat << EOF > %name.desktop
|
|
[Desktop Entry]
|
|
Name=XPenguins
|
|
GenericName=Animated penguins
|
|
GenericName[sv]=Animerade pingviner
|
|
Comment=Cute little penguins that walk along the tops of your windows
|
|
Comment[sv]=Söta små pingviner som vandrar längs överkanterna på dina fönster
|
|
Exec=%name
|
|
Icon=%name
|
|
Terminal=false
|
|
Type=Application
|
|
Categories=Game;Amusement;
|
|
EOF
|
|
iconv -f ISO-8859-1 -t UTF-8 -o README.utf8 README
|
|
|
|
%install
|
|
make install DESTDIR=%buildroot
|
|
desktop-file-install --dir=%buildroot%desktopdir %name.desktop
|
|
mkdir -p %buildroot%icondir
|
|
convert themes/Big_Penguins/walker.xpm -crop 45x45+0+45 -gravity center -compose src -extent 48x48 %buildroot%icondir/%name.png
|
|
|
|
%post
|
|
touch --no-create %icontop &>/dev/null || :
|
|
|
|
%postun
|
|
if [ $1 -eq 0 ] ; then
|
|
touch --no-create %icontop &>/dev/null
|
|
gtk-update-icon-cache %icontop &>/dev/null || :
|
|
fi
|
|
|
|
%posttrans
|
|
gtk-update-icon-cache %icontop &>/dev/null || :
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc README.utf8 AUTHORS COPYING ChangeLog lay-out-frames.scm resize-frames.scm
|
|
%_bindir/%name
|
|
%_mandir/man1/*
|
|
%_datadir/%name
|
|
%desktopdir/%name.desktop
|
|
%icondir/%name.png
|
|
|
|
%changelog
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-11
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Sun Mar 16 2014 Göran Uddeborg <goeran@uddeborg.se> - 2.2-9
|
|
- Give proper error message on displays without the SHAPE extension. Bz #1071429.
|
|
|
|
* Tue Dec 03 2013 Göran Uddeborg <goeran@uddeborg.se> - 2.2-8
|
|
- Fix printf format security issue. Bz #1037404.
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Fri Jul 23 2010 Göran Uddeborg <goeran@uddeborg.se> - 2.2-2
|
|
- Create a UTF-8 version of the README file to include instead.
|
|
Suggested by reviewer Manuel Wolfshant <wolfy@nobugconsulting.ro>.
|
|
|
|
* Thu Jul 22 2010 Göran Uddeborg <goeran@uddeborg.se> - 2.2-1
|
|
- Packaging updated using Fedora standards.
|
|
|
|
* Mon Oct 1 2001 Robin Hogan <R.J.Hogan@reading.ac.uk> - 2.1.5-1
|
|
- Removed Lemmings (now in xpenguins_themes), added Bill, Big Penguins
|
|
- Added resize-frames.scm to docs
|
|
|
|
* Wed Aug 22 2001 Robin Hogan <R.J.Hogan@reading.ac.uk> - 2.1.3-1
|
|
- Added Lemmings theme
|
|
|
|
* Sat May 5 2001 Robin Hogan <R.J.Hogan@reading.ac.uk> - 1.9.1-1
|
|
- First spec file used with autoconf
|
|
|
|
* Tue May 23 2000 Robin Hogan <R.J.Hogan@reading.ac.uk> - 1.2-1
|
|
- Use BuildRoot.
|