diff options
author | Baptiste DURAND <baptiste.durand@eurogiciel.fr> | 2013-07-17 17:02:02 +0200 |
---|---|---|
committer | Baptiste DURAND <baptiste.durand@eurogiciel.fr> | 2013-07-17 17:02:02 +0200 |
commit | f6d21f3d669d3d16cb4cbf8fa117fbd10a1da0f5 (patch) | |
tree | c1493821c01a9472ebe4f1aefbc820e29cd9b7f5 | |
parent | 73219643e4eea4102b504201514b2f10e1ca0e3c (diff) | |
download | wrt-widgets-f6d21f3d669d3d16cb4cbf8fa117fbd10a1da0f5.tar.gz wrt-widgets-f6d21f3d669d3d16cb4cbf8fa117fbd10a1da0f5.tar.bz2 wrt-widgets-f6d21f3d669d3d16cb4cbf8fa117fbd10a1da0f5.zip |
Add Environment wrt file
-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 |