Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:goupilmtos:2024:games
xpuzzles
xpuzzles.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xpuzzles.spec of Package xpuzzles
# # spec file for package xpuzzles # # Copyright (c) 2017 SUSE LINUX 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/ # %define progs barrel cubes dial dino hexagons mball mlink oct panex pyraminx rubik skewb threed triangles Name: xpuzzles Version: 8.1.4 Release: 0 Summary: Some games of skill under X11 License: BSD-3-Clause Group: Amusements/Games/Board/Puzzle Url: http://sillycycle.com/puzzles.html Source: http://sillycycle.com/puzzles/%{name}-%{version}.tar.xz BuildRequires: glu-devel BuildRequires: libXpm-devel BuildRequires: libXmu-devel %if 0%{?suse_version} >= 1330 Requires(pre): group(games) Requires(pre): user(games) %endif Requires: alsa-utils %description Use your wisdom and patience to solve these puzzles. * xbarrel * xcubes * xdial * xdino * xhexagons * xmball * xmlink * xoct * xpanex * xpyraminx * xrubik * xskewb * xthreed * xtriangles %prep %setup -q sed -e 's/^#\(XT=${S.*G}\)$/\1/' -e 's/^\(XT=${R\)/#\1/' -i xpuzzles.Makefile %build for name in %{progs}; do pushd $name ./configure --without-nas --without-esound --enable-def-play="/usr/bin/aplay" popd done make %{?_smp_mflags} -f xpuzzles.Makefile CFLAGS="%{optflags}" %install install -d %{buildroot}%{_bindir} install -d %{buildroot}%{_mandir}/man6/ install -d %{buildroot}%{_localstatedir}/games/xpuzzles for name in %{progs}; do install $name/x$name %{buildroot}%{_bindir} echo "%%{_bindir}/x$name" >> programs.txt if [ -f $name/x$name.man ]; then install -m 644 $name/x$name.man %{buildroot}%{_mandir}/man6/x$name.6 echo "%%{_mandir}/man6/x$name.6%%{ext_man}" >> programs.txt fi touch %{buildroot}%{_localstatedir}/games/xpuzzles/$name.scores done %files -f programs.txt %dir %{_localstatedir}/games/xpuzzles %verify(not md5 size mtime) %config(noreplace) %attr(664,games,games) %{_localstatedir}/games/xpuzzles/barrel.scores %verify(not md5 size mtime) %config(noreplace) %attr(664,games,games) %{_localstatedir}/games/xpuzzles/cubes.scores %verify(not md5 size mtime) %config(noreplace) %attr(664,games,games) %{_localstatedir}/games/xpuzzles/dial.scores %verify(not md5 size mtime) %config(noreplace) %attr(664,games,games) %{_localstatedir}/games/xpuzzles/dino.scores %verify(not md5 size mtime) %config(noreplace) %attr(664,games,games) %{_localstatedir}/games/xpuzzles/hexagons.scores %verify(not md5 size mtime) %config(noreplace) %attr(664,games,games) %{_localstatedir}/games/xpuzzles/mball.scores %verify(not md5 size mtime) %config(noreplace) %attr(664,games,games) %{_localstatedir}/games/xpuzzles/mlink.scores %verify(not md5 size mtime) %config(noreplace) %attr(664,games,games) %{_localstatedir}/games/xpuzzles/oct.scores %verify(not md5 size mtime) %config(noreplace) %attr(664,games,games) %{_localstatedir}/games/xpuzzles/panex.scores %verify(not md5 size mtime) %config(noreplace) %attr(664,games,games) %{_localstatedir}/games/xpuzzles/pyraminx.scores %verify(not md5 size mtime) %config(noreplace) %attr(664,games,games) %{_localstatedir}/games/xpuzzles/rubik.scores %verify(not md5 size mtime) %config(noreplace) %attr(664,games,games) %{_localstatedir}/games/xpuzzles/skewb.scores %verify(not md5 size mtime) %config(noreplace) %attr(664,games,games) %{_localstatedir}/games/xpuzzles/threed.scores %verify(not md5 size mtime) %config(noreplace) %attr(664,games,games) %{_localstatedir}/games/xpuzzles/triangles.scores %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor