Add multi-user support
[platform/core/appfw/heynoti.git] / packaging / heynoti.spec
index 9ae21d2..a3a2ceb 100644 (file)
@@ -1,21 +1,21 @@
-#
-
 Name:           heynoti
 Version:        0.0.2
-Release:        39
-License:        Apache License, Version 2.0
+Release:        0
+License:        Apache-2.0
 Summary:        HEY (ligHt Easy speedy) notification library
 Group:          System/Libraries
 Source0:        %{name}-%{version}.tar.gz
-Source1001:    heynoti.manifest
+Source1001:     heynoti.manifest
 
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(dlog)
 BuildRequires:  pkgconfig(ecore)
 BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(libtzplatform-config)
 
 %description
-lightweight notification library, service APIs
+HEY (ligHt Easy speedy) notification library is a lightweight
+notification library with service APIs.
 
 %package devel
 Summary:        Notification library
@@ -24,7 +24,9 @@ Requires:       %{name} = %{version}
 Requires:       heynoti
 
 %description devel
-heynoti API (devel)
+Development files for HEY (ligHt Easy speedy) notification library. HEY
+is a lightweight notification library with service APIs.
+
 
 %prep
 %setup -q
@@ -40,7 +42,7 @@ make %{?_smp_mflags}
 %install
 %make_install
 
-mkdir -p %{buildroot}/opt/share/noti
+mkdir -p %{buildroot}%{TZ_SYS_SHARE}/noti
 
 %post -p /sbin/ldconfig
 
@@ -53,7 +55,7 @@ mkdir -p %{buildroot}/opt/share/noti
 %{_libdir}/libheynoti.so.0
 %{_libdir}/libheynoti.so.0.0.2
 %{_bindir}/heynotitool
-%attr(1755,root,root) /opt/share/noti
+%attr(1755,root,root) %{TZ_SYS_SHARE}/noti
 
 
 %files devel