Package pnmixer: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | Name: pnmixer Version: 0.7.2 Release: alt3 %def_without gtk3 Summary: Volume mixer for the system tray License: %gpl3only Group: Graphical desktop/Other Url: https://github.com/nicklan/pnmixer Source: %name-%version.tar Patch: %name-%version-%release.patch Patch1: add-qasmixer.patch BuildRequires(pre): rpm-build-licenses rpm-macros-cmake BuildRequires: cmake gettext libalsa-devel libnotify-devel %if_without gtk3 BuildRequires: libgtk+2-devel %else BuildRequires: libgtk+3-devel %endif %define _unpackaged_files_terminate_build 1 %description PNMixer is a simple mixer application designed to run in your system tray. It integrates nicely into desktop environments that don't have a panel that supports applets and therefore can't run a mixer applet. In particular it's been used quite a lot with fbpanel and tint2, but should run fine in any system tray. PNMixer is designed to work on systems that use ALSA for sound management. Any other sound driver like OSS or FFADO are currently not supported (patches welcome). There is no *official* PulseAudio support at the moment, but it seems that PNMixer behaves quite well anyway when PA is running. Feel free to try and to give some feedback. %prep %setup %patch -p1 %patch1 -p2 %build %cmake \ %if_without gtk3 -DWITH_GTK3=OFF \ %else -DWITH_GTK3=ON \ %endif -DWITH_LIBNOTIFY=ON \ -DENABLE_NLS=ON \ -DBUILD_DOCUMENTATION=OFF \ -DCMAKE_CXX_COMPILER=/bin/true %cmake_build %install %cmakeinstall_std # Don't show PNMixer in the menu, # just autostart it instead. mkdir -p %buildroot%_sysconfdir/xdg/autostart/ mv %buildroot%_desktopdir/%name.desktop %buildroot%_sysconfdir/xdg/autostart/ %find_lang %name %files -f %name.lang %doc AUTHORS README.md %config %_sysconfdir/xdg/autostart/%name.desktop %_iconsdir/hicolor/128x128/apps/%name.png %_bindir/%name %_datadir/%name/ %_man1dir/* %changelog * Sat Mar 30 2019 Anton Midyukov <antohami@altlinux.org> 0.7.2-alt3 - Add qasmixer in default mixer list * Mon Jul 31 2017 Mikhail Efremov <sem@altlinux.org> 0.7.2-alt2 - Patch from upstream: + Clip volume between 0 and 100. * Mon Jun 19 2017 Mikhail Efremov <sem@altlinux.org> 0.7.2-alt1 - Ensure that card is not NULL. - Updated to 0.7.2. * Tue Sep 20 2016 Mikhail Efremov <sem@altlinux.org> 0.7-alt1 - Updated description. - Updated to 0.7. * Mon Sep 28 2015 Mikhail Efremov <sem@altlinux.org> 0.6.1-alt1 - Updated description. - Drop old Fedora patches. - Updated to 0.6.1. * Wed Jan 15 2014 Mikhail Efremov <sem@altlinux.org> 0.5.1-alt2 - Bump release because of the release in the autoimport repository is greater then alt1. Make robots happy. * Tue Jan 14 2014 Mikhail Efremov <sem@altlinux.org> 0.5.1-alt1 - Fix segfault if no channels found. - Fix icon in launcher. - Don't show PNMixer in the menu. - Add patches from Fedora. - Fix configure.in for current autotools. - Initial build. |