67 lines
1.8 KiB
RPMSpec
67 lines
1.8 KiB
RPMSpec
Name: callaudiod
|
|
Version: 0.1.7
|
|
Release: 1
|
|
Summary: Daemon for dealing with audio routing during phone calls
|
|
License: GPLv3+
|
|
URL: https://gitlab.com/mobian1/callaudiod
|
|
Source0: https://gitlab.com/mobian1/callaudiod/-/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: gcc gcc-c++ meson
|
|
BuildRequires: pkgconfig(alsa)
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
BuildRequires: pkgconfig(libpulse)
|
|
BuildRequires: pkgconfig(libpulse-mainloop-glib)
|
|
|
|
%description
|
|
callaudiod is a daemon for dealing with audio routing during phone calls.
|
|
It provides a D-Bus interface allowing other programs to:
|
|
|
|
switch audio profiles
|
|
output audio to the speaker or back to its original port
|
|
mute the microphone
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc README.md
|
|
%{_bindir}/%{name}
|
|
%{_bindir}/callaudiocli
|
|
%dir %{_includedir}/libcallaudio-0.1
|
|
%{_libdir}/libcallaudio-0.1.so.0
|
|
%{_datadir}/dbus-1/interfaces/org.mobian_project.CallAudio.xml
|
|
%{_datadir}/dbus-1/services/org.mobian_project.CallAudio.service
|
|
|
|
%files devel
|
|
%{_includedir}/libcallaudio-0.1/libcallaudio.h
|
|
%{_includedir}/libcallaudio-0.1/libcallaudio-enums.h
|
|
%{_libdir}/libcallaudio-0.1.so
|
|
%{_libdir}/pkgconfig/libcallaudio-0.1.pc
|
|
|
|
%changelog
|
|
* Thu Nov 23 2023 zhangxianting <zhangxianting@uniontech.com> - 0.1.7-1
|
|
- update to version 0.1.7
|
|
|
|
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 0.1.6-1
|
|
- Update to 0.1.6
|
|
|
|
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 0.1.4-1
|
|
- Initial packaging
|