Commit 885e1764 authored by Alexey Shabalin's avatar Alexey Shabalin

use macros for package name of doc, add condition for files education only

parent 65d600fb
...@@ -265,8 +265,8 @@ Provides: indexhtml indexhtml-%theme = %version indexhtml-Desktop = 1:5.0 ...@@ -265,8 +265,8 @@ Provides: indexhtml indexhtml-%theme = %version indexhtml-Desktop = 1:5.0
Obsoletes: indexhtml-desktop indexhtml-Desktop Obsoletes: indexhtml-desktop indexhtml-Desktop
%branding_add_conflicts %flavour indexhtml %branding_add_conflicts %flavour indexhtml
Requires: xdg-utils Requires: xdg-utils
Requires: docs-alt-education Requires: docs-alt-%theme
Requires: shared-desktop-icons Requires: shared-desktop-icons
Requires(post): indexhtml-common Requires(post): indexhtml-common
...@@ -374,7 +374,9 @@ subst 's/#theme-name=/theme-name=%gtk_theme/' /etc/lightdm/lightdm-gtk-greeter.c ...@@ -374,7 +374,9 @@ subst 's/#theme-name=/theme-name=%gtk_theme/' /etc/lightdm/lightdm-gtk-greeter.c
%files graphics %files graphics
%config /etc/alternatives/packages.d/%name-graphics %config /etc/alternatives/packages.d/%name-graphics
%_datadir/design %_datadir/design
%if %theme == education
%_iconsdir/hicolor/*/apps/alt-education.png %_iconsdir/hicolor/*/apps/alt-education.png
%endif
%files bootsplash %files bootsplash
%_datadir/plymouth/themes/%theme/* %_datadir/plymouth/themes/%theme/*
...@@ -387,10 +389,12 @@ subst 's/#theme-name=/theme-name=%gtk_theme/' /etc/lightdm/lightdm-gtk-greeter.c ...@@ -387,10 +389,12 @@ subst 's/#theme-name=/theme-name=%gtk_theme/' /etc/lightdm/lightdm-gtk-greeter.c
%_datadir/alt-notes/* %_datadir/alt-notes/*
%files kde-settings %files kde-settings
%_datadir/kf5/konsole/Education.profile
/etc/skel/.config/autostart/nm-applet.desktop /etc/skel/.config/autostart/nm-applet.desktop
%if %theme == education
%_datadir/kf5/konsole/Education.profile
/etc/skel/.config/kdeglobals /etc/skel/.config/kdeglobals
/etc/skel/.config/konsolerc /etc/skel/.config/konsolerc
%endif
%files fvwm-settings %files fvwm-settings
%_sysconfdir/skel/.fvwm2rc %_sysconfdir/skel/.fvwm2rc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment