]>
Commit | Line | Data |
---|---|---|
3b4d6c95 JR |
1 | Summary: Xfce panel plugin for pulseaudio mixer control |
2 | Name: xfce4-pulseaudio-plugin | |
32c8a594 | 3 | Version: 0.4.8 |
866dfccd | 4 | Release: 1 |
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 |
32c8a594 | 8 | # Source0-md5: 83317e672e843e0b14d0da24ed301b3b |
3b4d6c95 | 9 | URL: http://git.xfce.org/panel-plugins/xfce4-pulseaudio-plugin/ |
2d1e1f45 | 10 | BuildRequires: exo-devel >= 0.11.0 |
1e644489 KM |
11 | BuildRequires: glib2-devel >= 1:2.44.0 |
12 | BuildRequires: gtk+3-devel | |
2d1e1f45 | 13 | BuildRequires: keybinder3-devel >= 0.2.2 |
1e644489 | 14 | BuildRequires: libwnck-devel >= 3.20 |
709ea2ad JR |
15 | BuildRequires: libxfce4ui-devel >= 4.14.0 |
16 | BuildRequires: libxfce4util-devel >= 4.14.0 | |
3b4d6c95 JR |
17 | BuildRequires: pulseaudio-devel |
18 | BuildRequires: rpmbuild(macros) >= 1.601 | |
709ea2ad JR |
19 | BuildRequires: xfce4-dev-tools >= 4.14.0 |
20 | BuildRequires: xfce4-panel-devel >= 4.14.0 | |
21 | BuildRequires: xfconf-devel >= 4.14.0 | |
3b4d6c95 JR |
22 | Requires: gtk-update-icon-cache |
23 | Requires: hicolor-icon-theme | |
709ea2ad | 24 | Requires: xfce4-panel >= 4.14.0 |
629bc770 | 25 | Obsoletes: xfce4-mixer < 4.12 |
3b4d6c95 JR |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
27 | ||
28 | %description | |
29 | The Xfce PulseAudio Plugin is a plugin for the Xfce panel which | |
1e644489 KM |
30 | provides a convenient way to adjust the audio volume of the PulseAudio |
31 | sound system and to an auto mixer tool like pavucontrol. It can | |
32 | optionally handle multimedia keys for controlling the audio volume. | |
3b4d6c95 JR |
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 |
866dfccd | 50 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hye,ie} |
709ea2ad JR |
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 | 65 | %defattr(644,root,root,755) |
866dfccd | 66 | %doc AUTHORS ChangeLog README.md |
3b4d6c95 JR |
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 |