os-relese -> RPM kometa-os-release; dolphin -> kometa-xdg

master
Artem Proskurnev 3 years ago
parent 0d3c0f2110
commit f0e2a49125
  1. 9
      installer-feature-kometa-school-kde5-1.0/93-kometa-school-kde5.sh
  2. 203
      installer-feature-kometa-school-kde5-1.0/dolphinui.rc
  3. 8
      installer-feature-kometa-school-kde5-1.0/os-release
  4. 10
      installer-feature-kometa-school-kde5.spec

@ -5,15 +5,6 @@ a= . install2-init-functions
sed -i 's/ALT Linux/KOMETA/' $destdir/etc/rc.d/rc.sysinit
#echo 'NAME="KOMETA"'>$destdir/etc/os-release
#echo 'VERSION="School 830"'>>$destdir/etc/os-release
#echo 'ID=kometa'>>$destdir/etc/os-release
#echo 'VERSION_ID=p10'>>$destdir/etc/os-release
#echo 'PRETTY_NAME="KOMETA School 830"'>>$destdir/etc/os-release
#echo 'ANSI_COLOR="1;33"'>>$destdir/etc/os-release
#echo 'CPE_NAME="cpe:/o:alt:kometa:p10"'>>$destdir/etc/os-release
#echo 'LOGO=kometa'>>$destdir/etc/os-release
#Настройки фонов
cp $destdir/usr/share/design/school/backgrounds/bglight.png $destdir/etc/skel/
cp $destdir/usr/share/design/school/backgrounds/default.png $destdir/etc/skel/

