|
|
3fe5b5 |
Name: kmix
|
|
|
3fe5b5 |
Summary: KDE volume control
|
|
|
3fe5b5 |
Version: 4.10.5
|
|
|
dad829 |
Release: 4%{?dist}
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
# code is LGPLv2+ except for gui/osdwidget.* which is GPLv2+
|
|
|
3fe5b5 |
# docs GFDL
|
|
|
3fe5b5 |
License: GPLv2+ and GFDL
|
|
|
3fe5b5 |
URL: https://projects.kde.org/projects/kde/kdemultimedia/%{name}
|
|
|
3fe5b5 |
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
3fe5b5 |
%if %{revision} >= 50
|
|
|
3fe5b5 |
%global stable unstable
|
|
|
3fe5b5 |
%else
|
|
|
3fe5b5 |
%global stable stable
|
|
|
3fe5b5 |
%endif
|
|
|
3fe5b5 |
Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar.xz
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
## upstream patches
|
|
|
3fe5b5 |
# pull a few from master/ branch, not officially backported
|
|
|
3fe5b5 |
Patch101: 0001-MPRIS2-backend-now-does-a-asynchonous-DBUS-instrospe.patch
|
|
|
3fe5b5 |
Patch102: 0002-Use-a-fixed-volume-step-of-n-instead-of-honoring-mou.patch
|
|
|
3fe5b5 |
Patch103: 0003-Global-Keyboard-Shortcuts-XF86Audio-now-only-affect-.patch
|
|
|
3fe5b5 |
Patch104: 0004-memoryLeak.patch
|
|
|
3fe5b5 |
Patch105: 0005-Less-debugging-output.patch
|
|
|
3fe5b5 |
Patch106: 0006-Revert-my-direct-use-of-ControlManager-instance-.ann.patch
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
BuildRequires: desktop-file-utils
|
|
|
3fe5b5 |
BuildRequires: kdelibs4-devel >= %{version}
|
|
|
3fe5b5 |
BuildRequires: pkgconfig(alsa)
|
|
|
3fe5b5 |
BuildRequires: pkgconfig(libcanberra)
|
|
|
3fe5b5 |
BuildRequires: pkgconfig(libpulse) pkgconfig(libpulse-mainloop-glib)
|
|
|
3fe5b5 |
BuildRequires: pkgconfig(phonon)
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
Requires: kde-runtime%{?_kde4_version: >= %{_kde4_version}}
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
# when split occurred
|
|
|
3fe5b5 |
Obsoletes: kdemultimedia-kmix < 6:4.8.80
|
|
|
3fe5b5 |
Provides: kdemultimedia-kmix = 6:%{version}-%{release}
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
%description
|
|
|
3fe5b5 |
%{summary}.
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
%prep
|
|
|
3fe5b5 |
%setup -q
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
%patch101 -p1 -b .0001
|
|
|
3fe5b5 |
%patch102 -p1 -b .0002
|
|
|
3fe5b5 |
%patch103 -p1 -b .0003
|
|
|
3fe5b5 |
%patch104 -p1 -b .0004
|
|
|
3fe5b5 |
%patch105 -p1 -b .0005
|
|
|
3fe5b5 |
%patch106 -p1 -b .0006
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
%build
|
|
|
3fe5b5 |
mkdir -p %{_target_platform}
|
|
|
3fe5b5 |
pushd %{_target_platform}
|
|
|
3fe5b5 |
%{cmake_kde4} ..
|
|
|
3fe5b5 |
popd
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
%install
|
|
|
3fe5b5 |
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
# fix documentation multilib conflict in index.cache
|
|
|
3fe5b5 |
bunzip2 %{buildroot}%{_kde4_docdir}/HTML/en/kmix/index.cache.bz2
|
|
|
3fe5b5 |
sed -i -e 's!name="id[a-z]*[0-9]*"!!g' %{buildroot}%{_kde4_docdir}/HTML/en/kmix/index.cache
|
|
|
3fe5b5 |
sed -i -e 's!#id[a-z]*[0-9]*"!!g' %{buildroot}%{_kde4_docdir}/HTML/en/kmix/index.cache
|
|
|
3fe5b5 |
bzip2 -9 %{buildroot}%{_kde4_docdir}/HTML/en/kmix/index.cache
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
%find_lang %{name} --with-kde --without-mo
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
%check
|
|
|
3fe5b5 |
desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/kmix.desktop
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
%post
|
|
|
3fe5b5 |
touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
%posttrans
|
|
|
3fe5b5 |
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
%postun
|
|
|
3fe5b5 |
if [ $1 -eq 0 ] ; then
|
|
|
3fe5b5 |
touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
|
|
|
3fe5b5 |
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
|
|
|
3fe5b5 |
fi
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
%files -f %{name}.lang
|
|
|
3fe5b5 |
%doc AUTHORS ChangeLog COPYING COPYING.DOC TODO
|
|
|
3fe5b5 |
%{_kde4_appsdir}/kmix/
|
|
|
3fe5b5 |
%{_kde4_appsdir}/plasma/services/mixer.operations
|
|
|
3fe5b5 |
%{_kde4_bindir}/kmix
|
|
|
3fe5b5 |
%{_kde4_bindir}/kmixctrl
|
|
|
3fe5b5 |
%{_kde4_datadir}/applications/kde4/kmix.desktop
|
|
|
3fe5b5 |
%{_kde4_datadir}/autostart/*.desktop
|
|
|
3fe5b5 |
%{_kde4_datadir}/dbus-1/interfaces/org.kde.kmix.control.xml
|
|
|
3fe5b5 |
%{_kde4_datadir}/dbus-1/interfaces/org.kde.kmix.mixer.xml
|
|
|
3fe5b5 |
%{_kde4_datadir}/dbus-1/interfaces/org.kde.kmix.mixset.xml
|
|
|
3fe5b5 |
%{_kde4_datadir}/kde4/services/kded/kmixd.desktop
|
|
|
3fe5b5 |
%{_kde4_datadir}/kde4/services/kmixctrl_restore.desktop
|
|
|
3fe5b5 |
%{_kde4_datadir}/kde4/services/plasma-engine-mixer.desktop
|
|
|
3fe5b5 |
%{_kde4_iconsdir}/hicolor/*/*/kmix.*
|
|
|
3fe5b5 |
%{_kde4_libdir}/libkdeinit4_kmix.so
|
|
|
3fe5b5 |
%{_kde4_libdir}/libkdeinit4_kmixctrl.so
|
|
|
3fe5b5 |
%{_kde4_libdir}/kde4/kded_kmixd.so
|
|
|
3fe5b5 |
%{_kde4_libdir}/kde4/plasma_engine_mixer.so
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
%changelog
|
|
|
dad829 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 4.10.5-4
|
|
|
dad829 |
- Mass rebuild 2014-01-24
|
|
|
dad829 |
|
|
|
dad829 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 4.10.5-3
|
|
|
dad829 |
- Mass rebuild 2013-12-27
|
|
|
dad829 |
|
|
|
3fe5b5 |
* Thu Jul 11 2013 Rex Dieter <rdieter@fedoraproject.org> 4.10.5-2
|
|
|
3fe5b5 |
- backport memleak-on-track-change fix (kde#309464, #912457)
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Sun Jun 30 2013 Than Ngo <than@redhat.com> - 4.10.5-1
|
|
|
3fe5b5 |
- 4.10.5
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Sat Jun 01 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.4-1
|
|
|
3fe5b5 |
- 4.10.4
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Mon May 06 2013 Than Ngo <than@redhat.com> - 4.10.3-1
|
|
|
3fe5b5 |
- 4.10.3
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Thu Apr 25 2013 Than Ngo <than@redhat.com> - 4.10.2-3
|
|
|
3fe5b5 |
- fix multilib issue
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Wed Apr 17 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.2-2
|
|
|
3fe5b5 |
- backport some patches from master branch
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Mon Apr 01 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.2-1
|
|
|
3fe5b5 |
- 4.10.2
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Mon Mar 18 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.1-2
|
|
|
3fe5b5 |
- pull a few upstream patches, in particular...
|
|
|
3fe5b5 |
- kmix crahes moving streams between sinks (#922849)
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Sat Mar 02 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.1-1
|
|
|
3fe5b5 |
- 4.10.1
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Fri Feb 01 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.0-1
|
|
|
3fe5b5 |
- 4.10.0
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Tue Jan 22 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.9.98-1
|
|
|
3fe5b5 |
- 4.9.98
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Fri Jan 04 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.9.97-1
|
|
|
3fe5b5 |
- 4.9.97
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Thu Dec 20 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.9.95-1
|
|
|
3fe5b5 |
- 4.9.95
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Tue Dec 04 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.9.90-1
|
|
|
3fe5b5 |
- 4.9.90
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Mon Dec 03 2012 Than Ngo <than@redhat.com> - 4.9.4-1
|
|
|
3fe5b5 |
- 4.9.4
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Thu Nov 22 2012 Than Ngo <than@redhat.com> - 4.9.3-2
|
|
|
3fe5b5 |
- fix license issue
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Sat Nov 03 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.9.3-1
|
|
|
3fe5b5 |
- 4.9.3
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Sat Sep 29 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.9.2-1
|
|
|
3fe5b5 |
- 4.9.2
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Mon Sep 03 2012 Than Ngo <than@redhat.com> - 4.9.1-1
|
|
|
3fe5b5 |
- 4.9.1
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Thu Jul 26 2012 Lukas Tinkl <ltinkl@redhat.com> - 4.9.0-1
|
|
|
3fe5b5 |
- 4.9.0
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.8.97-2
|
|
|
3fe5b5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Wed Jul 11 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.8.97-1
|
|
|
3fe5b5 |
- 4.8.97
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Thu Jun 28 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.8.95-1
|
|
|
3fe5b5 |
- 4.8.95
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Wed Jun 13 2012 Rex Dieter <rdieter@fedoraproject.org> 4.8.90-2
|
|
|
3fe5b5 |
- License: GPLv2+ and GFDL
|
|
|
3fe5b5 |
|
|
|
3fe5b5 |
* Fri Jun 08 2012 Rex Dieter <rdieter@fedoraproject.org> 4.8.90-1
|
|
|
3fe5b5 |
- kmix-4.8.90
|
|
|
3fe5b5 |
|