xfce4-mixer/xfce4-mixer.spec

143 lines
4.5 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: xfce4-mixer
Version: 4.11.0
Release: 1mamba
Summary: Volume control plugin for the Xfce 4 panel
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.xfce.org/
Source: http://archive.xfce.org/src/apps/xfce4-mixer/%{majver}/xfce4-mixer-%{version}.tar.bz2
#Source: http://www.xfce.org/archive/xfce-%{version}/src/xfce4-mixer-%{version}.tar.bz2
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libexpat-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libGL-devel
BuildRequires: libglib-devel
BuildRequires: libglitz-devel
BuildRequires: libgst-plugins-base-devel
BuildRequires: libgstreamer-devel
BuildRequires: libgtk-devel
BuildRequires: libICE-devel
BuildRequires: libpango-devel
BuildRequires: libpixman-devel
BuildRequires: libpng-devel
BuildRequires: libpthread-stubs-devel
BuildRequires: libselinux-devel
BuildRequires: libSM-devel
BuildRequires: libstartup-notification-devel
BuildRequires: libstdc++6-devel
BuildRequires: libuuid-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libxcb-util-devel
BuildRequires: libXdmcp-devel
BuildRequires: libxfce4util-devel
BuildRequires: libxfcegui4-devel
BuildRequires: libxml2-devel
BuildRequires: libXrender-devel
BuildRequires: libz-devel
BuildRequires: udev-devel
BuildRequires: xfce4-panel-devel
BuildRequires: xfconf-devel
## AUTOBUILDREQ-END
BuildRequires: libunique1-devel
BuildRequires: libxfce4ui-devel
Requires: xfce4-panel >= 4.4.0
%description
xfce4-mixer is the volume control plugin for the Xfce 4 panel. Includes a simple sound mixer.
%prep
%setup -q
%build
%configure --enable-final
%make -j1
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/xfce4-mixer
%{_libdir}/xfce4/panel/plugins/libmixer.la
%{_libdir}/xfce4/panel/plugins/libmixer.so
%{_datadir}/applications/xfce4-mixer.desktop
%{_mandir}/man1/xfce4-mixer.1.gz
%{_datadir}/pixmaps/xfce4-mixer/chain-broken.png
%{_datadir}/pixmaps/xfce4-mixer/chain.png
%dir %{_datadir}/xfce4-mixer/*
%{_datadir}/xfce4-mixer/icons/hicolor/16x16/status/audio-input-microphone-muted.png
%{_datadir}/xfce4-mixer/icons/hicolor/scalable/status/audio-input-microphone-muted.svg
%{_datadir}/xfce4/panel/plugins/mixer.desktop
%doc AUTHORS COPYING
#ChangeLog NEWS README
%changelog
* Thu Oct 09 2014 Automatic Build System <autodist@mambasoft.it> 4.11.0-1mamba
- automatic version update by autodist
* Tue Oct 23 2012 Automatic Build System <autodist@mambasoft.it> 4.10.0-1mamba
- update to 4.10.0
* Mon Feb 21 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 4.6.1-3mamba
- rebuilt with 4.8 (xfce4-mixer for 4.8 is still unavailable)
* Wed May 20 2009 Automatic Build System <autodist@mambasoft.it> 4.6.1-2mamba
- automatic rebuild by autodist
* Sat May 02 2009 Automatic Build System <autodist@mambasoft.it> 4.6.1-1mamba
- automatic update to 4.6.1 by autodist
* Sun Mar 22 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.6.0-1mamba
- automatic update to 4.6.0 by autodist
* Thu Dec 18 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.3-1mamba
- update to 4.4.3
* Sat Apr 28 2007 Tiziano Pratellesi <tiziano.pratellesi@openmamba.org> 4.4.1-1mamba
- update to 4.4.1
* Thu Mar 22 2007 Tiziano Pratellesi <tiziano.pratellesi@openmamba.org> 4.4.0-1qilnx
- update to 4.4.0
* Mon Sep 25 2006 Tiziano Pratellesi <info@mycare.it> 4.3.99.1-1qilnx
- update to 4.3.99.1
* Thu Sep 21 2006 Tiziano Pratellesi <info@mycare.it> 4.3.90.2-1qilnx
- update to 4.3.90.2
* Tue Sep 19 2006 Tiziano Pratellesi <info@mycare.it> 4.2.3-1qilnx
- package created by autospec