Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
xbench
xbench.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xbench.spec of Package xbench
# # spec file for package xbench (Version 0.2) # # 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: xbench BuildRequires: xorg-x11 xorg-x11-devel Url: ftp://ftp.x.org/contrib/utilities/ License: Public Domain, Freeware Group: System/Benchmark AutoReqProv: on Version: 0.2 Release: 1215 Summary: Benchmark for X11 Source: xbench-%{version}.tar.bz2 Patch: xbench-%{version}.patch Patch1: xbench-%{version}-ia64.patch Patch2: xbench-%{version}-nonvoid.patch Patch3: xbench-%{version}-gets.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if "%(xft-config --prefix)" == "/usr" %define _xorg7libs %_lib %define _xorg7libs32 lib %define _xorg7bin bin %define _xorg7_mandir %_mandir %define _xorg7pixmaps include %define _xorg7libshare share %define _xorg7_xkb /usr/share/X11/xkb %define _xorg7_termcap /usr/lib/X11/etc %define _xorg7_serverincl /usr/include/xorg %define _xorg7_fonts /usr/share/fonts #%define _xorg7_config /usr/share/X11/config #use libshare macro %define _xorg7_prefix /usr %else %define _xorg7libs X11R6/%_lib %define _xorg7libs32 X11R6/lib %define _xorg7bin X11R6/bin %define _xorg7_mandir /usr/X11R6/man %define _xorg7pixmaps X11R6/include %define _xorg7libshare X11R6/lib/ %define _xorg7_xkb /etc/X11/xkb %define _xorg7_termcap /usr/X11R6/lib/X11/etc %define _xorg7_serverincl /usr/X11R6/lib/Server/include %define _xorg7_fonts /usr/X11R6/lib/X11/fonts #%define _xorg7_config /usr/X11R6/lib/X11/config #use libshare macro %define _xorg7_prefix /usr/X11R6 %endif %description A benchmark for X11. Authors: -------- Claus Gittinger <unido!sinix!claus@uunet.uu.net> %prep %setup %patch %patch1 %patch2 %patch3 %build xmkmf -a make %{?jobs:-j%jobs} CCOPTIONS="$RPM_OPT_FLAGS" %install make "DESTDIR=$RPM_BUILD_ROOT" install make "DESTDIR=$RPM_BUILD_ROOT" install.man install -d $RPM_BUILD_ROOT%{_defaultdocdir}/xbench install -d $RPM_BUILD_ROOT/usr/%{_xorg7libshare}/X11/xbench/results install -d $RPM_BUILD_ROOT/usr/%{_xorg7libshare}/X11/xbench/scripts install -m 644 AUTHOR CHANGES IAFA-PACKAGE README xbench.doc Makefile script.run \ $RPM_BUILD_ROOT/usr/%{_xorg7libshare}/X11/xbench install -m 644 results/* $RPM_BUILD_ROOT/usr/%{_xorg7libshare}/X11/xbench/results install -m 644 scripts/* $RPM_BUILD_ROOT/usr/%{_xorg7libshare}/X11/xbench/scripts chmod a+x $RPM_BUILD_ROOT/usr/%{_xorg7libshare}/X11/xbench/scripts/insSep.sh cd $RPM_BUILD_ROOT%{_defaultdocdir}/xbench; ln -sf ../../../../%{_xorg7libshare}/X11/xbench benchmarks %files %defattr(-,root,root) %doc %{_defaultdocdir}/xbench %doc %{_xorg7_mandir}/man1/xbench.1x* /usr/%{_xorg7bin}/xbench /usr/%{_xorg7libshare}/X11/xbench %clean rm -rf $RPM_BUILD_ROOT %changelog * Thu Nov 16 2006 anosek@suse.cz - replaced dangerous gets() function by fgets() [#219046] (gets.patch) * Tue Aug 08 2006 lmichnovic@suse.cz - compiling with RPM_OPT_FLAGS * Fri Jul 28 2006 lmichnovic@suse.cz - builds also with new X.org 7.x, detecting prefix in X.org - building with icecream * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Mon Sep 26 2005 lmichnovic@suse.cz - fixed non-void functions * Fri Jun 25 2004 hmacht@suse.de - building as non-root user * Fri Jun 04 2004 ro@suse.de - add return values to non-void functions * Wed May 23 2001 cihlar@suse.cz - fixed includes - fixed warnings * Tue Nov 21 2000 cihlar@suse.cz - fixed copyright - bzipped sources - clean up spec file * Fri May 19 2000 cihlar@suse.cz - /usr/doc/packages -> %%{_defaultdocdir} * Mon Apr 17 2000 cihlar@suse.cz - fixed to compile on axp * Tue Apr 11 2000 cihlar@suse.cz - added BuildRoot * Tue Nov 16 1999 sndirsch@suse.de - prepared to be able to make benchmarks * Mon Sep 13 1999 bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Tue Oct 07 1997 ro@suse.de - copied results to /usr/X11R6/lib/X11/xbench/results instead of scripts which is copied to /usr/X11R6/lib/X11/xbench/scripts * Sun Jun 01 1997 bs@suse.de - moved var/X11R6/lib/app-defaults to usr/X11R6/lib/X11/app-defaults
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