X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fbluetooth-agent.spec;h=3b5b4134423bc0258c24932584a4d429ec71f474;hb=4ef25ddcc24cea979bb2332121045024c324ef7c;hp=f6c36e0d3da401315b3ecb617e8952b39c2ab782;hpb=7d38f3993a665ee6837873d548e68e3f9c85ddef;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-agent.git diff --git a/packaging/bluetooth-agent.spec b/packaging/bluetooth-agent.spec index f6c36e0..3b5b413 100644 --- a/packaging/bluetooth-agent.spec +++ b/packaging/bluetooth-agent.spec @@ -2,7 +2,7 @@ Name: bluetooth-agent Summary: Bluetooth agent packages that support various external profiles -Version: 0.6.0 +Version: 0.7.5 Release: 1 Group: Network & Connectivity/Bluetooth License: Apache-2.0 @@ -11,6 +11,7 @@ Source1001: bluetooth-agent.manifest BuildRequires: pkgconfig(aul) BuildRequires: pkgconfig(bluetooth-api) +BuildRequires: pkgconfig(capi-media-audio-io) # The profile macro usage with the following comments may be removed after # Tizen OBS build projects are merged. However, each vendor may keep using @@ -98,6 +99,12 @@ Group: Network & Connectivity/Bluetooth %description ipsp Bluetooth agent binary compiled for IPSP(Internet Protocol Support Profile) +%package tool +Summary: Test Application for HF + +%description tool +Test Application for HF + %prep %setup -q cp %{SOURCE1001} . @@ -110,7 +117,7 @@ export CFLAGS="$CFLAGS -DTIZEN_FEATURE_BT_MEDIA_ENHANCE" export CFLAGS="$CFLAGS -DTIZEN_FEATURE_BT_HFP_AG" export CFLAGS="$CFLAGS -DTIZEN_SUPPORT_DUAL_HF" -%ifarch aarch64 x86_64 +%ifarch aarch64 x86_64 riscv64 echo arch64 export CFLAGS+=" -DARCH64" export CXXFLAGS+=" -DARCH64" @@ -148,6 +155,8 @@ find . -name '*.gcno' -exec cp '{}' gcov-obj ';' rm -rf %{buildroot} %make_install +mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants/ + # This usage of profile macro does NOT conflict 4.0 configurability. #%if "%{?profile}" != "mobile" && "%{?profile}" != "tv" # Original: wearable, ivi. Added: common, "undefined" @@ -163,6 +172,7 @@ install -D -m 0644 packaging/bluetooth-pbap-agent.service %{buildroot}%{_unitdir install -D -m 0644 packaging/bluetooth-ag-agent.service %{buildroot}%{_unitdir}/bluetooth-ag-agent.service install -D -m 0644 packaging/bluetooth-hf-agent.service %{buildroot}%{_unitdir}/bluetooth-hf-agent.service install -D -m 0644 packaging/bluetooth-hid-agent.service %{buildroot}%{_unitdir}/bluetooth-hid-agent.service +ln -s ../bluetooth-hf-agent.service %{buildroot}%{_unitdir}/multi-user.target.wants/bluetooth-hf-agent.service %if 0%{?gcov:1} mkdir -p %{buildroot}%{_datadir}/gcov/obj/%{name} @@ -202,6 +212,7 @@ popd %{_datadir}/dbus-1/system-services/org.bluez.hf_agent.service %{_sysconfdir}/dbus-1/system.d/bluetooth-hf-agent.conf %{_unitdir}/bluetooth-hf-agent.service +%{_unitdir}/multi-user.target.wants/bluetooth-hf-agent.service #%exclude %{_unitdir}/bluetooth-map-agent.service #%exclude %{_unitdir}/bluetooth-pbap-agent.service @@ -235,3 +246,6 @@ popd %{_bindir}/bluetooth-ipsp-agent %{_datadir}/dbus-1/system-services/org.bluez.ipsp_agent.service %{_sysconfdir}/dbus-1/system.d/bluetooth-ipsp-agent.conf + +%files tool +%{_bindir}/hf-test