xdriinfo/xdriinfo.spec

59 lines
1.7 KiB
RPMSpec
Raw Normal View History

Name: xdriinfo
Version: 1.0.5
Release: 1mamba
Summary: xdriinfo - query configuration information of DRI drivers
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Tiziana Ferro <tiziana.ferro@email.it>
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
* Wed Apr 22 2015 Automatic Build System <autodist@mambasoft.it> 1.0.5-1mamba
- automatic update by autodist
* Tue Apr 26 2011 Tiziana Ferro <tiziana.ferro@email.it> 1.0.4-1mamba
- package created by autospec