Репозиторий Sisyphus
Последнее обновление: 3 декабря 2022 | Пакетов: 17961 | Посещений: 25476668
en ru br
Репозитории ALT
S:0.9.1-alt9
5.1: 0.9.0-alt1
4.1: 0.8.1-alt2
4.0: 0.8.1-alt1
3.0: 0.7.4-alt3.1.1
www.altlinux.org/Changes

Группа :: Графические оболочки/Прочее
Пакет: rss_glx

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# vim: set ft=spec: -*- spec -*-

%define program_prefix rss-

Name: rss_glx
Version: 0.9.0
Release: alt1

Summary: Really Slick Screensavers
License: GNU GPL
Group: Graphical desktop/Other

Url: http://rss-glx.sourceforge.net/
Source: %name-%version-%release.tar.bz2
Packager: Michael Shigorin <mike at altlinux.org>
# git://git.altlinux.org/people/mike/packages/rss_glx.git

BuildRequires(pre): xscreensaver-devel kde-common-devel

# Automatically added by buildreq on Sun Nov 09 2008 (-bi)

BuildRequires: bzlib-devel gcc-c++ libImageMagick-devel libXt-devel libglew-devel

%description
The Really Slick Screensavers GLX port.
A collection of fancy OpenGL screensavers ported from Windows to X
for use with xscreensaver.

%package -n xscreensaver-hacks-%name
Summary: Really Slick Screensavers - xscreensaver modules
Group: Graphical desktop/Other
Requires: %name = %version-%release
PreReq: xscreensaver >= 4.09-alt1
Provides: xscreensaver-hack

%description -n xscreensaver-hacks-%name
The Really Slick Screensavers GLX port.
A collection of fancy OpenGL screensavers ported from Windows to X
for use with xscreensaver.

This package contains xscreensaver modules configs.

%package kde
Summary: Really Slick Screensavers - KDE modules
Group: Graphical desktop/KDE
Requires: %name = %version-%release
PreReq: kde-common

%description kde
The Really Slick Screensavers GLX port.
A collection of fancy OpenGL screensavers ported from Windows to X
for use with xscreensaver.

This package contains KDE menu entries.

%prep
%setup -n %name-%version-%release

%build
%autoreconf
%configure \
--program-prefix=%program_prefix \
--with-configdir=%xss_conf_dir \
--with-kdessconfigdir=%_Kapplnk/System/ScreenSavers \
--disable-sound \
#
%make_build

# Get xscreensaver config

grep '^\$screensavers' utils/rss-glx_install.pl |
sed -e 's,^\$screensavers-.*= '\''\(.*\)'\'';,\1,; s,\\\(.\),\1,g; s,\([A-Za-z0-9_-]\+\) --root,%program_prefix\1 --root,' > %name.xss
sed -i 's,%{program_prefix}matrixview --root,& -i %_datadir/%name-matrixvew,' %name.xss

# Fixup KDE desktop files

find . -name '*.desktop' -print0 |
xargs -r0 sed -i 's,^\(Exec=\),\1%program_prefix,; s,^\(Exec=\)\(%program_prefix\)\(kxs\(config\|run\)\) ,\1\3 \2,;' --

%install
mkdir -p %buildroot%xss_ad_dir
%make_install DESTDIR=%buildroot install
rm -f %buildroot%_bindir/*_install.pl

for i in %buildroot%xss_conf_dir/*.xml; do
d="${i%%/*}"
f="${i##*/}"
mv "$i" "$d/%program_prefix$f"
done

install -m644 %name.xss %buildroot%xss_ad_dir/%name.xss

%files
%doc COPYING INSTALL README
%_bindir/*
%_man1dir/*

%files -n xscreensaver-hacks-%name
%doc README.xscreensaver
%config %xss_ad_dir/%name.xss
%config %xss_conf_dir/*.xml

%files kde
%_Kapplnk/System/ScreenSavers/*.desktop

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin