Name: redshift Version: 1.12 Release: 3mamba Summary: Adjusts the color temperature of your screen according to time of day Group: System/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://jonls.dk/redshift/ Source: http://github.com/jonls/redshift/archive/v%{version}.tar.gz Patch: redshift-1.7-geoclue_provider.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libX11-devel BuildRequires: libXau-devel BuildRequires: libXdmcp-devel BuildRequires: libXext-devel BuildRequires: libXxf86vm-devel BuildRequires: libbsd-devel BuildRequires: libdrm-devel BuildRequires: libglib-devel BuildRequires: libpython3-devel BuildRequires: libxcb-devel ## AUTOBUILDREQ-END %description Redshift adjusts the color temperature of your screen according to your surroundings. This may help your eyes hurt less if you are working in front of the screen at night. This program is inspired by f.lux. %package gtk Summary: Redshift widget for GTK Group: Graphical Desktop/Applications/Utilities #Requires: pygtk Requires: geoclue Requires: python-pyxdg-py3 Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: gtk-%{name} %description gtk Redshift adjusts the color temperature of your screen according to your surroundings. This may help your eyes hurt less if you are working in front of the screen at night. This program is inspired by f.lux. This package provides the Redshift widget for GTK. %debug_package %prep %setup -q #%patch -p1 autoreconf -if %build %configure \ PYTHON=%{__python3} %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall \ uninstall-ubuntu_mono_{dark,light}_iconDATA %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/redshift %{_mandir}/man?/* %doc COPYING #%doc NEWS README %files gtk %defattr(-,root,root,-) %{_bindir}/redshift-gtk %{_prefix}/lib/systemd/user/redshift-gtk.service %{_prefix}/lib/systemd/user/redshift.service %{_datadir}/icons/hicolor/scalable/apps/redshift*.svg %{_datadir}/appdata/redshift-gtk.appdata.xml %{_datadir}/applications/redshift.desktop %{_datadir}/applications/redshift-gtk.desktop %{python3_sitelib}/redshift_gtk %changelog * Mon Feb 14 2022 Silvan Calarco 1.12-3mamba - redshift-gtk: require python-pyxdg-py3 instead of python-xdg-py3 * Mon Nov 08 2021 Silvan Calarco 1.12-2mamba - require geoclue, remove requirement for pygtk * Fri Jan 15 2021 Automatic Build System 1.12-1mamba - automatic version update by autodist * Sat Apr 26 2014 Automatic Build System 1.9.1-1mamba - automatic version update by autodist * Wed Apr 16 2014 Automatic Build System 1.9-1mamba - automatic version update by autodist * Tue Nov 19 2013 Stefano Cotta Ramusino 1.8-1mamba - update to 1.8 * Fri Aug 19 2011 Stefano Cotta Ramusino 1.7-1mamba - update to 1.7 * Thu Jun 09 2011 Stefano Cotta Ramusino 1.6-1mamba - package created by autospec