urandr/urandr.spec

54 lines
1.5 KiB
RPMSpec

Name: urandr
Version: 0.1
Release: 3mamba
Summary: A GUI to RandR 1.2
Group: Graphical Desktop/Applications/Configuration
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://albertomilone.com/urandr.html
Source: http://albertomilone.com/ubuntu/urandr/urandr-%{version}.tar.gz
License: GPL
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Urandr is a GUI to RandR 1.2 written in PyGTK. IT covers RandR 1.2 basic functionalities and aims to make multihead configuration as easy as possible for unexperienced users.
%prep
%setup -q
%build
%{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch}
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/urandr
%{_datadir}/applications/urandr.desktop
%{python_sitearch}/URandR/*
%{python_sitearch}/urandr-*-info
%{_datadir}/urandr/*
%changelog
* Wed Jul 10 2013 Automatic Build System <autodist@mambasoft.it> 0.1-3mamba
- automatic version update by autodist
* Mon Jan 26 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1-2mamba
- fixed License field
* Sun Jan 18 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1-1mamba
- package created by autospec