X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=xfce4-mixer.spec;h=6972d320a1c601d9f783b36b7275af06831842cc;hb=HEAD;hp=9530edbcba55661c95924898816a222119cd8558;hpb=03a087e76b14b8c516fc0991fc2a97cce8481ec1;p=packages%2Fxfce4-mixer.git diff --git a/xfce4-mixer.spec b/xfce4-mixer.spec index 9530edb..6972d32 100644 --- a/xfce4-mixer.spec +++ b/xfce4-mixer.spec @@ -1,44 +1,43 @@ +%define xfce_version 4.12.0 Summary: Volume control plugin for the Xfce panel -Summary(pl): Wtyczka steruj±ca g³o¶no¶ci± dla panelu Xfce +Summary(pl.UTF-8): Wtyczka sterująca głośnością dla panelu Xfce Name: xfce4-mixer -Version: 4.3.90.2 +Version: 4.18.1 Release: 1 -License: BSD +License: GPL v2 Group: X11/Applications/Sound -Source0: http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2 -# Source0-md5: 27bb4b4a6d1ccd598e8402ed7bb280d0 -Patch0: %{name}-locale-names.patch -URL: http://www.xfce.org/ -BuildRequires: alsa-lib-devel >= 1.0.11 +Source0: https://archive.xfce.org/src/apps/xfce4-mixer/4.18/%{name}-%{version}.tar.bz2 +# Source0-md5: 10e721b18b148d5ceab617ee2572b92f +URL: https://www.xfce.org/projects/xfce4-mixer/ +BuildRequires: alsa-lib-devel >= 0.9 BuildRequires: autoconf >= 2.50 BuildRequires: automake -BuildRequires: gettext-devel +BuildRequires: gettext-tools +BuildRequires: glib2-devel >= 1:2.42.0 +BuildRequires: gstreamer-plugins-base-devel >= 1.0 +BuildRequires: gtk+3-devel >= 3.14.0 BuildRequires: intltool >= 0.35.0 +BuildRequires: keybinder3-devel >= 0.3 BuildRequires: libtool -BuildRequires: libxfce4mcs-devel >= %{version} +BuildRequires: libxfce4ui-devel >= %{xfce_version} BuildRequires: pkgconfig >= 1:0.9.0 -BuildRequires: xfce4-dev-tools >= %{version} -BuildRequires: xfce4-panel-devel >= %{version} -BuildRequires: xfce-mcs-manager-devel >= %{version} -Requires(post,postun): gtk+2 >= 2:2.10.0 -Requires: alsa-lib >= 1.0.11 -Requires: xfce4-panel >= %{version} +BuildRequires: pulseaudio-devel >= 0.9.19 +BuildRequires: xfce4-dev-tools >= 4.12.0 +BuildRequires: xfce4-panel-devel >= %{xfce_version} +BuildRequires: xfconf-devel >= %{xfce_version} +Requires: xfce4-panel >= %{xfce_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/{nb_NO,nb}.po -mv -f po/{pt_PT,pt}.po %build %{__libtoolize} @@ -46,11 +45,8 @@ mv -f po/{pt_PT,pt}.po %{__autoheader} %{__automake} %{__autoconf} -LDFLAGS="%{rpmldflags} -Wl,--as-needed" %configure \ - --disable-static \ - --with-sound=alsa - + --disable-debug %{__make} %install @@ -59,28 +55,21 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/*/*.la +%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{fa_IR,hy_AM,hye,ie,ur_PK} +%{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libmixer.la %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT -%post -gtk-update-icon-cache -qf %{_datadir}/icons/hicolor - -%postun -gtk-update-icon-cache -qf %{_datadir}/icons/hicolor - %files -f %{name}.lang %defattr(644,root,root,755) -%doc AUTHORS COPYING README TODO +%doc AUTHORS ChangeLog NEWS README %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 +%attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libmixer.so +%{_datadir}/xfce4/panel/plugins/mixer.desktop +%{_datadir}/xfce4/mixer +%{_desktopdir}/xfce4-mixer.desktop +%{_pixmapsdir}/xfce4-mixer +%{_mandir}/man1/xfce4-mixer.1*