* automake-1.13.patch OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xpenguins?expand=0&rev=7
80 lines
2.3 KiB
RPMSpec
80 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package xpenguins
|
|
#
|
|
# Copyright (c) 2013 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/
|
|
#
|
|
|
|
|
|
Name: xpenguins
|
|
BuildRequires: automake
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: xorg-x11-devel
|
|
Version: 2.2
|
|
Release: 0
|
|
Summary: cute little penguins that walk along the tops of your windows
|
|
License: GPL-2.0+
|
|
Group: Amusements/Toys/Background
|
|
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
|
|
Patch1: xpenguins-%{version}-automake-1.13.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.
|
|
|
|
%prep
|
|
%setup
|
|
%patch
|
|
%patch1 -p1
|
|
cp %{S:1} %{S:4} %{S:5} .
|
|
|
|
%build
|
|
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
|