]> git.pld-linux.org Git - packages/xfce4-mixer.git/blobdiff - xfce4-mixer.spec
- tabs in preamble
[packages/xfce4-mixer.git] / xfce4-mixer.spec
index eb01c55959509400bff30ad6c34dacd45c46b224..fa9b09b522e56ccfa6b19bb1865659eb151c37d2 100644 (file)
@@ -1,48 +1,56 @@
-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.5
-Release:       2
-License:       BSD
+Version:       4.4.0
+Release:       1
+License:       GPL
 Group:         X11/Applications/Sound
-#Source0:      ftp://ftp.berlios.de/pub/xfce-goodies/%{version}/%{name}-%{version}.tar.gz
-Source0:       http://hannelore.f1.fhtw-berlin.de/mirrors/xfce4/xfce-%{version}/src/%{name}-%{version}.tar.gz
-# Source0-md5: 01d5e15d3740b87a8860557af07d5fbb
+Source0:       http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2
+# Source0-md5: 195e52cfe7913ca0b97d20a7ca26bde7
 Patch0:                %{name}-locale-names.patch
 URL:           http://www.xfce.org/
+BuildRequires: alsa-lib-devel >= 1.0.11
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRequires: intltool >= 0.35.0
 BuildRequires: libtool
-BuildRequires: pkgconfig >= 0.9.0
-BuildRequires: startup-notification-devel >= 0.5
+BuildRequires: libxfce4mcs-devel >= %{version}
+BuildRequires: pkgconfig >= 1:0.9.0
+BuildRequires: rpmbuild(macros) >= 1.311
+BuildRequires: xfce-mcs-manager-devel >= %{version}
+BuildRequires: xfce4-dev-tools >= %{version}
 BuildRequires: xfce4-panel-devel >= %{version}
-Requires:      startup-notification >= 0.5
+Requires(post,postun): gtk+2
+Requires(post,postun): hicolor-icon-theme
+Requires:      alsa-lib >= 1.0.11
 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
 %patch0 -p1
 
-mv -f po/{fa_IR,fa}.po
-mv -f po/{no,nb}.po
+mv -f po/{nb_NO,nb}.po
 mv -f po/{pt_PT,pt}.po
 
 %build
 %{__libtoolize}
-%{__aclocal} -I m4
-%{__autoconf}
+%{__aclocal}
 %{__autoheader}
 %{__automake}
-%configure
+%{__autoconf}
+%configure \
+       --disable-static \
+       --with-sound=alsa
 
 %{__make}
 
@@ -52,14 +60,28 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/panel-plugins/*.{la,a}
+rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/*/*.la
 
 %find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_icon_cache hicolor
+
+%postun
+%update_icon_cache hicolor
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING README TODO
-%attr(755,root,root) %{_libdir}/xfce4/panel-plugins/*.so
+%attr(755,root,root) %{_bindir}/xfce4-mixer
+%attr(755,root,root) %{_libdir}/xfce4/mcs-plugins/*.so
+# why no -avoid-version?
+%attr(755,root,root) %{_libdir}/xfce4/modules/lib*.so*
+%attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-mixer-plugin
+%{_datadir}/xfce4/panel-plugins/xfce4-mixer.desktop
+%{_iconsdir}/hicolor/*/*/*
+
+%{_desktopdir}/xfce-mixer-settings.desktop
This page took 0.070934 seconds and 4 git commands to generate.