Группа :: Работа с файлами
Пакет: LibreOffice-plugin-altcsp
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define ext_dir %{_libdir}/LibreOffice/share/extensions/
%define ext_still_dir %{_libdir}/LibreOffice-still/share/extensions/
%define ext_name altcsp
Name: LibreOffice-plugin-altcsp
Version: 0.0.3
Release: alt2
Group: File tools
Summary: LibreOffice plugin for alt-csp-cryptopro
License: GPL-2.0-or-later
Source: %ext_name.tar
Requires: alt-csp-cryptopro
%description
LibreOffice plugin for alt-csp-cryptopro
%prep
# noop
%build
# noop
%install
install -dm0755 %buildroot%ext_dir/
cd %buildroot%ext_dir/
tar -xvf %SOURCE0
cp %_licensedir/%license %buildroot%ext_dir/%ext_name/license.txt
# copy regular plugin to LO-still directory
mkdir -p %buildroot%ext_still_dir/
cp -r %buildroot%ext_dir/%ext_name/ %buildroot%ext_still_dir/%ext_name/
%files
%ext_dir/%ext_name/
%ext_still_dir/%ext_name/
%changelog
…
Полный changelog можно просмотреть здесь
%define ext_still_dir %{_libdir}/LibreOffice-still/share/extensions/
%define ext_name altcsp
Name: LibreOffice-plugin-altcsp
Version: 0.0.3
Release: alt2
Group: File tools
Summary: LibreOffice plugin for alt-csp-cryptopro
License: GPL-2.0-or-later
Source: %ext_name.tar
Requires: alt-csp-cryptopro
%description
LibreOffice plugin for alt-csp-cryptopro
%prep
# noop
%build
# noop
%install
install -dm0755 %buildroot%ext_dir/
cd %buildroot%ext_dir/
tar -xvf %SOURCE0
cp %_licensedir/%license %buildroot%ext_dir/%ext_name/license.txt
# copy regular plugin to LO-still directory
mkdir -p %buildroot%ext_still_dir/
cp -r %buildroot%ext_dir/%ext_name/ %buildroot%ext_still_dir/%ext_name/
%files
%ext_dir/%ext_name/
%ext_still_dir/%ext_name/
%changelog
…
Полный changelog можно просмотреть здесь