%define distro Homeros
%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 (Tadegesser)
%endif
%ifndef provide_list
%define provide_list altlinux fedora redhat system
%endif
%ifndef obsolete_list
%define obsolete_list altlinux-release fedora-release redhat-release
%endif
%ifndef conflicts_list
%define conflicts_list altlinux-release-sisyphus altlinux-release-4.0 altlinux-release-junior altlinux-release-master altlinux-release-server
%endif
Name: altlinux-release-homeros
Version: 4.1.0
Serial: 1
Release: alt1.M41.1
Summary: %text_summary release file
Copyright: GPL
Group: System/Configuration/Other
BuildArch: noarch
Packager: Michael Pozhidaev <msp@altlinux.ru>
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
* Sat Dec 13 2008 Michael Pozhidaev <msp@altlinux.ru> 1:4.1.0-alt1.M41.1
- 4.1/branch release
* Thu Dec 11 2008 Michael Pozhidaev <msp@altlinux.ru> 1:4.1.0-alt2
- Oral Desktop renamed to Homeros
* Mon Nov 03 2008 Michael Pozhidaev <msp@altlinux.ru> 1:4.1.0-alt1
- Made homeros version
* Thu Sep 11 2008 Anton V. Boyarshinov <boyarsh@altlinux.ru> 1:4.1.0-alt0.M41.1
- make it buildable via incoming without hacks
- version changed to distribution version
* Thu Dec 06 2007 Dmitry V. Levin <ldv@altlinux.org> 20071206-alt1
- Updated Provides/Obsoletes lists and /etc/*-release symlinks.
- Renamed from altlinux-release to altlinux-release-desktop.
* Fri Feb 14 2003 Dmitry V. Levin <ldv@altlinux.org> Sisyphus-alt20030214
- Enhanced %%ifdef logic.
* Tue Dec 31 2002 Dmitry V. Levin <ldv@altlinux.org> Sisyphus-alt20021231
- Implemented %%ifdef logic.
* Wed Aug 14 2002 Dmitry V. Levin <ldv@altlinux.org> Sisyphus-alt20020814
- Added %_sysconfdir/buildreqs/packages/ignore.d/%name.
* Mon Apr 23 2001 Dmitry V. Levin <ldv@altlinux.ru> Sisyphus-alt20010423
- Renamed to altlinux-release.
* Thu Jan 10 2001 Dmitry V. Levin <ldv@fandra.org> 7.2-ipl0.20010111
- Renamed to %name.
- Implemented autoversioning.
* Wed Dec 27 2000 Dmitry V. Levin <ldv@fandra.org> 7.2-ipl0.20001227
- Set 8-digit timestamp number.
* Tue Dec 26 2000 AEN <aen@logic.ru>
- adopted for sisyphus
* Thu Oct 5 2000 Warly <warly@mandrakesoft.com> 7.2-1mdk
- Odyssey