Group :: Sistema/X11
RPM: xmag
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: xmag
Version: 1.0.6
Release: alt1
Summary: magnify parts of the screen
License: MIT/X11
Group: System/X11
Url: http://xorg.freedesktop.org
Source: %name-%version.tar.bz2
Packager: Fr. Br. George <george at altlinux.ru>
# Automatically added by buildreq on Thu Apr 14 2011
# optimized out: libICE-devel libSM-devel libX11-devel libXmu-devel libXt-devel pkg-config xorg-xproto-devel
BuildRequires: libXaw-devel
BuildRequires: libXaw-devel libX11-devel pkg-config xorg-proto-devel xorg-util-macros
%description
The xmag program allows you to magnify portions of an X screen. If no
explicit region is specified, a square with the pointer in the upper
left corner is displayed indicating the area to be enlarged. The area
can be dragged out to the desired size by pressing Button 2. Once
a region has been selected, a window is popped up showing a blown up
version of the region in which each pixel in the source image is
represented by a small square of the same color. Pressing Button1 in the
enlargement window shows the position and RGB value of the pixel under
the pointer until the button is released. Typing ``Q'' or ``^C'' in the
enlargement window exits the program. information is displayed depending
on which options are selected.
%prep
%setup
sed -i 's/(XMAG_LIBS) -lm$/(XMAG_LIBS) -lm -lXmu/' Makefile.am
%build
%autoreconf
%configure
%make_build
%install
%makeinstall appdefaultdir=%buildroot%_x11appconfdir
%files
%_bindir/*
%_man1dir/*
%_sysconfdir/X11/app-defaults/*
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.0.6
Release: alt1
Summary: magnify parts of the screen
License: MIT/X11
Group: System/X11
Url: http://xorg.freedesktop.org
Source: %name-%version.tar.bz2
Packager: Fr. Br. George <george at altlinux.ru>
# Automatically added by buildreq on Thu Apr 14 2011
# optimized out: libICE-devel libSM-devel libX11-devel libXmu-devel libXt-devel pkg-config xorg-xproto-devel
BuildRequires: libXaw-devel
BuildRequires: libXaw-devel libX11-devel pkg-config xorg-proto-devel xorg-util-macros
%description
The xmag program allows you to magnify portions of an X screen. If no
explicit region is specified, a square with the pointer in the upper
left corner is displayed indicating the area to be enlarged. The area
can be dragged out to the desired size by pressing Button 2. Once
a region has been selected, a window is popped up showing a blown up
version of the region in which each pixel in the source image is
represented by a small square of the same color. Pressing Button1 in the
enlargement window shows the position and RGB value of the pixel under
the pointer until the button is released. Typing ``Q'' or ``^C'' in the
enlargement window exits the program. information is displayed depending
on which options are selected.
%prep
%setup
sed -i 's/(XMAG_LIBS) -lm$/(XMAG_LIBS) -lm -lXmu/' Makefile.am
%build
%autoreconf
%configure
%make_build
%install
%makeinstall appdefaultdir=%buildroot%_x11appconfdir
%files
%_bindir/*
%_man1dir/*
%_sysconfdir/X11/app-defaults/*
%changelog
…
Todas as alterações você pod ver aqui