xfce4-mixer/xfce4-mixer.spec

155 lines
4.9 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: xfce4-mixer
Version: 4.18.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: https://www.xfce.org/
Source: https://github.com/xfce-mirror/xfce4-mixer.git/master@ce642ac52e0bed7495261694fd630748bf71157f/xfce4-mixer-%{version}.tar.bz2
#Source: http://www.xfce.org/archive/xfce-%{version}/src/xfce4-mixer-%{version}.tar.bz2
Patch0: xfce4-mixer-4.11.0.20210123git-libalsa-1.2.4.patch
Patch1: xfce4-mixer-4.11.0.20210123git-no-full-debug-default-for-git.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libalsa-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libbrotli-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgstreamer-devel
BuildRequires: libgtk3-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libkeybinder-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libsystemd-devel
BuildRequires: libxfce4ui-devel
BuildRequires: libxfce4util-devel
BuildRequires: libxfconf-devel
BuildRequires: libz-devel
BuildRequires: xfce4-panel-devel
## AUTOBUILDREQ-END
BuildRequires: libxfce4util-devel >= 4.16.0
BuildRequires: libunique1-devel
BuildRequires: libxfce4ui-devel >= 4.16.0
Requires: xfce4-panel >= 4.16.0
%description
xfce4-mixer is the volume control plugin for the Xfce 4 panel. Includes a simple sound mixer.
%debug_package
%prep
%setup -q
%patch 0 -p1
%patch 1 -p1
NOCONFIGURE=1 ./autogen.sh
%build
%configure \
--enable-maintainer-mode
%make -j1
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%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.so
%{_datadir}/applications/xfce4-mixer.desktop
%{_datadir}/pixmaps/xfce4-mixer/chain-broken.png
%{_datadir}/pixmaps/xfce4-mixer/chain.png
%{_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
%{_mandir}/man1/xfce4-mixer.1*
%doc AUTHORS COPYING
#ChangeLog NEWS README
%changelog
* Mon May 01 2023 Automatic Build System <autodist@mambasoft.it> 4.18.0-1mamba
- automatic version update by autodist
* Sun Dec 19 2021 Automatic Build System <autodist@mambasoft.it> 4.15.0.76572502-1mamba
- automatic version update by autodist
* Sat Apr 03 2021 Automatic Build System <autodist@mambasoft.it> 4.15.0-1mamba
- automatic version update by autodist
* Sat Jan 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.0.20210123git-1mamba
- update to 4.11.0.20210123git
* Sat Jan 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.0-3mamba
- rebuilt with xfce 4.16
* Thu Mar 26 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.0-2mamba
- rebuilt by autoport with build requirements: libxfce4util-devel>=4.12.1-1mamba
* 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