Репозиторий Sisyphus
Последнее обновление: 22 января 2022 | Пакетов: 17486 | Посещений: 22818035
en ru br
Репозитории ALT
S:0.9.9-alt1
5.1: 0.8-alt1
4.1: 0.8-alt1
4.0: 0.8-alt1
3.0: 0.2-alt1
www.altlinux.org/Changes

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

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

%def_without runwm
%def_without xdg
%def_without gtk3
Name: wm-select
Version: 0.9.9
Release: alt1

Summary: Application for selecting window manager at startup
License: GPLv2+
Group: Graphical desktop/Other

Url: http://altlinux.org
Source: %name-%version.tar

%if_with gtk3
BuildRequires: libgtk+3-devel
%else
BuildRequires: libgtk+2-devel
%endif

%description
wm-select is a small Gtk application for selecting a window manager
at X startup.

%if_with runwm
%package -n runwm
Group: System/X11
Summary: Executes window manager using wm.d or xsessions database
Conflicts: xinitrc < 2.4.47-alt3

%description -n runwm
runwm is a tool for non-XDG compliant Display Managers that launches
window manager using wm.d or xsessions database.
%endif


%prep
%setup

%build
%make_build CFLAGS="%optflags" \
%if_without xdg
   WITH_WM_SESSION=yes \
%endif
%if_with gtk3
   WITH_GTK2= \
%else
   WITH_GTK2=yes \
%endif
   all

%install
install -pD -m755 %name %buildroot%_bindir/%name

%if_with runwm
install -pD -m755 runwm %buildroot%_bindir/runwm
%else
install -pD -m755 runwm %buildroot%_bindir/runwm.test
%endif

for f in *.mo; do
lang="${f%%.mo}"
install -pD -m644 "$f" "%buildroot%_datadir/locale/$lang/LC_MESSAGES/%name.mo"
done
%find_lang %name

%files -f %name.lang
%_bindir/%name

%if_with runwm
%files -n runwm
%_bindir/runwm
%else
%_bindir/runwm.test
%endif

%changelog

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

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