[arandr] Initial import (#739088)

Maros Zatko mzatko at fedoraproject.org
Wed Jul 11 09:57:32 UTC 2012


commit 005a7628b56ccdf85e4766ffbe3f4b67f8f4f8b8
Author: Maros Zatko <mzatko at redhat.com>
Date:   Wed Jul 11 11:57:13 2012 +0200

    Initial import (#739088)

 .gitignore  |    1 +
 arandr.spec |   77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 79 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9f39f13 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/arandr-0.1.6.tar.gz
diff --git a/arandr.spec b/arandr.spec
new file mode 100644
index 0000000..d5854be
--- /dev/null
+++ b/arandr.spec
@@ -0,0 +1,77 @@
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+Name:   arandr
+Version:        0.1.6
+Release:        1%{?dist}
+Summary:        Simple GTK+ XRandR GUI
+
+Group:  Applications/System
+License:        GPLv3
+URL:    http://christian.amsuess.com/tools/arandr/
+Source0:        http://christian.amsuess.com/tools/arandr/files/%{name}-%{version}.tar.gz
+BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+BuildArch:      noarch
+BuildRequires:  python
+BuildRequires:  python-docutils
+BuildRequires:  gettext
+BuildRequires:  python-setuptools
+BuildRequires:  desktop-file-utils
+Requires:       python
+Requires:       pygtk2
+Requires:       xorg-x11-server-utils
+
+%description
+ARandR is designed to provide a simple visual front end for XRandR 1.2/1.3.
+Relative monitor positions are shown graphically and can be changed in a
+drag-and-drop way.
+
+%prep
+%setup -q
+
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install --root=%{buildroot}
+desktop-file-validate %{buildroot}/%{_datadir}/applications/arandr.desktop
+%find_lang %{name}
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc README TODO ChangeLog NEWS COPYING
+%{_bindir}/arandr
+%{_bindir}/unxrandr
+%{python_sitelib}/screenlayout/
+%{python_sitelib}/arandr-%{version}-py*.egg-info
+%{_mandir}/man1/arandr.1.gz
+%{_mandir}/man1/unxrandr.1.gz
+%{_datadir}/applications/arandr.desktop
+
+
+%changelog
+* Tue Jul 10 2012 Maros Zatko <mzatko at fedoraproject.org> - 0.1.6-1
+- new version (1.6)
+
+* Mon Oct 03 2011 Maros Zatko <mzatko at fedoraproject.org> - 0.1.4-4
+- fixed tab indentation
+- changed py2.7 -> py*
+
+* Mon Sep 19 2011 Maros Zatko <mzatko at fedoraproject.org> - 0.1.4-3
+- RPM_BUILD_ROOT replaced by macro
+- doc files are handled completely by doc macro
+
+* Sat Sep 17 2011 Maros Zatko <mzatko at fedoraproject.org> - 0.1.4-2
+- tabs replaced by spaces
+- COPYING, README, ChangeLog, NEWS and TODO doc entry
+- fixed date in previous changelog entry
+- desktop files installed according to guidelines
+
+* Thu Sep 15 2011 Maros Zatko <mzatko at fedoraproject.org> - 0.1.4-1
+- Initial package
diff --git a/sources b/sources
index e69de29..7a3f58f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+38a31e71934c6d11cdf2425c7405f07e  arandr-0.1.6.tar.gz


More information about the scm-commits mailing list