automatic version update by autodist [release 1.9.1-1mamba;Sat Apr 26 2014]
This commit is contained in:
parent
07fbdbd49d
commit
14d1bf149a
@ -1,2 +1,6 @@
|
|||||||
# redshift
|
# redshift
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
14
redshift-1.7-geoclue_provider.patch
Normal file
14
redshift-1.7-geoclue_provider.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff -ur redshift-1.7/src/location-geoclue.c redshift-1.7_geoclue_provider/src/location-geoclue.c
|
||||||
|
--- redshift-1.7/src/location-geoclue.c 2011-03-27 23:13:10.000000000 +0100
|
||||||
|
+++ redshift-1.7_geoclue_provider/src/location-geoclue.c 2011-07-09 13:41:17.940812241 +0100
|
||||||
|
@@ -32,8 +32,8 @@
|
||||||
|
# define _(s) s
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#define DEFAULT_PROVIDER "org.freedesktop.Geoclue.Providers.UbuntuGeoIP"
|
||||||
|
-#define DEFAULT_PROVIDER_PATH "/org/freedesktop/Geoclue/Providers/UbuntuGeoIP"
|
||||||
|
+#define DEFAULT_PROVIDER "org.freedesktop.Geoclue.Providers.Hostip"
|
||||||
|
+#define DEFAULT_PROVIDER_PATH "/org/freedesktop/Geoclue/Providers/Hostip"
|
||||||
|
|
||||||
|
int
|
||||||
|
location_geoclue_init(location_geoclue_state_t *state)
|
97
redshift.spec
Normal file
97
redshift.spec
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
Name: redshift
|
||||||
|
Version: 1.9.1
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: Adjusts the color temperature of your screen according to time of day
|
||||||
|
Group: System/Tools
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
||||||
|
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: GConf-devel
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libdbus-devel
|
||||||
|
BuildRequires: libdbus-glib-devel
|
||||||
|
BuildRequires: libgeoclue-devel
|
||||||
|
BuildRequires: libglib-devel
|
||||||
|
BuildRequires: libpython-devel
|
||||||
|
BuildRequires: libX11-devel
|
||||||
|
BuildRequires: libxcb-devel
|
||||||
|
BuildRequires: libxml2-devel
|
||||||
|
BuildRequires: libXxf86vm-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%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: python-xdg
|
||||||
|
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.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
autoreconf -if
|
||||||
|
%configure
|
||||||
|
%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}/applications/redshift-gtk.desktop
|
||||||
|
%{python3_sitelib}/redshift_gtk
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Apr 26 2014 Automatic Build System <autodist@mambasoft.it> 1.9.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Wed Apr 16 2014 Automatic Build System <autodist@mambasoft.it> 1.9-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Tue Nov 19 2013 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.8-1mamba
|
||||||
|
- update to 1.8
|
||||||
|
|
||||||
|
* Fri Aug 19 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.7-1mamba
|
||||||
|
- update to 1.7
|
||||||
|
|
||||||
|
* Thu Jun 09 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.6-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user