blob: 81c1a49771bb70ed392c146a05af3f15c84676ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
Summary: pbbuttonsd client that allows to adjust some options through a GTK+ user interface
Summary(pl.UTF-8): Klient pbbuttonsd pozwalający zmienić niektóre opcje poprzez interfejs w GTK+
Name: powerprefs
Version: 0.5.0
Release: 0.1
License: GPL
Group: X11/Applications
Source0: http://dl.sourceforge.net/pbbuttons/%{name}-%{version}.tar.gz
# Source0-md5: d29c1aa01e4f47281abe7c8b921c591d
URL: http://pbbuttons.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gtk+2-devel
BuildRequires: pbbuttonsd-lib
Requires: pbbuttonsd
ExclusiveArch: ppc
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
This client for pbbuttonsd makes some options easy adjustable through
a GTK+ user interface. Following options could directly be changed:
- trackpad mode
How the trackpad is configured.
- keyboard mode
How the keyboard is configured.
- dosleep
switches sleepmode temporarly off, for eg. long term compiler runs.
- snoozedelay
Should the snooze key react immediatly or delayed.
- ejectdelay
Should the eject-CD key react immediatly or delayed.
- mixerdelay
Should the sound routines be initalized on startup or later.
%description -l pl.UTF-8
Ten klient pbbuttonsd pozwala łatwo zmienić niektóre opcje poprzez
interfejs użytkownika oparty na GTK+. Można ustalić:
- tryb trackpada
- tryb klawiatury
- czy komputer ma wchodzić w tryb uśpienia
- czy usypanie przyciskiem ma być natychmiastowe, czy z opóźnieniem
- czy wysuwanie CD ma być natychmiastowe, czy z opóźnieniem
- czy dźwięk ma być inicjalizowany natychmiast po starcie, czy później.
%prep
%setup -q
%build
%{__aclocal}
%{__autoconf}
%{__autoheader}
%{__automake}
%configure
%{__make} \
CFLAGS="%{rpmcflags}" \
LDFLAGS="%{rpmldflags}"
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS BUGS ChangeLog NEWS README TODO
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/*
%{_datadir}/%{name}
|