diff --git a/README.md b/README.md index 1c3bb0d..a3f47a2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,17 @@ # xrandr +Xrandr is used to set the screen size, orientation and/or reflection. + +The -s option is a small integer index used to specify which size the screen should be set to. +To find out what sizes are available, use the -q option, which reports the sizes available, the current rotation, and the possible rotations and reflections. +The default size is the first size specified in the list. + +The -o option is used to specify the orientation of the screen, and can be one of "normal inverted left right 0 1 2 3". +The -x option instructs the server to reflect the screen on the X axis. +The -y option instructs the server to reflect the screen on the Y axis. +Reflection is applied after rotation. + +The -help option prints out a usage summary. + +The --verbose option tells you what xrandr is doing, selects for events, and tells you when events are received to enable debugging. + diff --git a/xrandr.spec b/xrandr.spec new file mode 100644 index 0000000..ffa5750 --- /dev/null +++ b/xrandr.spec @@ -0,0 +1,71 @@ +Name: xrandr +Version: 1.4.2 +Release: 1mamba +Summary: xrandr - primitive command line interface to RandR extension +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/xrandr-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libXrandr-devel +BuildRequires: libXrender-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Xrandr is used to set the screen size, orientation and/or reflection. + +The -s option is a small integer index used to specify which size the screen should be set to. +To find out what sizes are available, use the -q option, which reports the sizes available, the current rotation, and the possible rotations and reflections. +The default size is the first size specified in the list. + +The -o option is used to specify the orientation of the screen, and can be one of "normal inverted left right 0 1 2 3". +The -x option instructs the server to reflect the screen on the X axis. +The -y option instructs the server to reflect the screen on the Y axis. +Reflection is applied after rotation. + +The -help option prints out a usage summary. + +The --verbose option tells you what xrandr is doing, selects for events, and tells you when events are received to enable debugging. + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/%{name} +%{_bindir}/xkeystone +%{_mandir}/man?/* +%doc COPYING ChangeLog README + +%changelog +* Tue Apr 08 2014 Silvan Calarco 1.4.2-1mamba +- update to 1.4.2 + +* Fri Jul 19 2013 Automatic Build System 1.4.1-1mamba +- automatic update by autodist + +* Wed Feb 20 2013 Automatic Build System 1.4.0-1mamba +- automatic version update by autodist + +* Sat Aug 06 2011 Automatic Build System 1.3.5-1mamba +- automatic version update by autodist + +* Tue Mar 01 2011 Tiziana Ferro 1.3.4-1mamba +- package created by autospec