Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37662112
en ru br
ALT Linux repositórios
S:2.2-alt1_8

Group :: Jogos/Outros
RPM: xteddy

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

# BEGIN SourceDeps(oneline):
BuildRequires: imake libX11-devel libXt-devel xorg-cf-files
# END SourceDeps(oneline)
BuildRequires: libXext-devel
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name:           xteddy
Version:        2.2
Release:        alt1_6
Summary:        Tool to sit around silently, look cute, and make you smile

Group:          Games/Other
License:        GPL+
URL:            http://fam-tille.de/debian/xteddy.html
Source0:        http://webstaff.itn.liu.se/~stegu/xteddy/%{name}-%{version}.tar.gz
# This is original artwork by Lubomir Rintel, distributed under same
# terms and condition as xteddy
Source1:        kacicka.png
Patch0:         0001-Link-against-Xext.patch

BuildRequires:  imlib2-devel libpng-devel
Patch33: xteddy-2.2-alt-link-X11.patch

%description
Xteddy is your virtual comfort when things get rough. It can do everything
a real teddy bear can do. That is, I can sit around silently, look cute,
and make you smile.


%prep
%setup -q
%patch0 -p1
%patch33 -p1
sed -i -e s,/usr/games/xteddy,xteddy, xtoys


%build
%configure
%make_build


%install
make install DESTDIR=%{buildroot}
install -p -m644 %{SOURCE1} %{buildroot}%{_datadir}/xteddy/

mkdir -p %buildroot%_desktopdir
cat > %buildroot%_desktopdir/%name.desktop <<'EOF'
[Desktop Entry]
Version=1.0
Type=Application
Name=Xteddy
GenericName=Virtual teddy bear
Comment=Xteddy is your virtual teddy bear. It can sit around silently, look cute, and make you smile.
Icon=amusement_section
Exec=xteddy
Categories=Game;Amusement;
EOF



%files
%{_bindir}/xteddy
%{_bindir}/xteddy_test
%{_bindir}/xtoys
%{_mandir}/man6/xteddy.6*
%{_datadir}/xteddy
%doc COPYING README AUTHORS ChangeLog NEWS
%doc xteddy.README images.credit
%_desktopdir/%name.desktop


%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009