%define majver %(echo %version | cut -d. -f1-2) Name: lxrandr Version: 0.3.2 Release: 1mamba Summary: Simple monitor configuration tool Group: Graphical Desktop/Applications/Environment Vendor: openmamba Distribution: openmamba Packager: Fabio Giani URL: http://www.lxde.org/ Source: http://downloads.sourceforge.net/project/lxde/LXRandR%20%28monitor%20config%20tool%29/LXRandR%20%{majver}.x/lxrandr-%{version}.tar.xz Patch0: %{name}-0.1.1-fix-infinite-loop.patch License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-root ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libatk-devel BuildRequires: libcairo-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libglib-devel BuildRequires: libgtk-devel BuildRequires: libpango-devel ## AUTOBUILDREQ-END BuildRequires: libXrandr-devel %description LXRandR is a simple monitor configuration tool utilizing X RandR extension. It's a GUI frontend of the command line program xrandr and manages screen resolution and external monitors. When you run LXRandR with an external monitor or projector connected, its GUI will change and show you some options to quickly configure the external device. LXRandR is the standard screen manager of LXDE, the Lightweight X11 Desktop Environment, but can be used in other desktop environments as well. %prep %setup -q #%patch0 -p1 # quick fix for the icon echo "Icon=video-display" >> data/%{name}.desktop.in %build #sed -i "s|AM_PROG_CC_STDC|AC_PROG_CC|" configure.in #autoreconf %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/lxrandr %{_mandir}/man1/lxrandr.*.gz %{_datadir}/applications/lxrandr.desktop %doc AUTHORS COPYING %changelog * Sat Mar 09 2019 Automatic Build System 0.3.2-1mamba - automatic version update by autodist * Sun Feb 21 2016 Automatic Build System 0.3.1-1mamba - automatic version update by autodist * Fri Sep 26 2014 Silvan Calarco 0.3.0-1mamba - update to 0.3.0 * Mon Apr 15 2013 Automatic Build System 0.1.2-1mamba - automatic version update by autodist * Tue Jun 22 2010 Silvan Calarco 0.1.1-3mamba - fixed specfile name (must be the same as package name) - added patch to remove infinite build loop * Sat Jan 23 2010 Fabio Giani 0.1.1-2mamba - group changed * Fri Jan 15 2010 Fabio Giani 0.1.1-1mamba - package created by autospec