[6725] | 1 | Name: kmix |
---|
| 2 | Summary: KDE Sound Mixer |
---|
| 3 | Summary(ja): KDE サウンドミキサー |
---|
[8056] | 4 | Version: 4.11.4 |
---|
[6725] | 5 | Release: 1%{?_dist_release} |
---|
| 6 | |
---|
| 7 | Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
---|
| 8 | |
---|
| 9 | License: GPLv2+ |
---|
| 10 | Group: Applications/Multimedia |
---|
| 11 | URL: http://www.kde.org/ |
---|
| 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | |
---|
| 15 | BuildRequires: kdelibs4-devel >= %{version} |
---|
| 16 | BuildRequires: glib2-devel |
---|
| 17 | BuildRequires: alsa-lib-devel |
---|
| 18 | #BuildRequires: libmusicbrainz3-devel |
---|
| 19 | #BuildRequires: libvorbis-devel |
---|
| 20 | BuildRequires: pulseaudio-libs-devel |
---|
| 21 | BuildRequires: libcanberra-devel |
---|
| 22 | BuildRequires: soprano-devel |
---|
| 23 | #BuildRequires: taglib-devel |
---|
| 24 | #BuildRequires: xine-lib-devel libxcb-devel |
---|
| 25 | |
---|
| 26 | Requires: kdelibs4 >= %{version} |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | %description |
---|
| 30 | KMix is an application to allow you to change the volume of your sound card. |
---|
| 31 | Though small, it is full-featured, and it supports several platforms and sound drivers. |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %prep |
---|
| 35 | %setup -q |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | %build |
---|
| 39 | mkdir -p %{_target_platform} |
---|
| 40 | pushd %{_target_platform} |
---|
| 41 | %cmake \ |
---|
| 42 | -DCMAKE_BUILD_TYPE=release \ |
---|
| 43 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
| 44 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
| 45 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
| 46 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
| 47 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
| 48 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
| 49 | .. |
---|
| 50 | popd |
---|
| 51 | |
---|
| 52 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 53 | |
---|
| 54 | %install |
---|
| 55 | rm -rf $RPM_BUILD_ROOT |
---|
| 56 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
| 57 | |
---|
| 58 | %clean |
---|
| 59 | rm -rf $RPM_BUILD_ROOT |
---|
| 60 | |
---|
| 61 | %post |
---|
| 62 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 63 | |
---|
| 64 | %posttrans |
---|
| 65 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 66 | update-desktop-database -q &> /dev/null ||: |
---|
| 67 | |
---|
| 68 | %postun |
---|
| 69 | if [ $1 -eq 0 ] ; then |
---|
| 70 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 71 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 72 | update-desktop-database -q &> /dev/null ||: |
---|
| 73 | fi |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | %files |
---|
| 77 | %defattr(-,root,root) |
---|
| 78 | %{_bindir}/kmix |
---|
| 79 | %{_bindir}/kmixctrl |
---|
| 80 | %{_libdir}/libkdeinit4_kmix.so |
---|
| 81 | %{_libdir}/libkdeinit4_kmixctrl.so |
---|
| 82 | %{_libdir}/kde4/kded_kmixd.so |
---|
| 83 | %{_libdir}/kde4/plasma_engine_mixer.so |
---|
| 84 | %{_datadir}/applications/kde4/kmix.desktop |
---|
| 85 | %{_datadir}/autostart/kmix_autostart.desktop |
---|
| 86 | %{_datadir}/autostart/restore_kmix_volumes.desktop |
---|
| 87 | %{_datadir}/dbus-1/interfaces/* |
---|
| 88 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 89 | %{_datadir}/kde4/apps/kmix |
---|
| 90 | %{_datadir}/kde4/apps/plasma/services/mixer.operations |
---|
| 91 | %{_datadir}/kde4/services/* |
---|
| 92 | %{_docdir}/HTML/en/kmix/ |
---|
| 93 | |
---|
| 94 | |
---|
| 95 | %changelog |
---|
[8056] | 96 | * Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
| 97 | - new upstream release |
---|
| 98 | |
---|
[7801] | 99 | * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
| 100 | - new upstream release |
---|
| 101 | |
---|
[7728] | 102 | * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1 |
---|
| 103 | - new upstream release |
---|
| 104 | |
---|
[7294] | 105 | * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1 |
---|
| 106 | - new upstream release |
---|
| 107 | |
---|
[7105] | 108 | * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1 |
---|
| 109 | - new upstream release |
---|
| 110 | |
---|
[6899] | 111 | * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1 |
---|
| 112 | - new upstream release |
---|
| 113 | |
---|
[6797] | 114 | * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1 |
---|
| 115 | - new upstream release |
---|
| 116 | |
---|
[6725] | 117 | * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1 |
---|
| 118 | - initial build |
---|