Репозиторий Sisyphus
Последнее обновление: 20 июня 2019 | Пакетов: 17673 | Посещений: 14146676
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: 1c-preinstall

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_disable hacks
%define tested_version 8.3.7.1949

Name:    1c-preinstall
Version: 8.3
Release: alt11

Summary: Set correct environment for 1C:Enterprise client
License: GPL
Group:   System/Libraries
URL:     http://1c.ru/
Packager: Andrey Cherepanov <cas at altlinux.org>

%if_enabled hacks
BuildRequires: libImageMagick
%endif
BuildArch: noarch

Requires: fontconfig
Requires: glib2
Requires: glibc-pthread
Requires: libatk
Requires: libcairo
Requires: libcom_err
Requires: libcups
Requires: libfreetype
Requires: libgcc1
Requires: libgdk-pixbuf
Requires: libgio
Requires: libgtk+2
Requires: libkrb5
Requires: libpango
Requires: libSM
Requires: libsoup
Requires: libstdc++6
Requires: libwebkitgtk2
Requires: libX11
Requires: zlib

Requires: libgsf

Source1:  xdg-current-desktop.sh

%description
This metapackage is intend to deploy correct environment for
1C:Enterprise client installation.

Tested with 1C:Enterprise client version %tested_version

%package full
Summary:  Set correct environment for 1C:Enterprise client with Microsoft (tm) fonts
Group:    System/Libraries
BuildArch: noarch
Requires: %name
Requires: fonts-ttf-ms

%description full
This metapackage is intend to deploy correct environment for
1C:Enterprise client installation. This package also install
Microsoft (tm) fonts are needed by 1C:Enterprise client and haspd
for HASP key support.

%install
%if_enabled hacks
mkdir -p %buildroot%_libdir
cp -a %_libdir/libMagickWand-*.so.1.* %buildroot%_libdir/
ln -rs %buildroot%_libdir/libMagickWand-*.so.1.* \
      %buildroot%_libdir/libWand.so.1
ln -rs %buildroot%_libdir/libMagickWand-*.so.1.* \
      %buildroot%_libdir/libWand.so
install -m 0755 -D %SOURCE1 %buildroot%_x11sysconfdir/profile.d/xdg-current-desktop.sh
mkdir -p %buildroot%_datadir/fonts/ttf/ms
ln -rs %buildroot%_datadir/fonts/ttf/ms %buildroot%_datadir/fonts/msttcorefonts
%else
mkdir -p %buildroot
%endif

%files
%if_enabled hacks
%_libdir/libWand.so.1
%_libdir/libWand.so
%exclude %_libdir/libMagickWand*
%_x11sysconfdir/profile.d/*.sh
%endif

%files full
%if_enabled hacks
%_datadir/fonts/msttcorefonts
%exclude %_datadir/fonts/ttf/ms
%endif

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin