]> git.pld-linux.org Git - SPECS.git/blob - lineak-defaultplugin.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / lineak-defaultplugin.spec
1 Summary:        The default plugin for the lineakd daemon
2 Summary(pl.UTF-8):      Domyślna wtyczka demona lineakd
3 Name:           lineak-defaultplugin
4 Version:        0.9
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/System
8 Source0:        http://dl.sourceforge.net/lineak/%{name}-%{version}.tar.gz
9 # Source0-md5:  425df8c225c1a079a4ed1f221d2a5479
10 Patch0:         %{name}-make.patch
11 URL:            http://lineak.sourceforge.net/
12 BuildRequires:  autoconf >= 2.54
13 BuildRequires:  automake
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  libtool >= 2:1.5
16 BuildRequires:  lineakd-devel >= 0.9
17 BuildRequires:  sed >= 4.0
18 BuildRequires:  xorg-lib-libX11-devel
19 Requires:       lineakd >= 0.9
20 Obsoletes:      lineak_defaultplugin
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 This is a plugin for lineakd. The plugin allows binding actions to
25 special keys.
26
27 This plugin contains the original lineakd macros:
28
29 EAK_MUTE
30 EAK_VOLUP
31 EAK_VOLDOWN
32 EAK_PCM_UP
33 EAK_PCM_DOWN
34 EAK_PCM_MUTE
35 EAK_EJECT
36 EAK_OPEN_TRAY_SCSI
37 EAK_OPEN_TRAY
38 EAK_CLOSE_TRAY
39 EAK_SENDKEYS or EAK_SYM
40 EAK_SENDKEYS_ROOT
41 EAK_MEDIADETECT
42
43 %description -l pl.UTF-8
44 To jest wtyczka do lineakd. Wtyczka ta pozwala na dowiązywanie akcji
45 do specjalnych klawiszy.
46
47 Ta wtyczka zawiera pierwotne makra lineakd:
48
49 EAK_MUTE
50 EAK_VOLUP
51 EAK_VOLDOWN
52 EAK_PCM_UP
53 EAK_PCM_DOWN
54 EAK_PCM_MUTE
55 EAK_EJECT
56 EAK_OPEN_TRAY_SCSI
57 EAK_OPEN_TRAY
58 EAK_CLOSE_TRAY
59 EAK_SENDKEYS or EAK_SYM
60 EAK_SENDKEYS_ROOT
61 EAK_MEDIADETECT
62
63 %prep
64 %setup -q
65 %patch0 -p1
66
67 # kill plugin dir existence test
68 sed -i -e 's/test ! -d \$pdir/false/' admin/lineak.m4.in
69 cat admin/{acinclude.m4.in,lineak.m4.in} > acinclude.m4
70
71 %build
72 %{__libtoolize}
73 %{__aclocal}
74 %{__autoconf}
75 %{__autoheader}
76 %{__automake}
77
78 %configure \
79         --with-lineak-plugindir=%{_libdir}/lineakd/plugins
80
81 %{__make}
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85
86 %{__make} install \
87         DESTDIR=$RPM_BUILD_ROOT
88
89 rm -f $RPM_BUILD_ROOT%{_libdir}/lineakd/plugins/*.la
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %files
95 %defattr(644,root,root,755)
96 %doc AUTHORS ChangeLog README TODO media-detect.conf
97 %attr(755,root,root) %{_libdir}/lineakd/plugins/defaultplugin.so
98 %attr(755,root,root) %{_libdir}/lineakd/plugins/mediadetectplugin.so
99 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/media-detect.conf
100 %{_mandir}/man1/lineak_defaultplugin.1*
This page took 0.098156 seconds and 3 git commands to generate.