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

86 lines
2.1 KiB
RPMSpec

#
# spec file for package xpinguin (Version 1.0.2)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: xpinguin
BuildRequires: update-desktop-files xorg-x11-devel
License: GPL v2 or later
Group: Amusements/Toys/Graphics
Autoreqprov: on
Summary: The 'Logo' of Linux 2.0
Version: 1.0.2
Release: 1097
Source: xpinguin.tar.gz
Source1: xpinguin.png
Source2: xpinguin.desktop
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Based on xteddy -- really cute ;-)
Authors:
--------
Stefan Gustavson <stefang@isy.liu.se>
Jens Pönisch <J.Poenisch@wirtschaft.tu-chemnitz.de>
%prep
%setup -n xpinguin
ln -s xpinguin.1 xpinguin.man
xmkmf -a
%build
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install install.man
rm -f $RPM_BUILD_ROOT/usr/X11R6/man/man1/xpinguin.1x.gz
%suse_update_desktop_file -i xpinguin Amusement
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%_bindir/xpinguin
%_mandir/man1/xpinguin.1x.gz
/usr/share/applications/xpinguin.desktop
/usr/share/pixmaps/xpinguin.png
%changelog
* Thu Jul 05 2007 - coolo@suse.de
- put the desktop file into the package
* Wed Aug 02 2006 - aj@suse.de
- Fix paths for X11R7.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 23 2006 - dmueller@suse.de
- add workaround because update-desktop-files didn't make it
into beta2
* Mon Jan 23 2006 - dmueller@suse.de
- fix file list
* Wed Sep 28 2005 - dmueller@suse.de
- add norootforbuild
* Sat Aug 16 2003 - adrian@suse.de
- install desktop file from kappfinder
* Thu May 22 2003 - coolo@suse.de
- use BuildRoot
* Tue Sep 17 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.
* Tue Oct 21 1997 - ma@suse.de
- prepared for autobuild