diff --git a/README.md b/README.md index af2f5e4..3599ba0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # xgamma +xgamma allows X users to query and alter the gamma correction of a monitor via the X video mode extension (XFree86-VidModeExtension). + diff --git a/xgamma.spec b/xgamma.spec new file mode 100644 index 0000000..71e6b17 --- /dev/null +++ b/xgamma.spec @@ -0,0 +1,49 @@ +Name: xgamma +Version: 1.0.5 +Release: 1mamba +Summary: xgamma - Alter a monitor's gamma correction through the X server +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Tiziana Ferro +URL: http://www.x.org/ +Source: ftp://ftp.x.org/pub/individual/app/xgamma-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libXxf86vm-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +xgamma allows X users to query and alter the gamma correction of a monitor via the X video mode extension (XFree86-VidModeExtension). + +%prep +%setup -q + +%build +%configure --disable-static +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang %{name} || echo -n >> %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/%{name} +%{_mandir}/man?/* +%doc COPYING ChangeLog README + +%changelog +* Sat Mar 24 2012 Automatic Build System 1.0.5-1mamba +- automatic version update by autodist + +* Tue Mar 01 2011 Tiziana Ferro 1.0.4-1mamba +- package created by autospec