summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorJaeyun Jeong <jyjeong@samsung.com>2012-11-10 11:10:11 +0900
committerJaeyun Jeong <jyjeong@samsung.com>2012-11-10 11:18:16 +0900
commitef1320f9d130492564d2c4a2cf407b578caeb0d4 (patch)
tree72d9f790bfd9b2b71ec4ef4a8abc18b62d548a84 /packaging
parent2649baee50eacf5760c260654b0ae91e6700ee50 (diff)
downloadmessage-app-ef1320f9d130492564d2c4a2cf407b578caeb0d4.tar.gz
message-app-ef1320f9d130492564d2c4a2cf407b578caeb0d4.tar.bz2
message-app-ef1320f9d130492564d2c4a2cf407b578caeb0d4.zip
Change application path from '/opt' to '/usr'.
Change-Id: I752cd122cfbf36aa9d478afdb35cf7f4e22a405f
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/org.tizen.message.spec38
1 files changed, 20 insertions, 18 deletions
diff --git a/packaging/org.tizen.message.spec b/packaging/org.tizen.message.spec
index 5f15bd5..2f86fa6 100755
--- a/packaging/org.tizen.message.spec
+++ b/packaging/org.tizen.message.spec
@@ -1,6 +1,6 @@
Name: org.tizen.message
Summary: message application
-Version: 0.8.23
+Version: 0.8.24
Release: 1
Group: devel
License: Samsung
@@ -52,11 +52,11 @@ message application.
%build
-%define PREFIX "/opt/apps/org.tizen.message"
-%define RESDIR "/opt/apps/org.tizen.message/res"
-%define DATADIR "/opt/apps/org.tizen.message/data"
+%define PREFIX "/usr/apps/org.tizen.message"
+%define RESDIR "/usr/apps/org.tizen.message/res"
+%define DATADIR "/opt/usr/apps/org.tizen.message/data"
LDFLAGS+="-Wl,--rpath=%{PREFIX}/lib -Wl,--as-needed -Wl,--hash-style=both"; export LDFLAGS
-cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX}
+cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX} -DCMAKE_INSTALL_DATADIR=%{DATADIR}
# CMakeLists.Txt needs to be fixed for parallel build to work
make #%{?jobs:-j%jobs}
@@ -68,25 +68,27 @@ rm -rf %{buildroot}
vconftool set -t int db/private/org.tizen.message/font_size 0 -u 5000
vconftool set -t int db/private/org.tizen.message/mdm_status 0 -u 5000
vconftool set -t bool db/private/org.tizen.message/use_volume_key 0 -u 5000
-#mkdir -p %{buildroot}/opt/apps/org.tizen.message/data
-chown -R 5000:5000 /opt/apps/org.tizen.message/data
-mkdir -p /opt/ug/bin
-ln -sf /usr/bin/ug-client /opt/ug/bin/msg-composer-efl
+chown -R 5000:5000 /opt/usr/apps/org.tizen.message/data
+mkdir -p /usr/ug/bin
+ln -sf /usr/bin/ug-client /usr/ug/bin/msg-composer-efl
%files
%manifest %{name}.manifest
%defattr(-,root,root,-)
-/opt/apps/org.tizen.message/bin/message
-/opt/apps/org.tizen.message/lib/*
-/opt/apps/org.tizen.message/bin/message-dialog
-/opt/apps/org.tizen.message/bin/msg-ui-class0
-/opt/share/packages/*.xml
-/opt/apps/org.tizen.message/res/*
-/opt/ug/lib/*.so
-%dir /opt/apps/org.tizen.message/data
-/opt/share/icons/default/small/*.png
+/usr/apps/org.tizen.message/bin/message
+/usr/apps/org.tizen.message/lib/*
+/usr/apps/org.tizen.message/bin/message-dialog
+/usr/apps/org.tizen.message/bin/msg-ui-class0
+/usr/share/packages/*.xml
+/usr/apps/org.tizen.message/res/*
+/usr/ug/lib/*.so
+%dir /opt/usr/apps/org.tizen.message/data
+/usr/share/icons/default/small/*.png
%changelog
+* Sat Nov 10 2012 Jaeyun Jeong <jyjeong@samsung.com>
+- Change application path from '/opt' to '/usr'.
+
* Fri Oct 26 2012 Jaeyun Jeong <jyjeong@samsung.com>
- Fix build errors.
- Fix cmaketext file.