aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2014-03-22 19:55:36 +0100
committerJon Lund Steffensen <jonlst@gmail.com>2014-03-22 19:55:36 +0100
commitbf858504d8def5a0b816141bda354973c5cd17aa (patch)
treef8d994a8ed216c5444cb69acc163f5e603c06139 /contrib
parentMakefile.am: Substitute AM_CPPFLAGS for deprecated INCLUDES (diff)
downloadredshift-ng-bf858504d8def5a0b816141bda354973c5cd17aa.tar.gz
redshift-ng-bf858504d8def5a0b816141bda354973c5cd17aa.tar.bz2
redshift-ng-bf858504d8def5a0b816141bda354973c5cd17aa.tar.xz
Update Fedora spec file with systemd unit install
Install user unit files into %{_userunitdir}. Update build requirements. Fix invalid date in changelog.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/redshift.spec.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/contrib/redshift.spec.in b/contrib/redshift.spec.in
index 406349a..3557d3e 100644
--- a/contrib/redshift.spec.in
+++ b/contrib/redshift.spec.in
@@ -7,9 +7,11 @@ License: GPLv3+
URL: http://jonls.dk/redshift/
Source0: http://launchpad.net/redshift/trunk/%{version}/+download/%{name}-%{version}.tar.bz2
BuildRequires: gettext-devel
-BuildRequires: libXrandr-devel
+BuildRequires: libX11-devel
BuildRequires: libXxf86vm-devel
+BuildRequires: libxcb-devel
BuildRequires: geoclue-devel
+BuildRequires: systemd
%description
Redshift adjusts the color temperature of your screen according to your
@@ -42,7 +44,7 @@ temperature adjustment program.
%setup -q
%build
-%configure --enable-gui --enable-geoclue --enable-randr --enable-vidmode
+%configure --enable-gui --enable-geoclue --enable-randr --enable-vidmode --with-systemduserunitdir=%{_userunitdir}
make %{?_smp_mflags} V=1
%install
@@ -68,6 +70,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%doc COPYING NEWS README README-colorramp
%{_bindir}/redshift
%{_mandir}/man1/*
+%{_userunitdir}/*
%files -n %{name}-gtk
%defattr(-,root,root,-)
@@ -99,7 +102,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
- Change default geoclue provider from Ubuntu GeoIP to Hostip
- Remove manual Ubuntu icons uninstall
-* Sun Feb 28 2011 Milos Komarcevic <kmilos@gmail.com> - 1.6-3
+* Mon Feb 28 2011 Milos Komarcevic <kmilos@gmail.com> - 1.6-3
- Fix for clock applet detection (#661145)
- Require pyxdg explicitly (#675804)