2019-08-15 10:44:04 +03:00
|
|
|
|
Name: rac-gui
|
2019-07-24 10:49:17 +03:00
|
|
|
|
Version: 1.0.2
|
2019-09-30 11:52:25 +03:00
|
|
|
|
Release: 1
|
2018-07-24 09:56:02 +03:00
|
|
|
|
Summary: 1C rac gui tool
|
|
|
|
|
License: GPL
|
|
|
|
|
Group: System
|
|
|
|
|
Url: https://bitbucket.org/svk28/rac-gui
|
|
|
|
|
BuildArch: noarch
|
2019-08-15 09:22:29 +03:00
|
|
|
|
Source: %name-%version-%release.tar.gz
|
2019-08-24 14:54:32 +03:00
|
|
|
|
Requires: tcl => 8.6.8, tk >= 8.6.8
|
2018-07-24 09:56:02 +03:00
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This program ia a grafics user interface for 1C rac util.
|
|
|
|
|
|
|
|
|
|
%description -l ru_RU.UTF8
|
|
|
|
|
Графический интерфейс к утилите управления кластером серверов 1С rac
|
|
|
|
|
|
|
|
|
|
%prep
|
2019-08-15 10:25:52 +03:00
|
|
|
|
%setup -n %name
|
2018-07-24 09:56:02 +03:00
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
%install
|
2018-08-06 07:58:22 +03:00
|
|
|
|
mkdir -p $RPM_BUILD_ROOT{%_bindir,%_datadir/%name/lib/msg}
|
2019-08-15 10:44:04 +03:00
|
|
|
|
install -p -m755 rac_gui.tcl $RPM_BUILD_ROOT%_bindir/racgui
|
2018-07-24 09:56:02 +03:00
|
|
|
|
%{__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
|
2019-09-30 14:01:30 +03:00
|
|
|
|
%{__sed} -i 's+^set\ dir(doc)+set\ dir(doc)\ %_docdir/%name ;#+g' $RPM_BUILD_ROOT%_bindir/racgui
|
2018-07-24 09:56:02 +03:00
|
|
|
|
install -p -m644 lib/*.tcl $RPM_BUILD_ROOT%_datadir/%name/lib
|
2019-08-15 10:47:38 +03:00
|
|
|
|
install -p -m644 rac_gui.cfg $RPM_BUILD_ROOT%_datadir/%name/
|
2018-08-06 07:58:22 +03:00
|
|
|
|
install -p -m644 lib/msg/*.* $RPM_BUILD_ROOT%_datadir/%name/lib/msg/
|
2018-07-24 09:56:02 +03:00
|
|
|
|
|
|
|
|
|
# Menu support
|
|
|
|
|
#mkdir -p $RPM_BUILD_ROOT/usr/lib/menu
|
|
|
|
|
#cat > $RPM_BUILD_ROOT%_libdir/menu/%name << EOF
|
|
|
|
|
#?package(%name): needs=x11 icon="projman.png" section="Applications/Development/Development environments" title=ProjMan longtitle="Tcl/Tk Project Manager" command=projman
|
|
|
|
|
#EOF
|
|
|
|
|
#mdk icons
|
|
|
|
|
#install -d $RPM_BUILD_ROOT{%_iconsdir,%_liconsdir,%_miconsdir}
|
|
|
|
|
#install -p -m644 img/icons/%name.png $RPM_BUILD_ROOT%_iconsdir/
|
|
|
|
|
#install -p -m644 img/icons/large/%name.png $RPM_BUILD_ROOT%_liconsdir/
|
|
|
|
|
#install -p -m644 img/icons/mini/%name.png $RPM_BUILD_ROOT%_miconsdir/
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
%update_menus
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
%clean_menus
|
|
|
|
|
|
|
|
|
|
%files
|
2019-07-24 11:37:24 +03:00
|
|
|
|
%doc README.md
|
2018-07-24 09:56:02 +03:00
|
|
|
|
%doc doc/*
|
2019-07-23 12:54:14 +03:00
|
|
|
|
%doc debian/*
|
2018-07-24 09:56:02 +03:00
|
|
|
|
%_bindir/racgui
|
|
|
|
|
%_datadir/%name
|
|
|
|
|
#%_libdir/menu/%name
|
|
|
|
|
#%_iconsdir/%name.png
|
|
|
|
|
#%_liconsdir/%name.png
|
|
|
|
|
#%_miconsdir/%name.png
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2019-09-30 11:02:57 +03:00
|
|
|
|
* Wed Sep 25 2019 Sergey Kalinin <svk@nuk-svk.ru> 1.1.0
|
|
|
|
|
- Added new rac command options
|
|
|
|
|
- Added HELP dialog
|
|
|
|
|
- Moved configuration files according to XDG standard
|
|
|
|
|
- Change 1c-srv.cfg format
|
|
|
|
|
- Fixed some errors
|
|
|
|
|
- Added translated method for table headers
|
2019-08-15 09:26:15 +03:00
|
|
|
|
|
|
|
|
|
* Thu Aug 15 2019 Sergey Kalinin <svk@nuk-svk.ru> 1.0.3
|
|
|
|
|
- New server config
|
2019-08-15 10:44:04 +03:00
|
|
|
|
- Changes rac_gui on rac-gui
|
2019-08-15 09:26:15 +03:00
|
|
|
|
|
2019-07-24 11:27:32 +03:00
|
|
|
|
* Wed Jul 24 2019 Sergey Kalinin <svk@nuk-svk.ru> 1.0.2
|
2019-07-24 10:49:17 +03:00
|
|
|
|
- CI/CD integration
|
|
|
|
|
|
2019-07-24 11:30:33 +03:00
|
|
|
|
* Mon Aug 06 2018 Sergey Kalinin <svk@nuk-svk.ru> 1.0.0
|
2018-07-24 13:57:20 +03:00
|
|
|
|
- Initial release
|