Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Emulators
kegs
kegs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kegs.spec of Package kegs
# # spec file for package spec (Version 2.0) # # Copyright (c) 2003 SuSE Linux AG, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://www.suse.de/feedback/ # # norootforbuild Name: kegs License: COPYRIGHT Group: unsorted #Requires: xforms Autoreqprov: on Version: 0.91 Release: 0 Summary: Apple IIgs emulator Source: %name.%version.tar.gz Patch: %name.%version.dif BuildRequires: xorg-x11-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Requires ROM and disk images to work. %prep %setup -n %name.%version %patch %build # build section cd src rm -f vars cat <<EOT >vars TARGET = xkegs OBJECTS = \$(OBJECTS1) xdriver.o CCOPTS = $RPM_OPT_FLAGS %ifarch %ix86 x86_64 %arm ia64 OPTS = -DKEGS_LITTLE_ENDIAN -DNDEBUG %else OPTS = -DNDEBUG %endif SUFFIX = NAME = xkegs LDFLAGS = LDOPTS = LD = \$(CC) EXTRA_LIBS = -lXext EXTRA_SPECIALS = AS = cc PERL = perl XOPTS = EOT make %{?jobs:-j%jobs} %install # install section kegsdir=/usr/lib/kegs install -D -m 755 xkegs $RPM_BUILD_ROOT/$kegsdir/xkegs install -D -m 644 config.kegs $RPM_BUILD_ROOT/$kegsdir/default.config.kegs install -d -m 755 $RPM_BUILD_ROOT/usr/bin cat <<EOT >$RPM_BUILD_ROOT/usr/bin/xkegs #!/bin/sh test -e "\$HOME/.config.kegs" || cp -p $kegsdir/default.config.kegs \$HOME/.config.kegs exec $kegsdir/xkegs "\$@" EOT chmod 755 $RPM_BUILD_ROOT/usr/bin/xkegs %files %defattr(-,root,root) %doc *.txt /usr/lib/kegs /usr/bin/xkegs
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