Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
xmahjong
xmahjong.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xmahjong.spec of Package xmahjong
# # spec file for package xmahjong (Version 2006.8.10) # # Copyright (c) 2009 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/ # # norootforbuild Name: xmahjong %if %suse_version > 910 BuildRequires: freetype2 xorg-x11 xorg-x11-devel %else BuildRequires: XFree86 XFree86-devel freetype2 %endif %if "%(xft-config --prefix)" == "/usr" %define fontdir /usr/share/fonts/misc %define xbindir /usr/bin %define xlibdir /usr/share %define xmandir /usr/share/man %else %define fontdir /usr/X11R6/lib/X11/fonts/misc %define xbindir /usr/X11R6/bin %define xlibdir /usr/X11R6/lib/X11 %define xmandir /usr/X11R6/man %endif License: X11/MIT Group: Amusements/Games/Board/Other AutoReqProv: on PreReq: %suseconfig_fonts_prereq Version: 2006.8.10 Release: 199 Summary: Mahjongg for X Source: xmahjong.tar.bz2 Patch0: xmahjong.dif Patch1: missing-includes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Mahjongg is a challenging Chinese game similar to domino. It is usually played by four players. Xmahjongg is the solitaire version designed for the X Window System. More can be found in the appropriate manual page. Authors: -------- Jeff S. Young <jsy@cray.com> %prep %setup -n xmahjong %patch0 %patch1 -p1 %build xmkmf -a rm -f xmahjongg.man; ln -sf xmahjongg.6 xmahjongg.man make LIBDIR=%{xlibdir} %install make install install.man DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{xlibdir} %post %run_suseconfig_fonts %postun %run_suseconfig_fonts %files %defattr(-,root,root) %doc copyright readme.1 readme.2 %dir %{xlibdir}/xmahjongg %{xbindir}/xmahjongg %dir %{fontdir} %{fontdir}/xmahjongg.pcf.gz %{xlibdir}/xmahjongg/bridge %{xlibdir}/xmahjongg/default %{xlibdir}/xmahjongg/wedges %doc %{xmandir}/man1/xmahjongg.1x.gz %changelog * Thu Aug 10 2006 mfabian@suse.de - change paths for X11R7 - bzip2 source tarball - add missing includes * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Mon Dec 06 2004 mfabian@suse.de - use new macro "%%run_suseconfig_fonts". * Thu May 27 2004 sndirsch@suse.de - added freetype2 to #neededforbuild; prevents from building empty xmahjong font (bdftopcf needs freetype2) * Fri Mar 19 2004 mfabian@suse.de - use %%suseconfig_fonts_prereq - run SuSEconfig.fonts and SuSEconfig.pango in %%post and %%postun * Sun Jan 11 2004 adrian@suse.de - add %%defattr * Fri Jun 13 2003 kukuk@suse.de - Use BuildRoot * Tue Sep 17 2002 ro@suse.de - removed bogus self-provides * Wed Jun 20 2001 ro@suse.de - fix to build * Thu Dec 14 2000 werner@suse.de - Group tag * Mon Jun 05 2000 ro@suse.de - specfile cleanup , doc relocation * Mon Sep 13 1999 bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Thu Sep 24 1998 ro@suse.de - fixed arguments for bind, connnect in initial.c * Wed May 14 1997 werner@suse.de - Move documentation to /usr/doc/packages/xmahjong
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