Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
redshift
redshift.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File redshift.spec of Package redshift
# # spec file for package redshift # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: redshift Version: 1.11 Release: 0 Summary: Adjusts the color temperature of your screen License: GPL-3.0 Group: System/X11/Utilities Url: http://jonls.dk/redshift/ Source: https://github.com/jonls/redshift/releases/download/v%{version}/%{name}-%{version}.tar.xz BuildRequires: fdupes BuildRequires: gettext-tools BuildRequires: gobject-introspection BuildRequires: hicolor-icon-theme BuildRequires: intltool BuildRequires: pkgconfig BuildRequires: systemd-rpm-macros BuildRequires: update-desktop-files BuildRequires: pkgconfig(gconf-2.0) BuildRequires: pkgconfig(geoclue-2.0) BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(python3) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xxf86vm) Requires: geoclue2 Requires: python3-xdg %{?systemd_requires} %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. %package gtk Summary: Gtk frontend for redshift Group: System/X11/Utilities Requires: hicolor-icon-theme Requires: redshift = %{version}-%{release} %{?systemd_requires} %if 0%{?sle_version} > 120100 || 0%{?suse_version} > 1320 Requires: python3-gobject-Gdk %else Requires: python3-gobject %endif %description gtk A graphical user interface for the redshift tool that integrates into Gtk+ and GNOME. %prep %setup -q %build %configure \ --enable-gui \ --disable-geoclue \ --enable-geoclue2 \ --enable-randr \ --enable-vidmode \ --with-systemduserunitdir=%{_userunitdir} make %{?_smp_mflags} V=1 %install %make_install %fdupes -s %{buildroot}%{python3_sitelib} %suse_update_desktop_file redshift-gtk GTK X-SuSE-DesktopUtility sed -i 's|/env python3|/python3|' %{buildroot}%{_bindir}/redshift-gtk %find_lang %{name} %post %systemd_user_post redshift.service %preun %systemd_user_preun redshift.service %postun %systemd_user_postun redshift.service %post gtk %systemd_user_post redshift-gtk.service %preun gtk %systemd_user_preun redshift-gtk.service %postun gtk %systemd_user_postun redshift-gtk.service %files gtk -f %{name}.lang %{_bindir}/redshift-gtk %{python3_sitelib}/redshift_gtk %{_datadir}/applications/redshift-gtk.desktop %{_datadir}/icons/hicolor/scalable/apps/redshift-status-off.svg %{_datadir}/icons/hicolor/scalable/apps/redshift-status-on.svg %{_datadir}/icons/hicolor/scalable/apps/redshift.svg %{_userunitdir}/redshift-gtk.service %dir %{_datadir}/appdata %{_datadir}/appdata/redshift-gtk.appdata.xml %files %{_bindir}/redshift %{_mandir}/man1/redshift.1%{ext_man} %{_datadir}/applications/redshift.desktop %{_userunitdir}/redshift.service %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor