]> git.pld-linux.org Git - packages/xfce4-pulseaudio-plugin.git/blob - xfce4-pulseaudio-plugin.spec
- up to 0.4.8
[packages/xfce4-pulseaudio-plugin.git] / xfce4-pulseaudio-plugin.spec
1 Summary:        Xfce panel plugin for pulseaudio mixer control
2 Name:           xfce4-pulseaudio-plugin
3 Version:        0.4.8
4 Release:        1
5 License:        GPL v2
6 Group:          X11/Applications
7 Source0:        http://archive.xfce.org/src/panel-plugins/xfce4-pulseaudio-plugin/0.4/%{name}-%{version}.tar.bz2
8 # Source0-md5:  83317e672e843e0b14d0da24ed301b3b
9 URL:            http://git.xfce.org/panel-plugins/xfce4-pulseaudio-plugin/
10 BuildRequires:  exo-devel >= 0.11.0
11 BuildRequires:  glib2-devel >= 1:2.44.0
12 BuildRequires:  gtk+3-devel
13 BuildRequires:  keybinder3-devel >= 0.2.2
14 BuildRequires:  libwnck-devel >= 3.20
15 BuildRequires:  libxfce4ui-devel >= 4.14.0
16 BuildRequires:  libxfce4util-devel >= 4.14.0
17 BuildRequires:  pulseaudio-devel
18 BuildRequires:  rpmbuild(macros) >= 1.601
19 BuildRequires:  xfce4-dev-tools >= 4.14.0
20 BuildRequires:  xfce4-panel-devel >= 4.14.0
21 BuildRequires:  xfconf-devel >= 4.14.0
22 Requires:       gtk-update-icon-cache
23 Requires:       hicolor-icon-theme
24 Requires:       xfce4-panel >= 4.14.0
25 Obsoletes:      xfce4-mixer < 4.12
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
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.
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
49 %{__rm}  $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libpulseaudio-plugin.la
50 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hye,ie}
51 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hy}
52
53 %find_lang %{name}
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
64 %files -f %{name}.lang
65 %defattr(644,root,root,755)
66 %doc AUTHORS ChangeLog README.md
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-*
71 %{_iconsdir}/hicolor/*/status/microphone-sensitivity-*-symbolic.svg
This page took 0.137754 seconds and 3 git commands to generate.