diff options
author | Xavier Roche <xavier.roche@eurogiciel.fr> | 2013-06-26 16:37:47 +0200 |
---|---|---|
committer | Xavier Roche <xavier.roche@eurogiciel.fr> | 2013-06-26 16:37:47 +0200 |
commit | 4728d38df68493454ef4908d5a8e7ce7dfa1e765 (patch) | |
tree | 2d0bc83536b83395c6d45f56f9cf12ecba4445a9 /packaging/wrt-widgets.spec | |
parent | fd02c2de6fac24ba25359390c70834bfd2192eb0 (diff) | |
download | wrt-widgets-4728d38df68493454ef4908d5a8e7ce7dfa1e765.tar.gz wrt-widgets-4728d38df68493454ef4908d5a8e7ce7dfa1e765.tar.bz2 wrt-widgets-4728d38df68493454ef4908d5a8e7ce7dfa1e765.zip |
Clean up package
- cleanup specfile
- rename specfile and changelog
Diffstat (limited to 'packaging/wrt-widgets.spec')
-rw-r--r-- | packaging/wrt-widgets.spec | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/packaging/wrt-widgets.spec b/packaging/wrt-widgets.spec new file mode 100644 index 0000000..99ddb31 --- /dev/null +++ b/packaging/wrt-widgets.spec @@ -0,0 +1,51 @@ +Name: wrt-widgets +Summary: Wrt-widgets Installer +Version: 0.1 +Release: 1 +Group: Web Framework/Web Run Time +License: Apache-2.0 +Source0: %{name}-%{version}.tar.gz +Requires: wrt +Requires: wrt-commons +Requires: wrt-installer +Requires: wrt-plugins-tizen +Requires: wrt-security +Requires: daemon-launch-config-pc +Requires: dbus-config-pc +Requires: nodejs +Requires: web-ui-fw +Requires: web-ui-fw-demo-tizen-winsets +Requires: web-ui-fw-theme-default +Requires: web-ui-fw-theme-tizen-black +Requires: web-ui-fw-theme-tizen-white +Requires: web-ui-fw-devel + +%description +Wrt-widgets prepare a suitable pc oriented environment to install WRT widgets +After installing wrt-widgets, launch install_widgets.sh script as root to install them. + +%prep +%setup -q + +%build + +%install + +mkdir -p %{buildroot}/%{_bindir} +cp install_widgets.sh %{buildroot}/%{_bindir} +cp prepare_widgets.sh %{buildroot}/%{_bindir} + +if [ ! -d %{buildroot}/%{_datadir}/widget_demo ] +then + mkdir -p %{buildroot}/%{_datadir}/widget_demo +fi + +cp -r *.wgt %{buildroot}/%{_datadir}/widget_demo/ + +%post +%{_bindir}/prepare_widgets.sh + +%files +%{_datadir}/widget_demo/*.wgt +%attr(755,root,root) %{_bindir}/install_widgets.sh +%attr(755,root,root) %{_bindir}/prepare_widgets.sh |