Multi-user architecture compliance 22/20422/1 accepted/tizen_3.0.2014.q3_common tizen_3.0.2014.q3_common submit/tizen_common/20140523.091147 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release
authorJean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
Wed, 7 May 2014 08:21:50 +0000 (10:21 +0200)
committerJean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
Wed, 7 May 2014 08:21:50 +0000 (10:21 +0200)
Bug-tizen: PTREL-796

Change-Id: I178e272cddbc12c5313b4aeb4532cdbdde186353
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
packaging/org.tizen.bt-syspopup.spec

index ec7916f..d31032e 100644 (file)
@@ -1,9 +1,5 @@
 %bcond_with wayland
 
-%define _optdir /opt
-%define _usrdir /usr
-%define _appdir %{_optdir}/apps
-
 Name:       org.tizen.bt-syspopup
 Summary:    bluetooth system-popup application (bluetooth system popup)
 Version:    0.2.56
@@ -49,7 +45,7 @@ export CFLAGS+=" -fpie -fvisibility=hidden"
 export LDFLAGS+=" -Wl,--rpath=/usr/lib -Wl,--as-needed -Wl,--unresolved-symbols=ignore-in-shared-libs -pie"
 
 cmake . \
-    -DCMAKE_INSTALL_PREFIX=%{_appdir}/org.tizen.bt-syspopup \
+    -DCMAKE_INSTALL_PREFIX=%{TZ_SYS_RW_APP}/org.tizen.bt-syspopup \
 %if %{with wayland}
     -DWAYLAND_SUPPORT=On \
 %else
@@ -72,7 +68,7 @@ rm -rf %{buildroot}
 %files
 %manifest org.tizen.bt-syspopup.manifest
 %defattr(-,root,root,-)
-%{_usrdir}/share/packages/org.tizen.bt-syspopup.xml
-%{_appdir}/org.tizen.bt-syspopup/bin/bt-syspopup
-%{_appdir}/org.tizen.bt-syspopup/res/edje/*.edj
-%{_optdir}/share/icons/default/small/org.tizen.bt-syspopup.png
+%{TZ_SYS_RO_PACKAGES}/org.tizen.bt-syspopup.xml
+%{TZ_SYS_RW_APP}/org.tizen.bt-syspopup/bin/bt-syspopup
+%{TZ_SYS_RW_APP}/org.tizen.bt-syspopup/res/edje/*.edj
+%{TZ_SYS_SHARE}/icons/default/small/org.tizen.bt-syspopup.png