Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
pbbuttonsd
pbbuttonsd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pbbuttonsd.spec of Package pbbuttonsd
# # spec file for package pbbuttonsd (Version 0.8.1a) # # Copyright (c) 2010 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/ # Name: pbbuttonsd BuildRequires: alsa-devel gcc-c++ glib2-devel %ifarch %ix86 x86_64 BuildRequires: libsmbios libsmbios-devel pciutils-devel %endif Url: http://pbbuttons.berlios.de/ License: LGPLv2.1+ Group: System/Daemons Summary: Daemon for the special keys on Apple laptops Version: 0.8.1a Release: 118 PreReq: %{insserv_prereq} sysvinit(syslog) Source: pbbuttonsd-%{version}.tar.gz Source1: %{name}.init Source2: run-parts.c Source3: run-parts.8 Patch1: %{name}-0.5.9-fpic.patch Patch2: %{name}-0.5.9-initreq.patch Patch3: %{name}-0.5.11-eject.patch Patch4: %{name}-0.8.0-pci_lz.patch Patch5: %{name}-0.8.1a-udev.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: ppc ppc64 %ix86 x86_64 %description PBButtons is a programm suite to handle the special hotkeys of an Apple iBook, PowerBook or MacBook. With this programm the keys for the display brightness, the volume of speaker and headphone, the mute key and the eject key will do their job as expected. Authors: -------- Matthias Grimm <matthiasgrimm@users.sourceforge.net> %prep %setup -q %patch1 -p1 %patch2 %patch3 -p1 %patch4 %patch5 -p1 %build AUTOPOINT=true autoreconf -i -f %ifarch %ix86 x86_64 export LAPTOP=macbook %endif CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ac_cv_header_initreq_h=yes \ ./configure \ --prefix=/usr \ --libdir=%{_libdir} \ --infodir=%{_infodir} \ --mandir=%{_mandir} \ --sysconfdir=/etc \ --enable-nls \ --without-included-gettext make %{?_smp_mflags} gcc $RPM_OPT_FLAGS -DPACKAGE_VERSION=\"2.9\" %{S:2} -o run-parts %install make install DESTDIR=$RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/etc/init.d $RPM_BUILD_ROOT%{_prefix}/sbin install -m 755 %{S:1} $RPM_BUILD_ROOT/etc/init.d/%{name} ln -s /etc/init.d/%{name} $RPM_BUILD_ROOT%{_prefix}/sbin/rc%{name} install -m 755 run-parts $RPM_BUILD_ROOT%{_prefix}/bin/run-parts install -m 755 -d $RPM_BUILD_ROOT%{_mandir}/man8 install -m 644 %{S:3} $RPM_BUILD_ROOT%{_mandir}/man8/run-parts.8 %find_lang %{name} %post %fillup_and_insserv -f %{name} %postun %restart_on_update %insserv_cleanup %preun %stop_on_removal %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-, root, root) %doc AUTHORS COPYING TODO NEWS README BUGS ChangeLog /etc/init.d/%{name} %dir /etc/power /etc/power/* %config(noreplace) /etc/pbbuttonsd.cnf %{_prefix}/bin/* %{_mandir}/*/* %{_prefix}/sbin/rc%{name} /usr/include/* %{_libdir}/lib* %dir /var/lib/ibam %dir /var/lib/pbbuttons %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