ALT Linux repositórios
S: | 0.214-alt1 |
5.0: | 0.11-alt2.1 |
4.1: | 0.11-alt2 |
4.0: | 0.0-alt2 |
3.0: | |
+backports: | 0.0-alt0.M30.2.1 |
Group :: Desktop gráfico/Icewm
RPM: icewm-startup
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: icewm-startup
Version: 0.0
Release: alt2
Summary: simple pluggable IceWM autostart manager
Summary(ru_RU.CP1251): ìåíåäæåð àâòîçàïóñêà ïðîãðàìì ïðè ñòàðòå IceWM
License: GPL
Group: Graphical desktop/Icewm
Url: http://www.imath.kiev.ua/~vlasenko/
Packager: Igor Vlasenko <viy at altlinux.ru>
#Source: %name-%version.tar.bz2
BuildArch: noarch
AutoReq: no
%define icewmconfdir %_sysconfdir/X11/icewm
#due to new icewmconfdir in xorg 7.0
Requires: icewm >= 1.2.25
#define icewmconfdir #_x11x11dir/icewm
#Requires: icewm
%description
Simple pluggable icewm autostart manager is a generic IceWM startup script
which allows one to configure IceWM autostart via installing corresponding
rpm plug-ins.
%description -l ru_RU.CP1251
ìåíåäæåð àâòîçàïóñêà ïðîãðàìì ïðè ñòàðòå IceWM ïîçâîëÿåò ïðîñòî íàñòðàèâàòü
ðàáî÷èé ñòîë IceWM ïóòåì óñòàíîâêè rpm ðàñøèðåíèé.
%package gkrellm
Group: Graphical desktop/Icewm
Summary: gkrellm autostart at IceWM startup
Summary(ru_RU.CP1251): àâòîçàïóñê gkrellm ïðè ñòàðòå IceWM
Requires: %name gkrellm xtoolwait
AutoReq: no
%description gkrellm
gkrellm plug-in for simple pluggable IceWM autostart manager.
%description -l ru_RU.CP1251 gkrellm
gkrellm plug-in äëÿ ìåíåäæåðà àâòîçàïóñêà ïðîãðàìì ïðè ñòàðòå IceWM.
%package idesk
Group: Graphical desktop/Icewm
Summary: idesk autostart at IceWM startup
Summary(ru_RU.CP1251): àâòîçàïóñê idesk ïðè ñòàðòå IceWM
Requires: %name idesk
Conflicts: %name-kdesktop
AutoReq: no
%description idesk
idesk plug-in for simple pluggable IceWM autostart manager.
%description -l ru_RU.CP1251 idesk
idesk plug-in äëÿ ìåíåäæåðà àâòîçàïóñêà ïðîãðàìì ïðè ñòàðòå IceWM.
%package kdesktop
Group: Graphical desktop/Icewm
Summary: kdesktop autostart at IceWM startup
Summary(ru_RU.CP1251): àâòîçàïóñê kdesktop ïðè ñòàðòå IceWM
Requires: %name kdebase-wm
Conflicts: %name-idesk
AutoReq: no
%description kdesktop
kdesktop plug-in for simple pluggable IceWM autostart manager.
%description -l ru_RU.CP1251 kdesktop
kdesktop plug-in äëÿ ìåíåäæåðà àâòîçàïóñêà ïðîãðàìì ïðè ñòàðòå IceWM.
%package xxkb
Group: Graphical desktop/Icewm
Summary: xxkb autostart at IceWM startup
Summary(ru_RU.CP1251): àâòîçàïóñê xxkb ïðè ñòàðòå IceWM
Requires: %name xxkb
AutoReq: no
%description xxkb
xxkb plug-in for simple pluggable IceWM autostart manager.
~/.xxkbrc or /etc/X11/app-defaults/XXkb is required.
%description -l ru_RU.CP1251 xxkb
xxkb plug-in äëÿ ìåíåäæåðà àâòîçàïóñêà ïðîãðàìì ïðè ñòàðòå IceWM.
xxkb çàïóñêàåòñÿ òîëüêî ïðè íàëè÷èè ~/.xxkbrc èëè /etc/X11/app-defaults/XXkb.
%prep
%setup -q -c -T
%build
%install
%__mkdir_p %buildroot/%icewmconfdir/startup.d
cat <<'EOF' > %buildroot/%icewmconfdir/startup
#!/bin/sh
# starting all system-wide icewm autostart programs
for file in %icewmconfdir/startup.d/*; do
userfile=~/.icewm/startup.d/`echo $file | sed -e 's,%icewmconfdir/startup.d/,,'`
# root can disable autostart removing 'execute' bits
if [ -x $file ]; then
# User-supplied programs disable system-wide programs.
# So user can disable system-wide program
# by touching file in ~/.icewm/startup.d/ with the same name
# or even replace it with his own script.
[ -e $userfile ] || . $file
fi
done
# starting user-supplied icewm autostart programs
for file in ~/.icewm/startup.d/*; do
# running user files
# user can disable autostart removing 'execute' bits
[ -x $file ] && . $file
done
EOF
echo 'xtoolwait gkrellm'> %buildroot/%icewmconfdir/startup.d/gkrellm
echo 'kdesktop&'> %buildroot/%icewmconfdir/startup.d/kdesktop
cat <<EOF > %buildroot/%icewmconfdir/startup.d/idesk
#!/bin/sh
if [ -e ~/.ideskrc ]; then
idesk &
else # first run
startidesk &
fi
EOF
cat <<EOF > %buildroot/%icewmconfdir/startup.d/xxkb
#!/bin/sh
# it is not wise to run non-configured xxkb, so we look
# whether it is configured.
# if [ -e ~/.xxkbrc ] then user has configured xxkb properly
# if [ -e /etc/X11/app-defaults/XXkb ]
# then sysadmin has configured xxkb properly.
if [ -e ~/.xxkbrc ] || [ -e /etc/X11/app-defaults/XXkb ]; then
xxkb&
fi
EOF
chmod 755 %buildroot/%icewmconfdir/startup.d/*
chmod 755 %buildroot/%icewmconfdir/startup
%files
#%doc README
%dir %icewmconfdir/startup.d
%config %icewmconfdir/startup
#%_man1dir/*
%files gkrellm
%config %icewmconfdir/startup.d/gkrellm
%files idesk
%config %icewmconfdir/startup.d/idesk
%files kdesktop
%config %icewmconfdir/startup.d/kdesktop
%files xxkb
%config %icewmconfdir/startup.d/xxkb
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.0
Release: alt2
Summary: simple pluggable IceWM autostart manager
Summary(ru_RU.CP1251): ìåíåäæåð àâòîçàïóñêà ïðîãðàìì ïðè ñòàðòå IceWM
License: GPL
Group: Graphical desktop/Icewm
Url: http://www.imath.kiev.ua/~vlasenko/
Packager: Igor Vlasenko <viy at altlinux.ru>
#Source: %name-%version.tar.bz2
BuildArch: noarch
AutoReq: no
%define icewmconfdir %_sysconfdir/X11/icewm
#due to new icewmconfdir in xorg 7.0
Requires: icewm >= 1.2.25
#define icewmconfdir #_x11x11dir/icewm
#Requires: icewm
%description
Simple pluggable icewm autostart manager is a generic IceWM startup script
which allows one to configure IceWM autostart via installing corresponding
rpm plug-ins.
%description -l ru_RU.CP1251
ìåíåäæåð àâòîçàïóñêà ïðîãðàìì ïðè ñòàðòå IceWM ïîçâîëÿåò ïðîñòî íàñòðàèâàòü
ðàáî÷èé ñòîë IceWM ïóòåì óñòàíîâêè rpm ðàñøèðåíèé.
%package gkrellm
Group: Graphical desktop/Icewm
Summary: gkrellm autostart at IceWM startup
Summary(ru_RU.CP1251): àâòîçàïóñê gkrellm ïðè ñòàðòå IceWM
Requires: %name gkrellm xtoolwait
AutoReq: no
%description gkrellm
gkrellm plug-in for simple pluggable IceWM autostart manager.
%description -l ru_RU.CP1251 gkrellm
gkrellm plug-in äëÿ ìåíåäæåðà àâòîçàïóñêà ïðîãðàìì ïðè ñòàðòå IceWM.
%package idesk
Group: Graphical desktop/Icewm
Summary: idesk autostart at IceWM startup
Summary(ru_RU.CP1251): àâòîçàïóñê idesk ïðè ñòàðòå IceWM
Requires: %name idesk
Conflicts: %name-kdesktop
AutoReq: no
%description idesk
idesk plug-in for simple pluggable IceWM autostart manager.
%description -l ru_RU.CP1251 idesk
idesk plug-in äëÿ ìåíåäæåðà àâòîçàïóñêà ïðîãðàìì ïðè ñòàðòå IceWM.
%package kdesktop
Group: Graphical desktop/Icewm
Summary: kdesktop autostart at IceWM startup
Summary(ru_RU.CP1251): àâòîçàïóñê kdesktop ïðè ñòàðòå IceWM
Requires: %name kdebase-wm
Conflicts: %name-idesk
AutoReq: no
%description kdesktop
kdesktop plug-in for simple pluggable IceWM autostart manager.
%description -l ru_RU.CP1251 kdesktop
kdesktop plug-in äëÿ ìåíåäæåðà àâòîçàïóñêà ïðîãðàìì ïðè ñòàðòå IceWM.
%package xxkb
Group: Graphical desktop/Icewm
Summary: xxkb autostart at IceWM startup
Summary(ru_RU.CP1251): àâòîçàïóñê xxkb ïðè ñòàðòå IceWM
Requires: %name xxkb
AutoReq: no
%description xxkb
xxkb plug-in for simple pluggable IceWM autostart manager.
~/.xxkbrc or /etc/X11/app-defaults/XXkb is required.
%description -l ru_RU.CP1251 xxkb
xxkb plug-in äëÿ ìåíåäæåðà àâòîçàïóñêà ïðîãðàìì ïðè ñòàðòå IceWM.
xxkb çàïóñêàåòñÿ òîëüêî ïðè íàëè÷èè ~/.xxkbrc èëè /etc/X11/app-defaults/XXkb.
%prep
%setup -q -c -T
%build
%install
%__mkdir_p %buildroot/%icewmconfdir/startup.d
cat <<'EOF' > %buildroot/%icewmconfdir/startup
#!/bin/sh
# starting all system-wide icewm autostart programs
for file in %icewmconfdir/startup.d/*; do
userfile=~/.icewm/startup.d/`echo $file | sed -e 's,%icewmconfdir/startup.d/,,'`
# root can disable autostart removing 'execute' bits
if [ -x $file ]; then
# User-supplied programs disable system-wide programs.
# So user can disable system-wide program
# by touching file in ~/.icewm/startup.d/ with the same name
# or even replace it with his own script.
[ -e $userfile ] || . $file
fi
done
# starting user-supplied icewm autostart programs
for file in ~/.icewm/startup.d/*; do
# running user files
# user can disable autostart removing 'execute' bits
[ -x $file ] && . $file
done
EOF
echo 'xtoolwait gkrellm'> %buildroot/%icewmconfdir/startup.d/gkrellm
echo 'kdesktop&'> %buildroot/%icewmconfdir/startup.d/kdesktop
cat <<EOF > %buildroot/%icewmconfdir/startup.d/idesk
#!/bin/sh
if [ -e ~/.ideskrc ]; then
idesk &
else # first run
startidesk &
fi
EOF
cat <<EOF > %buildroot/%icewmconfdir/startup.d/xxkb
#!/bin/sh
# it is not wise to run non-configured xxkb, so we look
# whether it is configured.
# if [ -e ~/.xxkbrc ] then user has configured xxkb properly
# if [ -e /etc/X11/app-defaults/XXkb ]
# then sysadmin has configured xxkb properly.
if [ -e ~/.xxkbrc ] || [ -e /etc/X11/app-defaults/XXkb ]; then
xxkb&
fi
EOF
chmod 755 %buildroot/%icewmconfdir/startup.d/*
chmod 755 %buildroot/%icewmconfdir/startup
%files
#%doc README
%dir %icewmconfdir/startup.d
%config %icewmconfdir/startup
#%_man1dir/*
%files gkrellm
%config %icewmconfdir/startup.d/gkrellm
%files idesk
%config %icewmconfdir/startup.d/idesk
%files kdesktop
%config %icewmconfdir/startup.d/kdesktop
%files xxkb
%config %icewmconfdir/startup.d/xxkb
%changelog
…
Todas as alterações você pod ver aqui