Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37415823
en ru br
Репозитории ALT
S:1.2-alt6
5.1: 1.2-alt5
4.1: 1.2-alt5
4.0: 1.2-alt5
3.0: 1.2-alt4
www.altlinux.org/Changes

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

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

# vim: set ft=spec: -*- rpm-spec -*-
# $Id: wmpager,v 1.2 2006/02/06 07:47:20 raorn Exp $

Summary: Simple pager docklet for the WindowMaker
Name: wmpager
Version: 1.2
Release: alt6
Group: Graphical desktop/Window Maker
License: BSD
URL: http://wmpager.sourceforge.net/

Conflicts: WindowMaker < 0.91.0

Source: http://download.sourceforge.net/%name/%name-%version.tar.gz

Patch: %name-1.2-alt-tooltip.patch
Patch1: %name-1.2-alt-EWMH.patch

# Automatically added by buildreq on Tue Mar 12 2013

# optimized out: libX11-devel xorg-xextproto-devel xorg-xproto-devel
BuildRequires:  libXext-devel libXpm-devel libfreetype-devel

%description
%name is a simple pager docklet for the Window Maker.

%name offers the following features:

* convenient workspace switching using the mouse for up to nine workspaces

* automatic configuration according to the number of workspaces (you may
  however if you like also specify the number of workspaces and the layour of
  wmpager yourself)

* automagic adjustment to the currently active workspace (if you happen to
  switch workspaces using the keyboard or some other Window Maker means)

* configurable look and feel to match your Window Maker theme

* tooltips for the workspace names (if you happen to have to many workspaces
  and can't remember which is which ;-))

%prep
%setup -q
%patch -p1
sed -i 's,/usr/local/share/wmpager,%_datadir/%name,' src/wmpager.c
%patch1 -p1

%build
%make_build

%install
mkdir -p %buildroot{%_bindir,%_man1dir,%_datadir/%name,%_menudir}
install -m755 src/wmpager %buildroot%_bindir/%name
install -m644 man/man1/wmpager.1x %buildroot%_man1dir/%name.1x
install -m644 themes/*.xpm %buildroot%_datadir/%name

cat <<__EOF > %buildroot%_menudir/%name
?package(%name): command="EXEC %_bindir/%name" \
needs=wmaker \
section="Window Maker/DockApps" title="%name"
__EOF

%files
%_bindir/%name
%dir %_datadir/%name
%_datadir/%name/*
%_man1dir/%name.1*
%_menudir/%name

%changelog

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

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