Группа :: Система/Настройка/Пакеты
Пакет: apt-conf-branch
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define base_name apt-conf
%define distro branch
%define Distro 5.1 branch
Name: %base_name-%distro
Version: 5.1.1
Release: alt1
Summary: A set of apt configuration files for %distribution %Distro
License: GPL
Group: System/Configuration/Packaging
Packager: Dmitry V. Levin <ldv at altlinux.org>
Source: %name-%version.tar
Provides: %base_name = %version-%release, %_sysconfdir/apt/pkgpriorities
Conflicts: apt <= 0:0.5.15cnc6-alt14, apt-conf-sisyphus
%{expand:%%global o_list apt-conf < 0:4.0 %(for n in Castle Compact Junior Master Spring desktop hpc junior master office-server platform5 school server terminal; do echo -n "apt-conf-$n "; done)}
%{?o_list:Obsoletes: %o_list}
%description
This package contains default apt configuration for %distribution %Distro.
%prep
%setup
%build
%make_build REPOSITORIES=branch-5.1
%install
%makeinstall
%triggerpostun -- apt < 0.3.19cnc51-alt3 %{?o_list:%o_list}
f=%_sysconfdir/apt/sources.list
if [ ! -f "$f" ]; then
if [ -f "$f".rpmsave ]; then
cp -pf "$f".rpmsave "$f"
elif [ -f "$f".rpmnew ]; then
cp -pf "$f".rpmnew "$f"
fi
fi
%files
%config(noreplace) %_sysconfdir/apt
%changelog
…
Полный changelog можно просмотреть здесь
%define distro branch
%define Distro 5.1 branch
Name: %base_name-%distro
Version: 5.1.1
Release: alt1
Summary: A set of apt configuration files for %distribution %Distro
License: GPL
Group: System/Configuration/Packaging
Packager: Dmitry V. Levin <ldv at altlinux.org>
Source: %name-%version.tar
Provides: %base_name = %version-%release, %_sysconfdir/apt/pkgpriorities
Conflicts: apt <= 0:0.5.15cnc6-alt14, apt-conf-sisyphus
%{expand:%%global o_list apt-conf < 0:4.0 %(for n in Castle Compact Junior Master Spring desktop hpc junior master office-server platform5 school server terminal; do echo -n "apt-conf-$n "; done)}
%{?o_list:Obsoletes: %o_list}
%description
This package contains default apt configuration for %distribution %Distro.
%prep
%setup
%build
%make_build REPOSITORIES=branch-5.1
%install
%makeinstall
%triggerpostun -- apt < 0.3.19cnc51-alt3 %{?o_list:%o_list}
f=%_sysconfdir/apt/sources.list
if [ ! -f "$f" ]; then
if [ -f "$f".rpmsave ]; then
cp -pf "$f".rpmsave "$f"
elif [ -f "$f".rpmnew ]; then
cp -pf "$f".rpmnew "$f"
fi
fi
%files
%config(noreplace) %_sysconfdir/apt
%changelog
…
Полный changelog можно просмотреть здесь