Изменены пути к файлам локализации
This commit is contained in:
parent
f5642c2686
commit
9c89247171
11
rac_gui.spec
11
rac_gui.spec
|
@ -1,13 +1,13 @@
|
||||||
Name: rac_gui
|
Name: rac_gui
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: 1C rac gui tool
|
Summary: 1C rac gui tool
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System
|
Group: System
|
||||||
Url: https://bitbucket.org/svk28/rac-gui
|
Url: https://bitbucket.org/svk28/rac-gui
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Source: rac-gui-%version-%release.tar.gz
|
Source: rac-gui-%version-%release.tar.gz
|
||||||
Requires: tcl, tk
|
Requires: tcl => 8.6.8, tk >= 8.6.8
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This program ia a grafics user interface for 1C rac util.
|
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
|
%build
|
||||||
|
|
||||||
%install
|
%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
|
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+^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
|
%{__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 lib/*.tcl $RPM_BUILD_ROOT%_datadir/%name/lib
|
||||||
install -p -m644 %name.cfg $RPM_BUILD_ROOT%_datadir/%name/
|
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
|
# Menu support
|
||||||
#mkdir -p $RPM_BUILD_ROOT/usr/lib/menu
|
#mkdir -p $RPM_BUILD_ROOT/usr/lib/menu
|
||||||
|
@ -58,6 +58,5 @@ install -p -m644 msg/*.* $RPM_BUILD_ROOT%_datadir/%name/msg/
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
- Initial release
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user