From d2cfe7b0214faee03fbfd7051cbbe4057daba4fc Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 19:44:57 +0100 Subject: [PATCH] automatic version update by autodist [release 1.0.5-1mamba;Sat Jan 19 2013] --- README.md | 18 +++++++++++++++ xmag.spec | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 xmag.spec diff --git a/README.md b/README.md index 8804dda..2d6656c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,20 @@ # xmag +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. +The application has 5 buttons across its top. +Close deletes this particular magnification instance. +Replace brings up the rubber band selector again to select another region for this magnification instance. +New brings up the rubber band selector to create a new magnification instance. +Select puts the magnification image into the primary selection. +Paste copies the primary selection buffer into xmag. +Note that you can cut and paste between xmag and the bitmap program. +Resizing xmag resizes the magnification area. +xmag preserves the colormap, visual, and window depth of the source. + + diff --git a/xmag.spec b/xmag.spec new file mode 100644 index 0000000..b3db4e1 --- /dev/null +++ b/xmag.spec @@ -0,0 +1,66 @@ +Name: xmag +Version: 1.0.5 +Release: 1mamba +Summary: xmag - magnify parts of the screen +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Tiziana Ferro +URL: http://xorg.freedesktop.org/ +Source: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libXaw-devel +BuildRequires: libXmu-devel +BuildRequires: libXt-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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. +The application has 5 buttons across its top. +Close deletes this particular magnification instance. +Replace brings up the rubber band selector again to select another region for this magnification instance. +New brings up the rubber band selector to create a new magnification instance. +Select puts the magnification image into the primary selection. +Paste copies the primary selection buffer into xmag. +Note that you can cut and paste between xmag and the bitmap program. +Resizing xmag resizes the magnification area. +xmag preserves the colormap, visual, and window depth of the source. + + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/%{name} +%{_datadir}/X11/app-defaults/Xmag +%{_mandir}/man?/* +%doc COPYING ChangeLog README + +%changelog +* Sat Jan 19 2013 Automatic Build System 1.0.5-1mamba +- automatic version update by autodist + +* Tue Apr 26 2011 Tiziana Ferro 1.0.4-1mamba +- package created by autospec \ No newline at end of file