add bluetooth-api.pc symbolic link for compatibility 66/27466/2
authorCorentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Wed, 10 Sep 2014 13:34:16 +0000 (15:34 +0200)
committerCorentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Fri, 19 Sep 2014 09:27:02 +0000 (11:27 +0200)
Change-Id: I3d4e405dab453426cbe35164132b8ad4f73efd97

packaging/bluetooth-frwk.spec

index 9908b59..b85a606 100644 (file)
@@ -51,6 +51,10 @@ make %{?jobs:-j%jobs}
 
 %install
 %make_install
+install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/icons/default/bt-icon.png
+
+# also install bluetooth-api.pc file for compatibility with other components
+ln -sf %{_libdir}/pkgconfig/capi-network-bluetooth.pc %{buildroot}%{_libdir}/pkgconfig/bluetooth-api.pc
 
 %post -p /sbin/ldconfig
 
@@ -77,4 +81,5 @@ make %{?jobs:-j%jobs}
 %files devel
 %{_includedir}/network/bluetooth.h
 %{_libdir}/pkgconfig/capi-network-bluetooth.pc
+%{_libdir}/pkgconfig/bluetooth-api.pc
 %{_libdir}/libcapi-network-bluetooth.so