Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37524181
en ru br
ALT Linux repos
4.1: 20071206-alt1
4.0: 20071206-alt1

Group :: System/Configuration/Other
RPM: altlinux-release-4.0

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%ifndef distro
%define distro 4.0 branch
%endif
%ifndef timestamp
%define timestamp %(LC_TIME=C date +%%Y%%m%%d)
%endif
%ifndef dtext
%define dtext %distribution %distro
%endif
%ifndef text_summary
%define text_summary %dtext
%endif
%ifndef text_descr
%define text_descr %dtext
%endif
%ifndef text_file
%define text_file %dtext (%timestamp)
%endif
%ifndef provide_list
%define provide_list altlinux fedora redhat system
%endif
%ifndef obsolete_list
%define obsolete_list altlinux-release altlinux-release-desktop altlinux-release-junior altlinux-release-master altlinux-release-server fedora-release redhat-release
%endif
%ifndef conflicts_list
%define conflicts_list altlinux-release-sisyphus
%endif

Name: altlinux-release-4.0
Version: %timestamp
Release: alt1

Summary: %text_summary release file
Copyright: GPL
Group: System/Configuration/Other
BuildArch: noarch
Packager: Dmitry V. Levin <ldv at altlinux.org>

Provides: %(for n in %provide_list; do echo -n "$n-release = %version-%release "; done)
Obsoletes: %obsolete_list
Conflicts: %conflicts_list

%description
%text_descr release file.

%install
install -pD -m644 /dev/null %buildroot%_sysconfdir/buildreqs/packages/ignore.d/%name
echo "%text_file" >%buildroot%_sysconfdir/altlinux-release
for n in fedora redhat system; do
ln -s altlinux-release %buildroot%_sysconfdir/$n-release
done

%files
%_sysconfdir/*-*
%_sysconfdir/buildreqs/packages/ignore.d/*

%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