easysok/easysok.spec

Name: easysok
Summary: sokoban game
Version: 0.3.5
Release: 2
License: GPL
Group: Amusements/Games
URL: http://easysok.sourceforge.net/
Description: Easysok is a sokoban game for KDE3. In sokoban you are a warehouse keeper which has to push gems on their goals. The problem is, that the keeper can only push one gem and there are walls which stand in his way. Sokoban was originally invented in 1982 by Hiroyuki Imabayashi at the Japanese company Thinking Rabbit, Inc.

CentOS 7 x86_64

The build could not start because the following file is missing: easysok-0.3.5-kde3.tar.bz2

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: easysok-0.3.5-kde3.tar.bz2

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries


Summary: sokoban game
Name: easysok
Version: 0.3.5
Release: 2%{?dist}
License: GPL
Group: Amusements/Games
URL: http://easysok.sourceforge.net/

Source: http://dl.sf.net/easysok/%{name}-%{version}-kde3.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Patch0: assert-include.patch
BuildRequires: gettext, libjpeg-devel
BuildRequires: libpng-devel, zlib-devel
BuildRequires: kdelibs-devel, gcc-c++
BuildRequires: fam-devel
%{?el4:BuildRequires: libselinux-devel}
%{?fc3:BuildRequires: libselinux-devel}
%{?fc2:BuildRequires: libselinux-devel}
Requires: kdelibs

# Screenshot: http://easysok.sourceforge.net/snapshot1.png
# ScreenshotURL: http://easysok.sourceforge.net/screenshots.html

%description
Easysok is a sokoban game for KDE3. In sokoban you are a warehouse keeper
which has to push gems on their goals. The problem is, that the keeper can
only push one gem and there are walls which stand in his way. Sokoban was
originally invented in 1982 by Hiroyuki Imabayashi at the Japanese company
Thinking Rabbit, Inc.

%description -l nl
Easysok is een sokoban spel voor KDE3. In sokoban bent u een winkelier die
stenen moet duwen naar bepaalde plaatsen. U kan slechts 1 steen
tegelijkertijd bewegen en er zijn muren die in de weg staan. Sokoban is
uitgevonden door in 1982 door Hiroyuki Imabayashi in het Japans bedrijf
Thinking Rabbit, Inc.

%prep
%{__rm} -rf %{buildroot}
%setup
%patch0 -p 1

%build
. /etc/profile.d/qt.sh
%configure LDFLAGS="$LDFLAGS -L/usr/X11R6/%{_lib}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
. /etc/profile.d/qt.sh
%{__make} install DESTDIR=%{buildroot}
%find_lang %{name}

%clean
%{__rm} -rf %{buildroot}

%files -f %{name}.lang
%defattr(-, root, root, 0755)
%doc AUTHORS README THANKS TODO VERSION
%{_bindir}/easysok
%{_libdir}/easysok.*
%{_datadir}/applnk/Games/TacticStrategy/easysok.desktop
%{_datadir}/apps/easysok
%{_datadir}/doc/HTML/en/easysok
%{_datadir}/icons/*/*/apps/easysok.png
%{_datadir}/wallpapers/GreenBallThemeBackground.jpg
%{_datadir}/wallpapers/KSokobanThemeBackground.jpg
%{_datadir}/wallpapers/SpaceThemeBackground.png
%{_datadir}/wallpapers/WarehouseKeeperThemeBackground.jpg


%changelog
* Thu Mar 30 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.5-2
- Simplify buildequirements: kdelibs-devel already requires xorg-x11-devel/XFree86-devel

* Sat Jun 25 2005 Dries Verachtert <dries@ulyssis.org> - 0.3.5-1
- Update to release 0.3.5.

* Sun Jan 11 2004 Dries Verachtert <dries@ulyssis.org> 0.3.3-1
- cleanup of spec file
- update to 0.3.3

* Sun Dec 13 2003 Dries Verachtert <dries@ulyssis.org> 0.3.2-2
- completion of the spec file

* Sun Dec 7 2003 Dries Verachtert <dries@ulyssis.org> 0.3.2-1
- first packaging for Fedora Core 1