arandr/arandr.spec

88 lines
3.2 KiB
RPMSpec

Name: arandr
Version: 0.1.11
Release: 1mamba
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: libpython3-devel
## AUTOBUILDREQ-END
%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
%{__python3} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python3} 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
%{python3_sitelib}/arandr-%{version}-py%{python3_version}.egg-info
%{python3_sitelib}/screenlayout/*
%{_mandir}/man1/arandr.1*
%{_mandir}/man1/unxrandr.1*
%doc COPYING README TODO
%changelog
* Mon Jan 23 2023 Automatic Build System <autodist@mambasoft.it> 0.1.11-1mamba
- automatic version update by autodist
* Mon Apr 22 2019 Automatic Build System <autodist@mambasoft.it> 0.1.10-1mamba
- automatic version update by autodist
* Wed Mar 02 2016 Automatic Build System <autodist@mambasoft.it> 0.1.9-1mamba
- automatic version update by autodist
* Tue Sep 01 2015 Automatic Build System <autodist@mambasoft.it> 0.1.8-1mamba
- automatic version update by autodist
* 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