]>
Commit | Line | Data |
---|---|---|
3b4d6c95 JR |
1 | Summary: Xfce panel plugin for pulseaudio mixer control |
2 | Name: xfce4-pulseaudio-plugin | |
2d1e1f45 | 3 | Version: 0.4.3 |
629bc770 | 4 | Release: 2 |
3b4d6c95 JR |
5 | License: GPL v2 |
6 | Group: X11/Applications | |
b075dcb8 | 7 | Source0: http://archive.xfce.org/src/panel-plugins/xfce4-pulseaudio-plugin/0.4/%{name}-%{version}.tar.bz2 |
2d1e1f45 | 8 | # Source0-md5: 3d86032acb9364d47e0a144350c63e1a |
3b4d6c95 JR |
9 | URL: http://git.xfce.org/panel-plugins/xfce4-pulseaudio-plugin/ |
10 | BuildRequires: glib2-devel >= 1:2.30.2 | |
11 | BuildRequires: gtk+3-devel | |
2d1e1f45 KM |
12 | BuildRequires: exo-devel >= 0.11.0 |
13 | BuildRequires: keybinder3-devel >= 0.2.2 | |
709ea2ad JR |
14 | BuildRequires: libxfce4ui-devel >= 4.14.0 |
15 | BuildRequires: libxfce4util-devel >= 4.14.0 | |
3b4d6c95 JR |
16 | BuildRequires: pulseaudio-devel |
17 | BuildRequires: rpmbuild(macros) >= 1.601 | |
709ea2ad JR |
18 | BuildRequires: xfce4-dev-tools >= 4.14.0 |
19 | BuildRequires: xfce4-panel-devel >= 4.14.0 | |
20 | BuildRequires: xfconf-devel >= 4.14.0 | |
3b4d6c95 JR |
21 | Requires: gtk-update-icon-cache |
22 | Requires: hicolor-icon-theme | |
709ea2ad | 23 | Requires: xfce4-panel >= 4.14.0 |
629bc770 | 24 | Obsoletes: xfce4-mixer < 4.12 |
3b4d6c95 JR |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
28 | The Xfce PulseAudio Plugin is a plugin for the Xfce panel which | |
29 | provides a convenient way to adjust the audio volume of the | |
30 | PulseAudio sound system and to an auto mixer tool like pavucontrol. | |
31 | It can optionally handle multimedia keys for controlling the audio | |
32 | volume. | |
33 | ||
34 | %prep | |
35 | %setup -q | |
36 | ||
37 | %build | |
38 | %configure \ | |
39 | --disable-static | |
40 | ||
41 | %{__make} | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %{__make} install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | ||
2d1e1f45 | 49 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libpulseaudio-plugin.la |
709ea2ad JR |
50 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ie |
51 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hy} | |
52 | ||
b075dcb8 | 53 | %find_lang %{name} |
3b4d6c95 JR |
54 | |
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %post | |
59 | %update_icon_cache hicolor | |
60 | ||
61 | %postun | |
62 | %update_icon_cache hicolor | |
63 | ||
b075dcb8 | 64 | %files -f %{name}.lang |
3b4d6c95 JR |
65 | %defattr(644,root,root,755) |
66 | %doc AUTHORS ChangeLog README | |
67 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libpulseaudio-plugin.so | |
68 | %{_datadir}/xfce4/panel/plugins/pulseaudio.desktop | |
69 | %{_iconsdir}/hicolor/*/apps/xfce4-pulseaudio-plugin* | |
70 | %{_iconsdir}/hicolor/*/status/audio-volume-* | |
b075dcb8 | 71 | %{_iconsdir}/hicolor/*/status/microphone-sensitivity-*-symbolic.svg |