summaryrefslogtreecommitdiff
path: root/packaging/org.tizen.setting-wifi.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/org.tizen.setting-wifi.spec')
-rw-r--r--packaging/org.tizen.setting-wifi.spec41
1 files changed, 41 insertions, 0 deletions
diff --git a/packaging/org.tizen.setting-wifi.spec b/packaging/org.tizen.setting-wifi.spec
new file mode 100644
index 0000000..95f9b70
--- /dev/null
+++ b/packaging/org.tizen.setting-wifi.spec
@@ -0,0 +1,41 @@
+Name: org.tizen.setting-wifi
+summary: NUI wifi setting application
+Version: 1.0.0
+Release: 1
+Provides: org.tizen.setting-wifi = %{version}-%{release}
+Group: Applications/Security
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+
+Requires(post): /usr/bin/pkgcmd
+Requires(post): /usr/sbin/cyad
+
+%description
+NUI application for managing wifi functionalities
+
+%define tpk_pkgid org.tizen.cssetting-wifi
+%define preload_tpk_path /usr/apps/.preload-tpk
+
+%prep
+%setup -q
+
+%build
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/%{preload_tpk_path}
+install packaging/%{tpk_pkgid}-%{version}.tpk %{buildroot}/%{preload_tpk_path}/
+
+%post
+# Uncomment following lines to test tpk installation
+#pkgcmd -it tpk -p %{preload_tpk_path}/%{tpk_pkgid}-%{version}.tpk
+
+cyad -s -k MANIFESTS_GLOBAL -c User::Pkg::%{tpk_pkgid} -u 5001 -p http://tizen.org/privilege/notexist -t ALLOW
+
+# Uncomment following lines to test preload tpk installation on image creation
+#pkg_initdb --ro
+#install_preload_pkg
+
+%files
+%defattr(-,root,root,-)
+%{preload_tpk_path}/*