Группа :: Графические оболочки/Прочее
Пакет: templates
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: templates
Version: 1.1
Release: alt1
Summary: Standard templates for the user directory
Summary(ru_RU.UTF-8): п║я┌п╟п╫п╢п╟я─я┌п╫я▀п╣ я┬п╟п╠п╩п╬п╫я▀ п╢п╩я▐ п╨п╟я┌п╟п╩п╬пЁп╟ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐
License: GPLv3
Group: Graphical desktop/Other
Url: http://git.altlinux.org/people/antohami/packages/templates
Source: %name-%version.tar
Packager: Anton Midyukov <antohami at altlinux.org>
BuildArch: noarch
%description
Standard templates for the user directory and the script for automatic
installation template, if template directory user is empty.
%description -l ru_RU.UTF-8
п║я┌п╟п╫п╢п╟я─я┌п╫я▀п╣ я┬п╟п╠п╩п╬п╫я▀ п╢п╩я▐ п╨п╟я┌п╟п╩п╬пЁп╟ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ п╦ я│п╨я─п╦п©я┌ п╢п╩я▐ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╬п╧
я┐я│я┌п╟п╫п╬п╡п╨п╦ я┬п╟п╠п╩п╬п╫п╬п╡ п╢п╩я▐ я│п╩я┐я┤п╟я▐, п╨п╬пЁп╢п╟ п╨п╟я┌п╟п╩п╬пЁ я┬п╟п╠п╩п╬п╫п╬п╡ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ п©я┐я│я┌.
%prep
%setup
chmod 755 make-lang.sh
%build
./make-lang.sh
%install
install -D -m755 templates.sh %buildroot/%_sysconfdir/profile.d/templates.sh
install -d -m755 %buildroot/%_sysconfdir/xdg/autostart/
install -m644 update_templates.desktop.desktop %buildroot/%_sysconfdir/xdg/autostart/
install -d -m755 %buildroot/%_datadir/Templates
install -m644 Templates/* %buildroot/%_datadir/Templates
cp -R locale %buildroot/%_datadir
%find_lang %name
#pre
#rm -f %_datadir/Templates/*.odt
#rm -f %_datadir/Templates/*.odp
#rm -f %_datadir/Templates/*.ods
#rm -f %_datadir/Templates/*.odg
%files -f %name.lang
%_datadir/Templates
%_sysconfdir/profile.d/templates.sh
%_sysconfdir/xdg/autostart/update_templates.desktop.desktop
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.1
Release: alt1
Summary: Standard templates for the user directory
Summary(ru_RU.UTF-8): п║я┌п╟п╫п╢п╟я─я┌п╫я▀п╣ я┬п╟п╠п╩п╬п╫я▀ п╢п╩я▐ п╨п╟я┌п╟п╩п╬пЁп╟ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐
License: GPLv3
Group: Graphical desktop/Other
Url: http://git.altlinux.org/people/antohami/packages/templates
Source: %name-%version.tar
Packager: Anton Midyukov <antohami at altlinux.org>
BuildArch: noarch
%description
Standard templates for the user directory and the script for automatic
installation template, if template directory user is empty.
%description -l ru_RU.UTF-8
п║я┌п╟п╫п╢п╟я─я┌п╫я▀п╣ я┬п╟п╠п╩п╬п╫я▀ п╢п╩я▐ п╨п╟я┌п╟п╩п╬пЁп╟ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ п╦ я│п╨я─п╦п©я┌ п╢п╩я▐ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╬п╧
я┐я│я┌п╟п╫п╬п╡п╨п╦ я┬п╟п╠п╩п╬п╫п╬п╡ п╢п╩я▐ я│п╩я┐я┤п╟я▐, п╨п╬пЁп╢п╟ п╨п╟я┌п╟п╩п╬пЁ я┬п╟п╠п╩п╬п╫п╬п╡ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ п©я┐я│я┌.
%prep
%setup
chmod 755 make-lang.sh
%build
./make-lang.sh
%install
install -D -m755 templates.sh %buildroot/%_sysconfdir/profile.d/templates.sh
install -d -m755 %buildroot/%_sysconfdir/xdg/autostart/
install -m644 update_templates.desktop.desktop %buildroot/%_sysconfdir/xdg/autostart/
install -d -m755 %buildroot/%_datadir/Templates
install -m644 Templates/* %buildroot/%_datadir/Templates
cp -R locale %buildroot/%_datadir
%find_lang %name
#pre
#rm -f %_datadir/Templates/*.odt
#rm -f %_datadir/Templates/*.odp
#rm -f %_datadir/Templates/*.ods
#rm -f %_datadir/Templates/*.odg
%files -f %name.lang
%_datadir/Templates
%_sysconfdir/profile.d/templates.sh
%_sysconfdir/xdg/autostart/update_templates.desktop.desktop
%changelog
…
Полный changelog можно просмотреть здесь