@ -1,203 +0,0 @@
<!DOCTYPE gui>
<gui name="dolphin" version="35" translationDomain="kxmlgui5">
<MenuBar>
<Menu name="file" noMerge="1">
<text translationDomain="kxmlgui5">&amp;File</text>
<Action name="file_new"/>
<Separator weakSeparator="1"/>
<Action name="new_menu"/>
<Action name="file_new"/>
<Action name="new_tab"/>
<Action name="file_close"/>
<Action name="undo_close_tab"/>
<Separator/>
<Action name="add_to_places"/>
<Separator/>
<Action name="renamefile"/>
<Action name="duplicate"/>
<Action name="movetotrash"/>
<Action name="deletefile"/>
<Separator/>
<Action name="show_target"/>
<Separator/>
<Action name="properties"/>
<Separator weakSeparator="1"/>
<Action name="file_close"/>
<Separator weakSeparator="1"/>
<Action name="file_quit"/>
</Menu>
<Menu name="edit" noMerge="1">
<text translationDomain="kxmlgui5">&amp;Edit</text>
<Action name="edit_undo"/>
<Separator weakSeparator="1"/>
<Action name="edit_cut"/>
<Action name="edit_copy"/>
<Action name="edit_paste"/>
<Separator weakSeparator="1"/>
<Action name="edit_select_all"/>
<Separator weakSeparator="1"/>
<Action name="edit_find"/>
<Separator weakSeparator="1"/>
<Action name="edit_undo"/>
<Separator/>
<Action name="edit_cut"/>
<Action name="edit_copy"/>
<Action name="copy_location"/>
<Action name="edit_paste"/>
<Separator/>
<Action name="show_filter_bar"/>
<Action name="edit_find"/>
<Separator/>
<Action name="copy_to_inactive_split_view"/>
<Action name="move_to_inactive_split_view"/>
<Action name="edit_select_all"/>
<Action name="invert_selection"/>
</Menu>
<Menu name="view" noMerge="1">
<text translationDomain="kxmlgui5">&amp;View</text>
<Action name="view_zoom_in"/>
<Action name="view_zoom_out"/>
<Separator weakSeparator="1"/>
<Action name="view_redisplay"/>
<Separator weakSeparator="1"/>
<Action name="view_zoom_in"/>
<Action name="view_zoom_reset"/>
<Action name="view_zoom_out"/>
<Separator/>
<Action name="sort"/>
<Action name="view_mode"/>
<Action name="additional_info"/>
<Action name="show_preview"/>
<Action name="show_in_groups"/>
<Action name="show_hidden_files"/>
<Separator/>
<Action name="split_view"/>
<Action name="split_stash"/>
<Action name="redisplay"/>
<Action name="stop"/>
<Separator/>
<Action name="panels"/>
<Menu name="location_bar" noMerge="1" icon="edit-select-text">
<text translationDomain="dolphin" context="@title:menu">Location Bar</text>
<Action name="editable_location"/>
<Action name="replace_location"/>
</Menu>
<Separator/>
<Action name="view_properties"/>
</Menu>
<Menu name="go" noMerge="1">
<text translationDomain="kxmlgui5">&amp;Go</text>
<Action name="go_up"/>
<Action name="go_back"/>
<Action name="go_forward"/>
<Action name="go_home"/>
<Separator weakSeparator="1"/>
<Action name="bookmarks"/>
<Action name="closed_tabs"/>
</Menu>
<Menu name="tools" noMerge="1">
<text translationDomain="kxmlgui5">&amp;Tools</text>
<Action name="open_preferred_search_tool"/>
<Action name="open_terminal"/>
<Action name="focus_terminal_panel"/>
<Action name="compare_files"/>
<Action name="change_remote_encoding"/>
</Menu>
<Menu name="settings" noMerge="1">
<text translationDomain="kxmlgui5">&amp;Settings</text>
<Action name="options_show_menubar"/>
<Merge name="StandardToolBarMenuHandler"/>
<Merge name="KMDIViewActions"/>
<Separator weakSeparator="1"/>
<Action name="switch_application_language"/>
<Action name="options_configure_keybinding"/>
<Action name="options_configure_toolbars"/>
<Action name="options_configure"/>
</Menu>
<Separator weakSeparator="1"/>
<Menu name="help" noMerge="1">
<text translationDomain="kxmlgui5">&amp;Help</text>
<Action name="help_contents"/>
<Action name="help_whats_this"/>
<Separator weakSeparator="1"/>
<Action name="help_report_bug"/>
<Separator weakSeparator="1"/>
<Action name="help_donate"/>
<Separator weakSeparator="1"/>
<Action name="help_about_app"/>
<Action name="help_about_kde"/>
</Menu>
</MenuBar>
<ToolBar name="mainToolBar" noMerge="1">
<text translationDomain="dolphin" context="@title:menu">Main Toolbar</text>
<Action name="go_back"/>
<Action name="go_up"/>
<Action name="go_forward"/>
<Separator name="separator_0"/>
<Action name="icons"/>
<Action name="compact"/>
<Action name="details"/>
<Action name="url_navigators"/>
<Action name="show_preview"/>
<Action name="split_view"/>
<Action name="split_stash"/>
<Action name="toggle_search"/>
<Action name="hamburger_menu"/>
</ToolBar>
<State name="new_file">
<disable>
<Action name="edit_undo"/>
<Action name="edit_redo"/>
<Action name="edit_cut"/>
<Action name="edit_copy"/>
<Action name="renamefile"/>
<Action name="movetotrash"/>
<Action name="deletefile"/>
<Action name="invert_selection"/>
<Separator/>
<Action name="go_back"/>
<Action name="go_forward"/>
</disable>
</State>
<State name="has_selection">
<enable>
<Action name="edit_cut"/>
<Action name="edit_copy"/>
<Action name="renamefile"/>
<Action name="duplicate"/>
<Action name="movetotrash"/>
<Action name="deletefile"/>
<Action name="invert_selection"/>
</enable>
</State>
<State name="has_no_selection">
<disable>
<Action name="edit_cut"/>
<Action name="edit_copy"/>
<Action name="renamefile"/>
<Action name="duplicate"/>
<Action name="movetotrash"/>
<Action name="deletefile"/>
<Action name="delete_shortcut"/>
<Action name="invert_selection"/>
</disable>
</State>
<ActionProperties scheme="Default">
<Action name="go_back" priority="0"/>
<Action name="go_forward" priority="0"/>
<Action name="go_up" priority="0"/>
<Action name="go_home" priority="0"/>
<Action name="stop" priority="0"/>
<Action name="icons" priority="0"/>
<Action name="compact" priority="0"/>
<Action name="details" priority="0"/>
<Action name="view_zoom_in" priority="0"/>
<Action name="view_zoom_reset" priority="0"/>
<Action name="view_zoom_out" priority="0"/>
<Action name="edit_cut" priority="0"/>
<Action name="edit_copy" priority="0"/>
<Action name="edit_paste" priority="0"/>
<Action name="toggle_search" priority="0"/>
<Action name="toggle_filter" priority="0"/>
</ActionProperties>
</gui>

@ -1,8 +0,0 @@
NAME="KOMETA"
VERSION="School 830"
ID=kometa
VERSION_ID=p10
PRETTY_NAME="KOMETA School 830"
ANSI_COLOR="1;33"
CPE_NAME="cpe:/o:alt:kometa:p10"
LOGO=kometa

@ -19,24 +19,16 @@ feature to kometa school distro
%setup
%install
%define skeldir /etc/skel
%define skeldolphin %skeldir/.local/share/kxmlgui5/dolphin
%define hookdir %_datadir/install2/preinstall.d
mkdir -p %buildroot%skeldolphin
mkdir -p %buildroot%hookdir
mkdir -p %buildroot/etc
install -pm755 93-kometa-school-kde5.sh %buildroot%hookdir/
install -pm644 os-release %buildroot/etc/
install -pm644 dolphinui.rc %buildroot%skeldolphin
%files
%hookdir/*
%buildroot/etc/os-release
%buildroot%skeldolphin/dolphinui.rc
%changelog
* Fri Dec 24 2021 Artem Proskurnev <tema@proskurnevs.ru> 1.0-kometa7
- os-release отдельным файлом и добавление в dolphin кнопки отображения миниатюр на панель инструментов
- os-release отдельным файлом
* Wed Dec 15 2021 Artem Proskurnev <tema@proskurnevs.ru> 1.0-kometa6
- p9 -> p10

Loading…
Cancel
Save