Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
mouseemu
mouseemu.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mouseemu.spec of Package mouseemu
# # spec file for package mouseemu (Version 0.15) # # Copyright (c) 2008 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: mouseemu Version: 0.15 Release: 200810151034 Summary: A Program to Activate Mouse Button Emulation on Macs with One-Button Mice License: Artistic License Group: System/Base AutoReqProv: on PreReq: %insserv_prereq %fillup_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: http://ftp.debian.org/debian/pool/main/m/mouseemu/mouseemu_%{version}.orig.tar.gz Source1: rc.mouseemu Source2: sysconfig.mouseemu Patch1: mouseemu.nofork.patch Patch2: mouseemu.mod-passthrough.patch Patch3: mouseemu.makefile.patch Patch4: mouseemu.usage.patch Patch5: mouseemu.defaults.patch Patch6: mouseemu.manpage.patch Patch7: mouseemu.rescan.patch Patch8: mouseemu.syslog.patch Patch9: mouseemu.pidfile.patch Patch10: mouseemu.bustype_virtual.patch Patch11: mouseemu.dual_devices.patch Patch12: mouseemu.initialize_device.patch Patch13: mouseemu.uinput_error_msg.patch Patch14: mouseemu.write_error.patch Patch15: mouseemu.unregister_inputhandler.patch ExclusiveArch: ppc ppc64 %description With this package, you can emulate the second and third mouse buttons on Powermacs if you have a one-button mouse. Activate: rcmouseemu start Deactivate: rcmouseemu stop The default is determined in /etc/sysconfig/mouseemu by the variable START_MOUSEEMU. Authors: -------- Peter Poeml <poeml@suse.de> %prep %setup -q -n mouseemu %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %patch15 -p1 %build cp %{SOURCE1} %{SOURCE2} . make CFLAGS="$RPM_OPT_FLAGS" %install make DESTDIR="$RPM_BUILD_ROOT" install mkdir -p $RPM_BUILD_ROOT/etc/init.d mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates install -m 755 rc.mouseemu $RPM_BUILD_ROOT/etc/init.d/mouseemu ln -sf ../../etc/init.d/mouseemu $RPM_BUILD_ROOT/usr/sbin/rcmouseemu install -m 644 sysconfig.mouseemu $RPM_BUILD_ROOT/var/adm/fillup-templates/ %clean rm -rf $RPM_BUILD_ROOT %post %{fillup_and_insserv -y mouseemu} %postun %insserv_cleanup %files %defattr (-,root,root) %config /etc/init.d/mouseemu %{_sbindir}/* /var/adm/fillup-templates/sysconfig.mouseemu %doc /usr/share/man/man*/* %changelog * Wed Oct 15 2008 ro@suse.de - added ExclusiveArch * Thu Oct 04 2007 olh@suse.de - use a mousebutton daemon (147879) instead of kernel emulation * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Tue Aug 02 2005 olh@suse.de - check if /proc/sys/dev/mac_hid exists * Fri Nov 01 2002 olh@suse.de - do not depend on network and syslog in rcmouseemu * Thu Aug 01 2002 poeml@suse.de - spec file: use PreReq * Mon Feb 18 2002 poeml@suse.de - move configuration to /etc/sysconfig/, and use the new fillup and insserv macros * Fri Mar 23 2001 poeml@suse.de - update documentation because it is useful to all Macs with one button mice, including iBooks and Powerbooks * Fri Mar 23 2001 poeml@suse.de - new package (relevant only for OldWorld Macs)
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