Группа :: Графика
Пакет: design-graphics-sisyphus2
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define content design-graphics
%define theme Sisyphus2
%define pkgtheme sisyphus2
%define priority 5
Name: %content-%pkgtheme
Version: 1.0
Release: alt1
Summary: Design for ALT Linux, revisited
License: Different licenses
Group: Graphics
BuildArch: noarch
PreReq(post,preun): alternatives >= 0.2
Provides: gnome-session-splash = %version-%release
Obsoletes: gnome-session-splash
#
Provides: design-graphics = %version-%release
Obsoletes: design-graphics
%if "%theme" != "%pkgtheme"
Provides: design-graphics-%theme = %version-%release
Obsoletes: design-graphics-%theme
%endif
Url: http://wiki.sisyphus.ru/beta/design
# Gnome splash screen from art.gnome.org
# Name: GNOME2-Mountains
# Author: Roman "star" Beigelbeck <roman_n0spam at gnome.org>
# Release Date: 08/06/2002
Source0: %content-%theme-%version.tar.gz
# photo: http://paq.osdn.org.ua/~adiel/alt-back/hpim4099.jpg
# (c) 2005, Michael Shigorin
Packager: Michael Shigorin <mike at altlinux.org>
BuildRequires: libalternatives-devel
%description
This package contains a little better graphical design for ALT Linux
%prep
%setup -q -n %content-%theme-%version
%build
%install
mkdir -p %buildroot/%_datadir/design/{%theme,backgrounds}
cp -ar %_builddir/%content-%theme-%version/* %buildroot/%_datadir/design/%theme
pushd %buildroot/%_datadir/design/%theme
pushd backgrounds
ln -sf ../../../wallpapers more
popd
popd
install -d %buildroot//etc/alternatives/packages.d
cat >%buildroot/etc/alternatives/packages.d/%content-%theme <<__EOF__
%_datadir/artworks %_datadir/design/%theme %priority
%_datadir/design-current %_datadir/design/%theme %priority
__EOF__
%post
%post_register_alternatives %content-%theme
%update_alternatives
%preun
%preun_unregister_alternatives %content-%theme
%update_alternatives
%files
%config /etc/alternatives/packages.d/%content-%theme
%_datadir/design
# TODO
# - review the rest of the package, update if better styled
# alternatives arise
%changelog
…
Полный changelog можно просмотреть здесь
%define theme Sisyphus2
%define pkgtheme sisyphus2
%define priority 5
Name: %content-%pkgtheme
Version: 1.0
Release: alt1
Summary: Design for ALT Linux, revisited
License: Different licenses
Group: Graphics
BuildArch: noarch
PreReq(post,preun): alternatives >= 0.2
Provides: gnome-session-splash = %version-%release
Obsoletes: gnome-session-splash
#
Provides: design-graphics = %version-%release
Obsoletes: design-graphics
%if "%theme" != "%pkgtheme"
Provides: design-graphics-%theme = %version-%release
Obsoletes: design-graphics-%theme
%endif
Url: http://wiki.sisyphus.ru/beta/design
# Gnome splash screen from art.gnome.org
# Name: GNOME2-Mountains
# Author: Roman "star" Beigelbeck <roman_n0spam at gnome.org>
# Release Date: 08/06/2002
Source0: %content-%theme-%version.tar.gz
# photo: http://paq.osdn.org.ua/~adiel/alt-back/hpim4099.jpg
# (c) 2005, Michael Shigorin
Packager: Michael Shigorin <mike at altlinux.org>
BuildRequires: libalternatives-devel
%description
This package contains a little better graphical design for ALT Linux
%prep
%setup -q -n %content-%theme-%version
%build
%install
mkdir -p %buildroot/%_datadir/design/{%theme,backgrounds}
cp -ar %_builddir/%content-%theme-%version/* %buildroot/%_datadir/design/%theme
pushd %buildroot/%_datadir/design/%theme
pushd backgrounds
ln -sf ../../../wallpapers more
popd
popd
install -d %buildroot//etc/alternatives/packages.d
cat >%buildroot/etc/alternatives/packages.d/%content-%theme <<__EOF__
%_datadir/artworks %_datadir/design/%theme %priority
%_datadir/design-current %_datadir/design/%theme %priority
__EOF__
%post
%post_register_alternatives %content-%theme
%update_alternatives
%preun
%preun_unregister_alternatives %content-%theme
%update_alternatives
%files
%config /etc/alternatives/packages.d/%content-%theme
%_datadir/design
# TODO
# - review the rest of the package, update if better styled
# alternatives arise
%changelog
…
Полный changelog можно просмотреть здесь