Репозитории ALT
Группа :: Графические оболочки/Window Maker
Пакет: wmpager
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# vim: set ft=spec: -*- rpm-spec -*-
# $Id: wmpager,v 1.1 2005/06/04 15:00:26 raorn Exp $
Summary: Simple pager docklet for the WindowMaker
Name: wmpager
Version: 1.2
Release: alt4
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 Sat Jun 04 2005
BuildRequires: xorg-x11-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
%__subst 's#/usr/local/share/wmpager#%{_x11datadir}/%{name}#' src/wmpager.c
%patch1 -p1
%build
%make_build
%install
%__mkdir_p %buildroot{%_x11bindir,%_x11mandir/man1,%_x11datadir/%name,%_menudir}
%__install -m755 src/wmpager %buildroot%_x11bindir/%name
%__install -m644 man/man1/wmpager.1x %buildroot%_x11mandir/man1/%name.1x
%__install -m644 themes/*.xpm %buildroot%_x11datadir/%name
%__cat <<__EOF > %buildroot%_menudir/%name
?package(%name): command="EXEC %_x11bindir/%name" \
needs=wmaker \
section="Window Maker/DockApps" title="%name"
__EOF
%post
%update_menus
%postun
%clean_menus
%files
%_x11bindir/*
%dir %_x11datadir/%name
%_x11datadir/%name/*
%_x11mandir/man1/*
%_menudir/%name
%changelog
…
Полный changelog можно просмотреть здесь
# $Id: wmpager,v 1.1 2005/06/04 15:00:26 raorn Exp $
Summary: Simple pager docklet for the WindowMaker
Name: wmpager
Version: 1.2
Release: alt4
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 Sat Jun 04 2005
BuildRequires: xorg-x11-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
%__subst 's#/usr/local/share/wmpager#%{_x11datadir}/%{name}#' src/wmpager.c
%patch1 -p1
%build
%make_build
%install
%__mkdir_p %buildroot{%_x11bindir,%_x11mandir/man1,%_x11datadir/%name,%_menudir}
%__install -m755 src/wmpager %buildroot%_x11bindir/%name
%__install -m644 man/man1/wmpager.1x %buildroot%_x11mandir/man1/%name.1x
%__install -m644 themes/*.xpm %buildroot%_x11datadir/%name
%__cat <<__EOF > %buildroot%_menudir/%name
?package(%name): command="EXEC %_x11bindir/%name" \
needs=wmaker \
section="Window Maker/DockApps" title="%name"
__EOF
%post
%update_menus
%postun
%clean_menus
%files
%_x11bindir/*
%dir %_x11datadir/%name
%_x11datadir/%name/*
%_x11mandir/man1/*
%_menudir/%name
%changelog
…
Полный changelog можно просмотреть здесь