From 810645d518ceb757d6e9a3a5ceda0c33bec1c4d4 Mon Sep 17 00:00:00 2001 From: Göran Uddeborg Date: Jul 24 2010 14:07:18 +0000 Subject: - Create a UTF-8 version of the README file to include instead. Suggested by reviewer Manuel Wolfshant . Thu Jul 22 2010 Göran Uddeborg - 2.2-1 - Packaging updated using Fedora standards. --- diff --git a/.cvsignore b/.cvsignore index e69de29..0a934ee 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +xpenguins-2.2.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..e863404 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +xpenguins-2_2-2:HEAD:xpenguins-2.2-2.src.rpm:1279980254 diff --git a/sources b/sources index e69de29..8dfebf3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2ccf555d55f9b0377017322b3b3d27a4 xpenguins-2.2.tar.gz diff --git a/xpenguins.spec b/xpenguins.spec new file mode 100644 index 0000000..f430eb0 --- /dev/null +++ b/xpenguins.spec @@ -0,0 +1,109 @@ +Name: xpenguins +Version: 2.2 +Release: 2 +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 + +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're 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 + +%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 +* Fri Jul 23 2010 Göran Uddeborg - 2.2-2 +- Create a UTF-8 version of the README file to include instead. + Suggested by reviewer Manuel Wolfshant . + +* Thu Jul 22 2010 Göran Uddeborg - 2.2-1 +- Packaging updated using Fedora standards. + +* Mon Oct 1 2001 Robin Hogan - 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 - 2.1.3-1 +- Added Lemmings theme + +* Sat May 5 2001 Robin Hogan - 1.9.1-1 +- First spec file used with autoconf + +* Tue May 23 2000 Robin Hogan - 1.2-1 +- Use BuildRoot.