Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37567547
en ru br
ALT Linux repos
S:10.96-alt1

Group :: System/Configuration/Packaging
RPM: apt-conf-sisyphus

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define base_name apt-conf
%define distro sisyphus
%define Distro Sisyphus

Name: %base_name-%distro
Version: 10.96
Release: alt1

Summary: A set of apt configuration files for %distribution %Distro
License: GPL-2.0-or-later
Group: System/Configuration/Packaging
Url: http://git.altlinux.org/gears/a/apt-conf-sisyphus.git

Source: %name-%version.tar

BuildRequires: altlinux-repos

Provides: %base_name = %version-%release, %_sysconfdir/apt/pkgpriorities
PreReq: coreutils
Conflicts: apt <= 0:0.5.15cnc6-alt14
%{expand:%%global o_list apt-conf < 0:4.0 %(for n in Castle Compact Junior Master Spring branch centaurus cert6 desktop hpc junior master office-server platform5 pegatron school school-server server t6 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=sisyphus

%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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin