Репозиторий Sisyphus
Последнее обновление: 18 октября 2019 | Пакетов: 17501 | Посещений: 15288530
en ru br
Репозитории ALT
S:5.4-alt1
5.1: 4.14-alt1.M51.1
4.1: 3.9-alt8.M41.4
4.0: 3.1-alt6
3.0: 2.0-alt0.10.1
www.altlinux.org/Changes

Группа :: Система/Настройка/Прочее
Пакет: alterator

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

Name: alterator
Version: 3.9
Release: alt8.M41.4

Packager:       Stanislav Ievlev <inger at altlinux.org>

URL: http://wiki.sisyphus.ru/Alterator

Summary: ALT Linux configurator engine
License: GPL
Group: System/Configuration/Other

Source: %name-%version.tar

%add_findreq_skiplist %_datadir/alterator/build/profiles/*
%add_findreq_skiplist %_datadir/alterator/build/xgettext/*
%add_findreq_skiplist %_datadir/alterator/build/msgfmt/*

#backward compatibility

Provides: %name-common = %version , %name-menu = %version, %name-help = %version, %name-sdk = %version
Obsoletes: %name-common, %name-menu, %name-help, %name-sdk

#incompatibility

Conflicts: alterator-fbi-2.9 < alt6
Conflicts: alterator-xkb-2.0 < alt3

Requires: guile16

BuildPreReq: alterator-l10n >= 0.7-alt2.M41.3

# Automatically added by buildreq on Fri Dec 29 2006

BuildRequires: guile16-devel libexpat-devel

%define guile_version 1.6

%description
ALT Linux configurator engine


%package doc
Summary: documentation and samples for %name
License: GPL
Group: System/Configuration/Other
Requires: %name = %version-%release

%description doc
documentation and samples for %name


%prep
%setup -q

%build
%make_build GUILE_VERSION=%guile_version
%make check-api

%install
%makeinstall GUILE_VERSION=%guile_version

#create special directories

%__install -d -m755 $RPM_BUILD_ROOT%_cachedir/%name
%__install -d -m755 $RPM_BUILD_ROOT%_localstatedir/%name
%__install -d -m755 $RPM_BUILD_ROOT%_sysconfdir/%name

install -d $RPM_BUILD_ROOT%_sysconfdir/rpm/macros.d
cat >$RPM_BUILD_ROOT%_sysconfdir/rpm/macros.d/%name<<EOF
%%_alterator_libdir %%([ ! -f %_datadir/%name/dialog-functions.scm ])%%_libexecdir/%name
%%_alterator_datadir %%([ ! -f %_datadir/%name/dialog-functions.scm ])%%_datadir/%name

%%_alterator_backend2dir %%_alterator_libdir/backend2
%%_alterator_backend3dir %%_alterator_libdir/backend3
EOF

%find_lang %name

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%define _alterator_datadir %_datadir/alterator
%define _alterator_libdir %_libexecdir/alterator

%files -f %name.lang
%_sysconfdir/rpm/macros.d/*
%_bindir/*

%_alterator_libdir
%_alterator_datadir

%dir %_sysconfdir/%name
%dir %_cachedir/%name
%dir %_localstatedir/%name

%_datadir/guile/%guile_version/alterator
%_libdir/*.so.*
%_libdir/libguile*.so

%files doc
%doc doc/samples doc/internals

%changelog

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

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