-Summary: Volume control plugin for the XFce panel
-Summary(pl): Wtyczka steruj±ca g³o¶no¶ci± dla panelu XFce
+Summary: Volume control plugin for the Xfce panel
+Summary(pl.UTF-8): Wtyczka sterująca głośnością dla panelu Xfce
Name: xfce4-mixer
-Version: 4.0.0
-Release: 1
-License: BSD
+Version: 4.8.0
+Release: 2
+License: GPL v2
Group: X11/Applications/Sound
-Source0: http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.gz
-# Source0-md5: 1c5038b557f144b3230b1898b2c96889
-URL: http://www.xfce.org/
-BuildRequires: pkgconfig >= 0.9.0
-BuildRequires: startup-notification-devel >= 0.4
+Source0: http://www.xfce.org/archive/src/apps/xfce4-mixer/4.8/%{name}-%{version}.tar.bz2
+# Source0-md5: 3fa3a9973e18c04da26709a654e242ff
+URL: http://www.xfce.org/projects/xfce4-mixer/
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRequires: gstreamer-plugins-base-devel >= 0.10.14
+BuildRequires: gtk+2-devel >= 2:2.10.6
+BuildRequires: intltool >= 0.35.0
+BuildRequires: libtool
+BuildRequires: libxfce4ui-devel >= %{version}
+BuildRequires: pkgconfig >= 1:0.9.0
+BuildRequires: xfce4-dev-tools >= 4.6.0
BuildRequires: xfce4-panel-devel >= %{version}
-Requires: startup-notification >= 0.4
+BuildRequires: xfconf-devel >= %{version}
Requires: xfce4-panel >= %{version}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-xfce4-mixer is the volume control plugin for the XFce panel.
-Includes a simple sound mixer.
+xfce4-mixer is the volume control plugin for the Xfce panel. Includes
+a simple sound mixer.
-%description -l pl
-xfce4-mixer to wtyczka steruj±ca g³o¶no¶ci± dla panelu XFce. Zawiera
-prosty mikser d¼wiêku.
+%description -l pl.UTF-8
+xfce4-mixer to wtyczka sterująca głośnością dla panelu Xfce. Zawiera
+prosty mikser dźwięku.
%prep
%setup -q
%build
%configure
-
%{__make}
%install
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/panel-plugins/*.{la,a}
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
%find_lang %{name}
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS COPYING README TODO
-%attr(755,root,root) %{_libdir}/xfce4/panel-plugins/*.so
+%doc AUTHORS ChangeLog NEWS README TODO
+%attr(755,root,root) %{_bindir}/xfce4-mixer
+%attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-mixer-plugin
+%{_datadir}/xfce4/panel-plugins/xfce4-mixer-plugin.desktop
+%{_datadir}/xfce4-mixer
+%{_desktopdir}/xfce4-mixer.desktop
+%{_pixmapsdir}/xfce4-mixer