]> git.pld-linux.org Git - SPECS.git/blob - gkrellm-volume.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / gkrellm-volume.spec
1 Summary:        Sound volume plugin for gkrellm
2 Summary(pl.UTF-8):      Wtyczka kontroli głośności dla gkrellm
3 Summary(pt_BR.UTF-8):   Plugin gkrellm para controle do volume de dispositivos de som
4 Name:           gkrellm-volume
5 Version:        2.1.13
6 Release:        3
7 Epoch:          1
8 License:        GPL
9 Group:          X11/Applications
10 Source0:        http://gkrellm.luon.net/files/%{name}-%{version}.tar.gz
11 # Source0-md5:  d9f4c36d7fdf9c9f755c99f742b573c4
12 Patch0:         %{name}-i18n.patch
13 BuildRequires:  gkrellm-devel >= 2.0
14 BuildRequires:  pkgconfig
15 Requires:       gkrellm >= 2.0.4
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 A GKrellM plugin wich allows you to control the mixer devices of your
20 choice.
21
22 %description -l pl.UTF-8
23 Wtyczka GKrellM pozwalająca kontrolować ustawienia miksera.
24
25 %description -l pt_BR.UTF-8
26 Plugin gkrellm para controle do volume de dispositivos de som.
27
28 %prep
29 %setup -q -n %{name}
30 %patch0 -p1
31
32 %build
33 %{__make} \
34         GKRELLM_INCLUDE=`pkg-config --cflags gkrellm` \
35         PLUGIN_DIR=%{_libdir}/gkrellm2/plugins \
36         LOCALEDIR=%{_datadir}/locale \
37         CC="%{__cc} \$(FLAGS) %{rpmcflags}" \
38         enable_nls=1 \
39         enable_alsa=1
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 install -d $RPM_BUILD_ROOT%{_libdir}/gkrellm2/plugins
45
46 %{__make} install \
47         PLUGIN_DIR=$RPM_BUILD_ROOT%{_libdir}/gkrellm2/plugins \
48         LOCALEDIR=$RPM_BUILD_ROOT%{_datadir}/locale \
49         INSTALL_PROGRAM="install" \
50         enable_nls=1
51
52 %find_lang %{name}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files -f %{name}.lang
58 %defattr(644,root,root,755)
59 %doc README Changelog
60 %attr(755,root,root) %{_libdir}/gkrellm2/plugins/volume.so
This page took 0.116057 seconds and 3 git commands to generate.