diff --git a/rac_gui.spec b/rac_gui.spec index 818dbb9..a80a307 100644 --- a/rac_gui.spec +++ b/rac_gui.spec @@ -1,13 +1,13 @@ Name: rac_gui Version: 1.0.0 -Release: 1 +Release: 2 Summary: 1C rac gui tool License: GPL Group: System Url: https://bitbucket.org/svk28/rac-gui BuildArch: noarch Source: rac-gui-%version-%release.tar.gz -Requires: tcl, tk +Requires: tcl => 8.6.8, tk >= 8.6.8 %description This program ia a grafics user interface for 1C rac util. @@ -21,13 +21,13 @@ This program ia a grafics user interface for 1C rac util. %build %install -mkdir -p $RPM_BUILD_ROOT{%_bindir,%_datadir/%name/{msg,lib}} +mkdir -p $RPM_BUILD_ROOT{%_bindir,%_datadir/%name/lib/msg} install -p -m755 %name.tcl $RPM_BUILD_ROOT%_bindir/racgui %{__sed} -i 's+^set\ dir(lib)+set\ dir(lib)\ %_datadir/%name/lib ;#+g' $RPM_BUILD_ROOT%_bindir/racgui %{__sed} -i 's+\[pwd\]+%_datadir/%name+g' $RPM_BUILD_ROOT%_bindir/racgui install -p -m644 lib/*.tcl $RPM_BUILD_ROOT%_datadir/%name/lib install -p -m644 %name.cfg $RPM_BUILD_ROOT%_datadir/%name/ -install -p -m644 msg/*.* $RPM_BUILD_ROOT%_datadir/%name/msg/ +install -p -m644 lib/msg/*.* $RPM_BUILD_ROOT%_datadir/%name/lib/msg/ # Menu support #mkdir -p $RPM_BUILD_ROOT/usr/lib/menu @@ -58,6 +58,5 @@ install -p -m644 msg/*.* $RPM_BUILD_ROOT%_datadir/%name/msg/ %changelog -* Tue Jul 24 2018 Sergey Kalinin 1.0.0 +* Tue Aug 06 2018 Sergey Kalinin 1.0.0 - Initial release -