xbacklight-vl.spec 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. Summary: Adjust backlight brightness using RandR
  2. Summary(ja): RandR を利用してバックライトの輝度を調整するツール
  3. Name: xbacklight
  4. Version: 1.1.2
  5. Release: 1%{?_dist_release}
  6. Group: User Interface/X Hardware Support
  7. License: MIT
  8. URL: http://xorg.freedesktop.org/releases/individual/app/
  9. Source0: http://xorg.freedesktop.org/releases/individual/app/xbacklight-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildRequires: libXrandr-devel libXrender-devel pkgconfig
  12. BuildRequires: xorg-x11-util-macros
  13. #Requires:
  14. %description
  15. Xbacklight is used to adjust the backlight brightness where
  16. supported. It finds all outputs on the X server supporting backlight
  17. brightness control and changes them all in the same way.
  18. %prep
  19. %setup -q
  20. %build
  21. %configure
  22. make %{?_smp_mflags}
  23. %install
  24. rm -rf $RPM_BUILD_ROOT
  25. make install DESTDIR=$RPM_BUILD_ROOT
  26. %clean
  27. rm -rf $RPM_BUILD_ROOT
  28. %files
  29. %defattr(-,root,root,-)
  30. %doc COPYING
  31. %{_bindir}/xbacklight
  32. %{_datadir}/man/man1/xbacklight.*
  33. %changelog
  34. * Sat Dec 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.2-1
  35. - new upstream release
  36. - add BuildRequires: xorg-x11-util-macros
  37. * Mon Nov 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1
  38. - initial build for Vine Linux
  39. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1-2
  40. - Autorebuild for GCC 4.3
  41. * Sat Jan 26 2008 Michel Salim <michel.sylvan@gmail.com> - 1.1-1
  42. - Initial Fedora package