arandr/arandr.spec

77 lines
2.8 KiB
RPMSpec
Raw Permalink Normal View History

Name: arandr
Version: 0.1.7.1
Release: 2mamba
Summary: A simple visual front end for XRandR 1.2
Group: Graphical Desktop/Applications/Configuration
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://christian.amsuess.com/tools/arandr/
Source: http://christian.amsuess.com/tools/arandr/files/arandr-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Provide a simple visual front end for XRandR 1.2, client side X only (no xorg.conf involved, no pre-1.2 options).
Features:
* Full controll over positioning (instead of plain "left of") with edge snapping
* Saving configurations as executable shell scripts (configurations can be loaded without using this program)
* Configuration files can be edited to include additional payload (like xsetwacom commands tablet PC users need when rotating), which is preserved when editing
* Metacity keybinding integration:
* Saved configurations can be bound to arbitrary keys via metacity's custom commands.
* Several layouts can be bound to one key; they are cycled through. (Useful for "rotate" buttons on tablet PCs.)
* Main widget separated from packaged application (to facilitate integration with existing solutions)
%prep
%setup -q
%build
%{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
--prefix=%{_prefix} \
--root=%{buildroot}
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/arandr
%{_bindir}/unxrandr
%{_datadir}/applications/arandr.desktop
%{python_sitelib}/arandr-%{version}-py%{python_version}.egg-info
%{python_sitelib}/screenlayout/*
%{_mandir}/man1/arandr.1*
%{_mandir}/man1/unxrandr.1*
%doc COPYING README TODO
%changelog
* Sun Mar 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.7.1-2mamba
- rebuilt with python 2.7
* Fri Mar 08 2013 Automatic Build System <autodist@mambasoft.it> 0.1.7.1-1mamba
- automatic version update by autodist
* Tue Aug 07 2012 Automatic Build System <autodist@mambasoft.it> 0.1.6-1mamba
- automatic version update by autodist
* Mon Nov 14 2011 Automatic Build System <autodist@mambasoft.it> 0.1.5-1mamba
- automatic version update by autodist
* Fri Feb 25 2011 Automatic Build System <autodist@mambasoft.it> 0.1.4-1mamba
- automatic update by autodist
* Fri May 01 2009 Automatic Build System <autodist@mambasoft.it> 0.1.2-1mamba
- automatic update by autodist
* Sat Jan 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-1mamba
- package created by autospec