Group :: Graphical desktop/Other
RPM: templates
Main Changelog Spec Patches Sources Download 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
…
Full changelog you can see here
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
…
Full changelog you can see here