diff options
-rw-r--r-- | packaging/wrt-widgets.changes | 3 | ||||
-rw-r--r-- | packaging/wrt-widgets.spec | 7 | ||||
-rw-r--r-- | wrt | 2 |
3 files changed, 12 insertions, 0 deletions
diff --git a/packaging/wrt-widgets.changes b/packaging/wrt-widgets.changes index a19486e..28572eb 100644 --- a/packaging/wrt-widgets.changes +++ b/packaging/wrt-widgets.changes @@ -1,3 +1,6 @@ +* Wed Jul 17 2013 Baptiste DURAND <baptiste.durand@eurogiciel.fr> accepted/trunk/20130716.080512@d81dc39 +- Add Environment wrt file + * Mon Jul 15 2013 Baptiste DURAND <baptiste.durand@eurogiciel.fr> submit/trunk/20130703.154146@112b3e5 - Add libprivilege-control-conf as Runtime dependency diff --git a/packaging/wrt-widgets.spec b/packaging/wrt-widgets.spec index 85ca665..cafdbb7 100644 --- a/packaging/wrt-widgets.spec +++ b/packaging/wrt-widgets.spec @@ -30,6 +30,12 @@ mkdir -p %{buildroot}/%{_bindir} cp install_widgets.sh %{buildroot}/%{_bindir} cp prepare_widgets.sh %{buildroot}/%{_bindir} +if [ ! -d %{buildroot}/%{_sysconfdir}/sysconfig ] +then + mkdir -p %{buildroot}/%{_sysconfdir}/sysconfig +fi +cp wrt %{buildroot}/%{_sysconfdir}/sysconfig/ + if [ ! -d %{buildroot}/%{_datadir}/widget_demo ] then mkdir -p %{buildroot}/%{_datadir}/widget_demo @@ -44,3 +50,4 @@ cp -r *.wgt %{buildroot}/%{_datadir}/widget_demo/ %{_datadir}/widget_demo/*.wgt %attr(755,root,root) %{_bindir}/install_widgets.sh %attr(755,root,root) %{_bindir}/prepare_widgets.sh +%attr(644,root,root) %{_sysconfdir}/sysconfig/wrt @@ -0,0 +1,2 @@ +DISPLAY=:0 +XAUTHORITY=/run/.x11WRT |