summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/capi-social-contacts.manifest5
-rw-r--r--[-rwxr-xr-x]packaging/capi-social-contacts.spec4
2 files changed, 9 insertions, 0 deletions
diff --git a/packaging/capi-social-contacts.manifest b/packaging/capi-social-contacts.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/capi-social-contacts.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/capi-social-contacts.spec b/packaging/capi-social-contacts.spec
index 23c43c1..bb6d1b9 100755..100644
--- a/packaging/capi-social-contacts.spec
+++ b/packaging/capi-social-contacts.spec
@@ -5,6 +5,7 @@ Release: 30
Group: TO_BE/FILLED_IN
License: TO BE FILLED IN
Source0: %{name}-%{version}.tar.gz
+Source1001: packaging/capi-social-contacts.manifest
BuildRequires: cmake
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(glib-2.0)
@@ -40,6 +41,7 @@ Requires: %{name} = %{version}-%{release}
%build
+cp %{SOURCE1001} .
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
@@ -56,9 +58,11 @@ rm -rf %{buildroot}
%files
+%manifest capi-social-contacts.manifest
%{_libdir}/libcapi-social-contacts.so.*
%files devel
+%manifest capi-social-contacts.manifest
%{_includedir}/social/*.h
%{_libdir}/pkgconfig/*.pc
%{_libdir}/libcapi-social-contacts.so