Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 1a9792fddb95fd7a04b830f303b8ff33 > files > 5

lxrandr-0.1.2-4.mga3.src.rpm

Name:     	lxrandr
Version:	0.1.2
Release:	%mkrel 4
Summary:        Simple monitor config tool for LXDE
License:	GPLv2+
Group:		Graphical desktop/Other
Url:            http://lxde.sourceforge.net/

Source0: 	http://dfn.dl.sourceforge.net/sourceforge/lxde/%name-%version.tar.gz
# icons "stolen" from oxygen icon theme
Source1:	%{name}-32.png
Source2:	%{name}-48.png
Source3:	%{name}-16.png

BuildRequires:	gtk+2-devel
BuildRequires:	intltool
Requires:	xrandr

%description
This is a very basic monitor config tool utilizing XRandR. It can let you
change the screen resolution on the fly. Besides, when you run lxrandr
with external monitor connected, its GUI will change, and show you some 
quick options to get your projector working correctly.

%prep
%setup -q

%build
%configure2_5x
# workaround build loop
touch -r po/Makefile po/stamp-it
%make

%install
%makeinstall_std
mkdir -p %{buildroot}%{_iconsdir}
mkdir -p %{buildroot}%{_liconsdir}
mkdir -p %{buildroot}%{_miconsdir}
install -m0644 %{SOURCE1} %{buildroot}%{_iconsdir}/%{name}.png
install -m0644 %{SOURCE2} %{buildroot}%{_liconsdir}/%{name}.png
install -m0644 %{SOURCE3} %{buildroot}%{_miconsdir}/%{name}.png
# fix icon entry in desktop file
desktop-file-install --vendor="%{_real_vendor}" \
	--set-icon=%{name} \
	%{buildroot}%{_datadir}/applications/%{name}.desktop
# workarround fix, will look into it after release
rm -f %{buildroot}%{_datadir}/applications/lxrandr.desktop

%{find_lang} %{name}

%files -f %{name}.lang
%defattr(-, root, root)
%{_bindir}/%name
%{_mandir}/man1/*.1.*
%{_datadir}/applications/*.desktop
%{_iconsdir}/%{name}.png
%{_liconsdir}/%{name}.png
%{_miconsdir}/%{name}.png



%changelog

* Sat Jan 12 2013 umeabot <umeabot> 0.1.2-4.mga3
+ Revision: 359189
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sat May 19 2012 obgr_seneca <obgr_seneca> 0.1.2-3.mga2
+ Revision: 235910
- removed second desktop file

* Wed Feb 01 2012 obgr_seneca <obgr_seneca> 0.1.2-2.mga2
+ Revision: 203862
- added icon and fixed desktop file (bug 3135)

  + tv <tv>
    - BuildRequires:  intltool
    - new release

* Mon Feb 07 2011 ahmad <ahmad> 0.1.1-2.mga1
+ Revision: 48723
- drop old/unneeded scriptlets
- workaround build loop
- imported package lxrandr