diff --git a/README.md b/README.md index 3f2faca..f908f72 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,15 @@ # xdriinfo +xdriinfo can be used to query configuration information of direct rendering drivers. +If no command argument is specified it lists the names of the direct rendering drivers for all screens. + +Valid commands are: + +- nscreens: Print the number of screens. + +- driver screen: Print the name of the direct rendering driver for screen. + +- options screen|driver: Print the XML document describing the configuration options of a driver. + The driver can be specified directly by driver name or indirectly by screen number. + If the driver name is specified directly then no X connection is needed. + diff --git a/xdriinfo.spec b/xdriinfo.spec new file mode 100644 index 0000000..4f8007b --- /dev/null +++ b/xdriinfo.spec @@ -0,0 +1,56 @@ +Name: xdriinfo +Version: 1.0.4 +Release: 1mamba +Summary: xdriinfo - query configuration information of DRI drivers +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: libGL-devel +BuildRequires: libX11-devel +## AUTOBUILDREQ-END +BuildRequires: glproto-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +xdriinfo can be used to query configuration information of direct rendering drivers. +If no command argument is specified it lists the names of the direct rendering drivers for all screens. + +Valid commands are: + +- nscreens: Print the number of screens. + +- driver screen: Print the name of the direct rendering driver for screen. + +- options screen|driver: Print the XML document describing the configuration options of a driver. + The driver can be specified directly by driver name or indirectly by screen number. + If the driver name is specified directly then no X connection is needed. + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/%{name} +%{_mandir}/man?/* +%doc COPYING ChangeLog README + +%changelog +* Tue Apr 26 2011 Tiziana Ferro 1.0.4-1mamba +- package created by autospec \ No newline at end of file