Изменены пути к файлам локализации

This commit is contained in:
Sergey Kalinin 2018-08-06 07:58:22 +03:00
parent f5642c2686
commit 9c89247171

View File

@ -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 <svk@nuk-svk.ru> 1.0.0
* Tue Aug 06 2018 Sergey Kalinin <svk@nuk-svk.ru> 1.0.0
- Initial release